Skip to content
Cosvexa – Cosvexa home

Apps

Cosvexa CLI

The coding agent in your terminal: install, sign-in, commands, approval modes, Council review and CI use.

Install and sign in

Requires Node.js 20 or newer.

bash
npm i -g https://cosvexa.ai/downloads/cosvexa-cli-0.1.0.tgz
cosvexa --version

cosvexa login --browser   # device code, approve in your browser
cosvexa login             # or paste an API key that starts with cvx_
cosvexa status

Settings live in %APPDATA%\cosvexa\config.json on Windows and ~/.config/cosvexa/config.json on macOS and Linux. The COSVEXA_API_KEY, COSVEXA_MODEL and COSVEXA_BASE_URL environment variables are supported too.

Basic use

bash
cd my-project
cosvexa "make the failing date test pass"   # one task
cosvexa                                      # interactive session
cosvexa -c "now add tests"                   # continue the last session
cosvexa sessions                             # list sessions
cosvexa init                                 # draft COSVEXA.md project instructions
cosvexa models                               # models you can use

Model and effort

  • -m claude-sonnet-5-5 picks a specific model and always wins.
  • --effort low|medium|high (or /effort) sets how much the selected model thinks before it answers; it never changes the model. Models without a thinking-level setting ignore it.

Safety

  • --mode ask|auto-edit|plan|full-auto sets the approval mode (Shift+Tab in an interactive session). full-auto also needs --yolo.
  • --read-only allows only the read, list and search tools.
  • /undo restores the file the agent changed last. Dangerous commands ask in every mode, also with --yes.

Code review and Council

bash
cosvexa review                  # review local changes
cosvexa review --base main      # review the diff against main
cosvexa "add input validation" --council
cosvexa --team "refactor the payments module"

Council and team jobs show an upper-bound cost estimate first and ask you to confirm.

Scripts and CI

bash
cosvexa -p "summarise the open TODOs"
cosvexa -p --yes "fix the lint errors" --json

Exit codes: 0 done, 1 error, 2 bad usage, 3 stopped at the step or output limit.

Interactive commands

/model, /mode, /undo, /compact, /context, /init, /review, /team, /cost, /clear, /exit. Add your own commands as .cosvexa/commands/<name>.md files; @path attaches a file. Context is summarized automatically at 80% full.

MCP and OpenCode

cosvexa mcp manages MCP servers (--no-mcp turns them off). cosvexa opencode configures OpenCode with Cosvexa as the provider (run npm i -g opencode-ai first).