Commands

Every capability is available two ways: as a slash command inside the interactive shell, and as a direct command you can script.

Two ways to run commands

  • Interactive shell — inside cos, type / then the command (e.g. /sessions).
  • Direct command — from your terminal, run it as a subcommand (e.g. cos sessions). Ideal for scripts and CI.

Slash commands

Authentication

CommandPurposeExample
/loginStore and verify your secret API key/login
/logoutRemove the stored key and session from this machine/logout
/whoamiShow the active workspace, project, and account/whoami
text
❯ /whoami
  Workspace    Default workspace
  Project      Project A
  Account      test@carrieros.ai

Sessions

CommandPurposeExample
/sessionsList conversations in the current project/sessions
/session use [id]Switch the active session (picker if no id)/session use
/session delete <id>Delete a session/session delete 25f3…
/history [id]Print a transcript of the active (or given) session/history
/clearStart a fresh session (also /new)/clear

Files

CommandPurposeExample
/upload <file>Upload and index a file as knowledge/upload report.pdf
/filesList files uploaded from this machine/files

Models & Modes

CommandPurposeExample
/modelsList provider models (GPT, Grok, Claude, …)/models
/model [id]Set the provider model, or auto (picker if no id)/model
/modesList Carrier modes (behavior presets)/modes
/mode [id]Set the Carrier mode (picker if no id)/mode
text
❯ /model
  Select a model
  Switch the model for this and future messages.

    1. Auto (mode default)   Use the current mode default
  ❯ 2. GPT-5.5               gpt-5.5             ✓
    3. Grok 4.1 Fast         grok-4.1-fast

  ↑↓ navigate · Enter confirm · Esc cancel

Utilities

CommandPurposeExample
/doctorRun diagnostics (config, connectivity, key)/doctor
/usageRequests, tokens, and estimated cost/usage
/versionCLI and API versions/version
/helpBrowse every command (arrow-navigable)/help
/exitLeave the shell/exit

Direct commands

Every slash command is also a plain subcommand. A few examples used most often when scripting:

CommandPurposeExample
cos login [--url]Store the secret key (only after it verifies)cos login --url http://localhost:5000/v1
cos doctorConfig, connectivity, and key checkscos doctor
cos whoamiWorkspace / project / accountcos whoami
cos chatFocused chat REPL (a subset of the shell)cos chat --mode code
cos usageRequests, tokens, estimated costcos usage
cos upload <file>Upload + index a filecos upload report.pdf
cos modelsList provider modelscos models
cos guideStyled workflow overviewcos guide
cos versionCLI + API versionscos version
Prefer cos, but carrieros works everywhere too — they are the same binary.