CLI Commands
Reference for the Vicoa CLI commands that list and stop running agent sessions on a machine.
A machine can have two kinds of session running at once:
- Daemon sessions — headless agents the
vicoa daemonstarted in response to a remote "New Session" request from the mobile app or web dashboard. - TUI sessions — interactive agents you started yourself in a terminal with
vicoa,vicoa codex, orvicoa opencode.
Pre-requisite: Vicoa CLI version > 1.4.1
vicoa --version
# Make sure it is > 1.4.1vicoa ls
List the active agent instances on the current machine, grouped by kind.
vicoa lsDAEMON SESSIONS (2)
ID AGENT PID AGE PROJECT
-------------------------------------------------
7d4577a7 claude 10573 1d ~/projects/my-app
abcbe849 codex 74527 3h ~/projects/api
TUI SESSIONS (1)
ID AGENT PID AGE PROJECT
-------------------------------------------------
pid:3415 claude 3415 2h —Columns:
- ID — the first 8 characters of the session ID. TUI sessions show
pid:<n>instead, since their session ID isn't visible tovicoa ls. - AGENT —
claude,codex,opencode, oramp. - PID — the operating-system process ID.
- AGE — how long the session has been running.
- PROJECT — the working directory (
—when not detectable).
For scripting, output raw JSON instead of the table:
vicoa ls --jsonWorks on macOS, Linux, and Windows.
vicoa stop
Stop the daemon, the daemon's headless sessions, or both. Every vicoa stop command asks for confirmation before doing anything.
vicoa stop daemon
Stop the background daemon. Any headless sessions it started keep running.
vicoa stop
# or, equivalently
vicoa stop daemonStop the Vicoa daemon (pid 1234)? [y/N]vicoa stop with no argument defaults to daemon.
vicoa stop sessions
Stop every headless session the daemon started. The daemon itself keeps running.
vicoa stop sessionsStop 3 headless session(s)? [y/N]Limit it to one agent type with --agent:
vicoa stop sessions --agent claudeValid values are claude, codex, opencode, and amp.
Each session is asked to shut down gracefully first; if it doesn't exit within a short grace period it is force-stopped. Stopped sessions are marked with a terminal status in the dashboard.
vicoa stop all
Stop the headless sessions first, then the daemon.
vicoa stop allSkipping confirmation
Pass -y (or --yes) to skip the confirmation prompt — useful in scripts.
vicoa stop sessions --agent codex --yesvicoa disconnect
Alias for vicoa stop daemon. Stops only the daemon.
vicoa disconnectRelated
- Start a Remote Session — how
vicoa daemonand remote sessions work. - Troubleshooting — common issues with the daemon and sessions.