Onicode runs Command Code as an agent through its ACP mode, using your own Command Code account, settings, and MCP servers.
- Install Command Code on the machine running the Onicode server with Node.js 22 or newer:
npm i -g command-code. - Run
command-code loginonce in a terminal, or set an API key asCOMMAND_CODE_API_KEYin the Command Code provider's environment variables. - Open Settings → Providers, enable Command Code, and refresh it.
If command-code is not on the server's PATH, set its Binary path.
Command Code lists its models only inside a running session, so a new install shows just Command Code default, the default model in your Command Code settings. After your first thread runs, the model picker lists every model your account can use. A model's reasoning effort setting appears once a thread has run on that model, with only the levels Command Code offers for it.
- Supervised runs Command Code's Standard mode: Onicode asks you before edits and commands.
- Auto-accept edits runs its Accept Edits mode: file edits apply on their own and commands still ask.
- Full access runs its bypass mode, which approves everything.
Command Code offers no Auto. A thread set to it runs in Supervised. Plan in the composer runs Command Code's plan mode.
/compact runs Command Code's own compaction.