CLI Reference
Theados command is the primary way to interact with the agent from the terminal. It is built with Click and communicates with the running agent via its REST API on port 8080.
Global behavior
When you runados without a subcommand, it displays a rich help screen with all available commands grouped by category. The CLI reads the API key from /etc/ados/pairing.json automatically and sends it as an X-ADOS-Key header on every request to the local API.
If the agent is not running, most commands will print an error and suggest starting it with ados start or ados demo.
Info commands
ados version
Print the installed agent version.
ados status
Show the agent’s current state, including board detection, FC connection, and uptime.
--json for machine-readable output:
ados health
Show system resource usage: CPU, memory, disk, and temperature.
ados help
Display the rich CLI cheatsheet with all commands, grouped and color-coded.
ados diag
Run a full system diagnostics dump. Prints board info, OS details, network interfaces, systemd service states, FC connection, disk usage, RAM, CPU, temperature, agent config, and installed dependency versions.
Config commands
ados config
Print the full configuration as JSON.
ados config <key>
Get a specific value using dot-path notation.
ados set <key> <value>
Set a config value at runtime.
Flight commands
ados mavlink
Show the MAVLink/flight controller connection status.
ados video
Show the video pipeline status, including detected cameras, MediaMTX state, and recording status.
ados snap
Capture a JPEG snapshot from the video pipeline and save it to disk.
ados link
Show WFB-ng video link statistics: signal strength, SNR, packet counts, FEC recovery, and bitrate.
Scripting commands
ados scripts
List running scripts and their state.
ados run <path>
Start a Python script on the agent.
ados send <command>
Send a text command to the scripting engine (Tello-style commands like takeoff, land, forward 100).
OTA commands
ados update
Show OTA update status: current version, channel, last check time, and any pending update.
ados check
Check for available updates from GitHub releases.
ados upgrade
One-step check, download, install, and restart. Prompts for confirmation unless -y is passed.
ados rollback [version]
Roll back to a previous version. Without a version argument, rolls back to the version that was running before the last upgrade.
Pairing commands
ados pair
Show pairing status. If unpaired, displays the pairing code to enter in ADOS Mission Control.
ados unpair
Unpair the agent and generate a new pairing code. Requires confirmation.
Tool commands
ados tui
Launch the TUI dashboard (requires Textual). See TUI Dashboard for details.
ados start
Start the agent in the foreground. Used by systemd service files. For interactive use, prefer ados demo.
ados demo
Start in demo mode with simulated telemetry. Useful for testing the GCS, REST API, and TUI without hardware.
ados uninstall
Remove the agent from the system. On Linux, stops services, removes /opt/ados/ and /var/ados/, keeps config by default. On macOS, detects pip/pipx/uv and runs the matching uninstall.
ados logs
Show agent logs. Wraps journalctl on Linux, reads log files on macOS.