Comonad Agent for VS Code
A local-first, auditable coding agent inside VS Code. It runs a graph-orchestrated tool loop against the model you choose — DeepSeek by default, or any OpenAI-compatible endpoint — journals every file it writes, and asks before anything leaves the sandbox.
Why Comonad
- Local-first. API keys live in VS Code
SecretStorage; sessions, checkpoints and logs stay on the machine (or the remote host) that runs the agent. - Auditable by construction. Every turn is a graph run with typed events, a capability gate and an audit log. File writes are journaled per file, so nothing is silently overwritten.
- Extensible as a plugin tree. The kernel, tools, model adapters and UI are plugins on one Cordis context. Turn a row off, configure it, or mount your own.
Install
From a packaged VSIX
sh
npm run package
code --install-extension comonad-0.2.0.vsixFrom source
sh
npm install
npm run compilePress F5 in VS Code to launch the Extension Development Host.
Then set a model key — DEEPSEEK_API_KEY is enough for the default DeepSeek Flash profile — or add any OpenAI-compatible endpoint with Comonad: Configure Model Provider. Open the chat with Comonad: Open Chat (Cmd+Alt+C / Ctrl+Alt+C).
First five minutes
- Open the chat from the Secondary Side Bar.
- Ask a question, or describe a change.
- Approval prompts run inline: Allow once, Always allow, or Deny.
- Shell and file changes are shown as tool cards; click a card to open the command and output.
- Review pending files above the composer with Keep, Undo, or Review.
Documentation
| Start | What it covers |
|---|---|
| Chat | Sessions, composer, transcript, tool cards, @ references |
| Safety | Modes, approval policies, rules, sandboxing, secrets |
| Context | Window budget, compaction, /context |
| Checkpoints and review | Journal, Keep/Undo, restore points |
| Content layer | Characters, world books, personas, presets (SillyTavern formats) |
| Extending | Plugins, hooks, skills, subagents, MCP |
| Remote and containers | Remote SSH, WSL and Dev Containers |
| Commands | Built-in and custom slash commands |
| Tools | The tool catalog and MCP |
| Settings | The settings you are likely to change |
| Architecture and development | Kernel seams, build and tests |
Also available in 中文.
License
Comonad Agent for VS Code is licensed under AGPL-3.0-only. See LICENSE. Third-party components are listed in THIRD_PARTY_NOTICES.md.