Installing CrewAgent
1. Create an API token
In CrewSpec, open Administration → API Tokens and select +.
- Token Name: the computer or vessel, such as "Survey Vessel 1 sonar PC". Viewers see this name on its streams.
- Permissions: add
stream/create/all. If the agent should also upload older files it finds (upload_existing_files), addattachment/createtoo. - Expiration Date: Never is simplest for a computer that's always on board. If you choose a date, plan to rotate the token before then, or the agent stops working.
Copy the Token Secret when it's shown. It starts with cs_, and you can't see it again.
2. Download
On the same screen, select Download Agent Installer, then Proceed with Download.


You get crewagent.zip, containing:
crewagent.exe: the agent and its installerconfig.yaml: the starting configurationREADME.txt
Copy the ZIP file to the Windows computer and extract it.
3. Install
- Optionally, edit
config.yamlfirst to set the folders to watch. You can also do it later. - Double-click
crewagent.exe. Windows asks for administrator permission. - When asked, paste the token secret and press Enter. If
config.yamlalready has a valid token, it isn't asked for.
CrewAgent then installs itself:
| What | Where |
|---|---|
| Program | C:\Program Files\CrewAgent\crewagent.exe |
| Configuration | C:\ProgramData\CrewAgent\config.yaml |
| Service log | C:\ProgramData\CrewAgent\crewagent.log |
| Tray app log | C:\ProgramData\CrewAgent\crewagent-ui.log |
| Screen recordings | C:\Windows\Temp\CrewAgent\recordings, unless you choose another folder |
It registers the CrewAgent Service, which starts automatically with Windows and restarts itself if it stops unexpectedly. A tray icon starts for each person who signs in to Windows.
Running the installer again on a computer that already has CrewAgent offers to uninstall it instead.
The tray icon
Right-click the CrewAgent icon in the Windows notification area:
- Record the screen. With more than one monitor, Record Screen lets you choose which one. A Windows notification confirms the stream has started.
- End Stream stops it. The recording is saved and the stream ends.
If enabled in the configuration, a red record button also sits on each monitor; click it to start recording that monitor.
Only one screen can be recorded at a time, and each stream uses one of your APUs.
Updates
CrewAgent checks for updates every hour and installs them by itself. It never updates during a stream; it waits until the stream ends. If an update can't be installed, it keeps the version it has.
Uninstalling
Run crewagent.exe again and answer y when asked whether to uninstall, or run crewagent.exe -uninstall from an administrator command prompt. This removes the service, the tray app's startup entry and C:\ProgramData\CrewAgent, including its configuration and logs.
Then delete its API token in CrewSpec.
Command-line options
From an administrator command prompt:
| Command | Does |
|---|---|
crewagent.exe -install | Installs, using the config.yaml beside it. It only asks for the token if that file doesn't have one. |
crewagent.exe -uninstall | Uninstalls |
crewagent.exe -console | Runs in the window instead of as a service, to test a configuration. Automatic updates are off in this mode. |
crewagent.exe -ui | Starts only the tray app |