Coda AI
An AI coding agent for VS Code that checks its own work. Quick Start • What Coda Does • Features • Delivery Ledger • Supported Providers • Slash Commands • Privacy & Security • Release Notes
OverviewCoda is an AI coding agent that runs inside VS Code. It reads your codebase, edits files, and then checks its work: after it changes code it runs your project's build and tests, sends any failure back to the model to fix, and records the commands and exit codes it saw. You choose the model: any of 37 providers (Anthropic, OpenAI, Google, AWS Bedrock, Azure, Mistral, DeepSeek, Groq, OpenRouter and more), a local model through Ollama, or your GitHub Copilot subscription. Coda supplies the agent loop, VS Code's language intelligence, approvals, and a record of what it did. What Coda Does
Features🧠 1. Topological PageRank Symbol Repo Map (
|
| Surface | Best For | Capabilities |
|---|---|---|
| Coda Panel (Activity Bar) | The Full Autonomous Workspace | A live, in-order view of the agent's messages, thinking, and actions; interactive diff review cards; permission ledgers; and recovery actions. |
@coda (VS Code Chat) |
Quick Questions & One-Shot Runs | Inline codebase questions (@coda how does auth work?) and targeted commands (@coda /agent fix failing test). |
Both surfaces share the identical backend: tools, sessions, checkpoints, approvals, and rollback history.
Quick Start
1. Open Coda
Click the Coda icon in your Activity Bar, or press ⌘⇧P / Ctrl+Shift+P and run Coda: Open Chat.
2. Connect Your Provider
Click the ⚙ Settings icon or run Coda: Configure AI Provider:
- Zero-Setup (No API Key): Select VS Code Models to use your existing GitHub Copilot subscription.
- Frontier Cloud: Select Anthropic, OpenAI, or Google Gemini and enter your API key (stored encrypted in VS Code SecretStorage).
- 100% Local & Private: Select Ollama (
http://localhost:11434) to run models completely offline on your hardware.
3. Choose Your Operational Mode
Switch modes anytime from the chat composer or status bar:
- Ask (default): reads, tests and builds run freely; file edits and commands that can change files ask first.
- Assisted: like Ask, but your model rates each action that would ask, and low-risk ones run without a card (one short model request per rated action).
- Auto-accept edits: file edits apply without asking; risky commands still ask.
- Full auto: edits and commands run without asking, with commands inside the OS sandbox (below). Offered where a sandbox is available; destructive commands, Git writes, push/PR and MCP tools still ask.
Sandbox
The agent's shell commands run inside an OS sandbox when the machine has one: macOS uses the built-in Seatbelt (sandbox-exec), Linux and WSL2 use bubblewrap (bwrap, install it with your package manager), Windows has no sandbox. Inside it a command can write only under the workspace folders, the temp directories and package-manager caches; it cannot write the paths that configure tools (.git/hooks, .git/config, .vscode, .coda/hooks, .claude, .mcp.json); it cannot read credential paths (~/.ssh, ~/.aws, ~/.gnupg, ~/.netrc, the gh and gcloud configs, the macOS keychains); secret-looking environment variables are removed; and it has no network unless coda.sandbox.network allows it or you approve it for one command. A command the sandbox blocked can be run again outside it, which always asks. Settings: coda.sandbox.mode (auto, always, off), coda.sandbox.network (ask, allow, deny), coda.sandbox.allowWrite, coda.sandbox.denyRead, coda.sandbox.allowRead, coda.sandbox.denyEnv, coda.sandbox.allowUnsandboxedCommands. Coda: Sandbox Status shows what applies on this machine. The sandbox reduces risk; it is not a complete isolation boundary, and a visible terminal (visible: true) is your own terminal and never sandboxed.
Supported Providers
Coda works with 37 providers, grouped as in its own provider picker. Pick a model from the provider's own list; Coda checks that it supports tool calling before using it in Agent mode.
All 37 providers
| Group | Providers |
|---|---|
| Popular | OpenAI, Anthropic, Mistral, Groq, xAI (Grok), DeepSeek, OpenRouter, GitHub Copilot |
| Free and local | Google Gemini (free tier), Ollama (local, no key), Ollama Cloud, Pollinations, VS Code Models (your Copilot subscription), OmniRoute |
| Enterprise and cloud | AWS Bedrock, Azure OpenAI, Google Vertex AI, Vercel AI Gateway, Cloudflare AI Gateway, Cloudflare Workers AI, GitLab Duo, SAP AI Core, Snowflake Cortex |
| More hosted models | Cohere, Together AI, Fireworks AI, Perplexity, Cerebras, Alibaba Cloud (DashScope), DeepInfra, NVIDIA NIM, Venice, LLM Gateway |
| Custom endpoints | OpenAI Compatible (LM Studio, vLLM and other OpenAI-style servers), Kilo Code, ZenMux, Dynamic (custom endpoint) |
Only Ollama runs entirely on your machine; every other provider is a cloud service you sign up for. Coda shows a "Get key" link for each provider that has one.
Slash Workflows
Type / in the composer to autocomplete built-in commands, or press ⌘K / Ctrl+K to open the Command Center:
| Command | Action |
|---|---|
/plan <goal> |
Decomposes a complex objective into an interactive todo checklist before writing code |
/fix [focus] |
Probes workspace compiler errors and auto-repairs diagnostics |
/test <file> |
Synthesizes comprehensive unit tests for a target module |
/review |
Deep architectural and risk review of current git changes |
/ship |
Executes full quality gates (typecheck, lint, test, build) and reports ship-readiness |
/mode <preset> |
Switches agent preset (general, plan, build, explore, debug) |
/codebase <q> |
Deep architectural analysis using semantic LSP and topological symbol maps |
/undo |
Safely reverts all file changes made by the agent in the current session |
/compact |
Compresses conversation context into an anchored memory summary |
/parallel <task> |
Spawns isolated read-only sub-agents to explore independent modules in parallel |
Background Sessions
/background <task> (also /worktree <task> or Coda: Run In Background) starts an agent run in its own git worktree, created from your HEAD next to the repository, and keeps working while you do. Several can run at once without touching each other's files or yours. The strip above the input shows each one's step count and current action; when a run finishes you get Review (its report and full diff), Apply (its changes land in your checkout as uncommitted changes, three-way merged if your branch moved, for you to review in Source Control), Open (the worktree in a new window) and Discard (worktree and branch removed). Worktrees from earlier windows are listed too.
Inside a worktree, edits and commands run without approval cards: the folder is isolated and nothing reaches your checkout until you apply it. Deletes, pushes and pull requests still ask. Background runs use your agent model and the project's instructions; language-server features in a worktree are limited to files the agent opens.
Sub-Agents
The agent can hand parts of a task to sub-agents: separate agents, each with its own context, that work on a brief and report back.
- Built-in types:
explorer(read-only research),executor(edits and commands),architect(repair and design). - In parallel: several sub-agents run at the same time, including ones that edit files. Two edits to the same file take turns; neither is lost.
- In the background: a background sub-agent works while the agent carries on, and its report arrives when it finishes. The run waits for it before it ends.
- Your own agents: add Markdown files to
.coda/agents/or.claude/agents/, in the workspace or your home folder. The format is Claude Code's, so existing agent files work as they are:
---
name: test-writer
description: Writes focused unit tests for a module. Use after a change.
tools: Read, Grep, Glob, Edit, Write, Bash
model: inherit
---
You write small, focused unit tests that follow the project's existing style.
Leave out tools for a read-only agent. model takes inherit, scout (your coda.modelRouting.scoutModel), strong, or a model id from your provider.
- Safety: every edit or command a sub-agent makes goes through your approval settings. In plan mode, or the plan or explore preset, sub-agents are read-only. A sub-agent stops after 10 minutes without activity (
coda.subAgents.idleTimeoutMinutes), or after 60 minutes in total (coda.subAgents.maxMinutes); a command still running counts as activity.
Customizations and Plugins
Coda: Open Customizations (also in the panel's gear menu and the Command Center) opens one editor tab that lists everything that shapes Coda here: instruction files and memory, skills, custom agents, slash commands, hooks, MCP servers and plugins. Each entry shows where it comes from (a file, a setting, or Plugin: name) and whether it is in effect. From the same tab you can open an entry, create a new one from a template, switch MCP servers and plugins on and off, and remove an entry.
Your own slash commands go in .coda/commands/<name>.md; run them as /<name> …. {{args}} or $ARGUMENTS in the file is replaced with what you type after the command.
A plugin is a folder that bundles skills, agents, slash commands, hooks and MCP servers. It uses GitHub Copilot's agent-plugin layout, so a Copilot or Claude Code plugin installs without changes:
my-plugin/
plugin.json # { "name": "my-plugin", "version": "1.0.0", "description": "…" }
skills/<skill>/SKILL.md
agents/<name>.agent.md
commands/<name>.md
hooks.json # { "version": 1, "hooks": { "preToolUse": [{ "type": "command", "command": "…" }] } }
.mcp.json # { "mcpServers": { "name": { "command": "npx", "args": ["…"] } } }
Coda also reads .claude-plugin/plugin.json, Agent Plugins 1.0 manifests ($schema, with components under com.github.copilot/), and the manifest's skills, agents, commands, hooks and mcpServers paths or inline objects. ${PLUGIN_ROOT} and ${CLAUDE_PLUGIN_ROOT} expand to the plugin folder.
Plugins live in .coda/plugins/<name>/ (workspace) or ~/.coda/plugins/<name>/ (user). Use Coda: Install Plugin to install from a git URL or a local folder. Before anything is installed, a prompt lists what the plugin adds and every hook command and MCP server it would run.
- Trust: a plugin does nothing (no skills, agents, commands, hooks or MCP servers) until you trust it. Plugins you install are trusted when you confirm the prompt. A plugin committed to the workspace is listed but stays off until you choose Trust on the Customizations screen. Trust is stored in your home folder (
~/.coda/plugins.json), never in the repository. It covers the exact hooks and servers you were shown, so if a pull changes them, the plugin turns off until you trust it again. - Names: a skill, agent or command you wrote yourself wins over a plugin's with the same name.
How plugins differ from Copilot's:
- Hooks run as Coda hooks (see Hooks below):
preToolUse,postToolUse,postToolUseFailure,sessionStart,userPromptSubmitted,preCompact,subagentStart,subagentStop,agentStop/StopandsessionEnd, in Copilot or Claude Code spelling. Non-commandhook types are listed as warnings and skipped. Claude-style matchers such asEdit|Writeare mapped to Coda's tool names. - Local MCP servers must start with a command on Coda's allowlist (
npx,node,python,uvx,docker, …). Remote servers (url) connect over Streamable HTTP, with the same sign-in flow as servers you add yourself. - There is no marketplace service, no automation templates, no plugin
rules/, and no per-workspace enable override. A marketplace (a git repository that lists plugins) is planned as a follow-up.
MCP servers
Coda connects to MCP servers from the coda.mcpServers setting and from .coda/mcp.json, .mcp.json (Claude Code's file) or .vscode/mcp.json in the workspace, so a project already set up for another agent needs no copy. A server is either local or remote:
{
"mcpServers": {
"filesystem": { "command": "npx", "args": ["-y", "@modelcontextprotocol/server-filesystem", "."] },
"github": { "url": "https://api.githubcopilot.com/mcp/" },
"internal": { "url": "https://mcp.example.com/mcp", "headers": { "X-Api-Key": "${env:INTERNAL_MCP_KEY}" } }
}
}
Prompt templates a server offers appear in the composer as /mcp.<server>.<prompt> (arguments positionally or as name=value), and Coda: Attach MCP Resource attaches a server's resource to your next message as context.
Remote servers use the Streamable HTTP transport. When a server answers 401, Coda runs the MCP authorization flow (OAuth 2.1 with PKCE, discovery through the server's protected-resource metadata, and dynamic client registration when the authorization server offers it): your browser opens, you sign in, and the token is kept in VS Code's SecretStorage, never in a file. For authorization servers without dynamic registration, add "clientId" to the server entry. https is required except for localhost. Servers that ask the user questions (MCP elicitation) get them as VS Code input boxes. Coda: MCP Marketplace → Connect remote server adds one by URL.
Hooks
A hook is a shell command that runs at a point in a run: before or after a tool (pre-tool, post-tool, post-tool-failure, matched by tool name), when a session starts or a prompt is sent (session-start, user-prompt-submitted), before compaction, around sub-agents, when a run ends (agent-stop) and when the session ends. Each hook receives the event's JSON on stdin (Claude Code's hook_event_name, tool_name, tool_input, prompt, …) and as CODA_HOOK_PAYLOAD, plus CODA_HOOK_EVENT, CODA_TOOL_NAME, CODA_TOOL_ARGS and CODA_TOOL_OUTPUT.
A pre-tool hook that exits non-zero blocks that tool, and a user-prompt-submitted hook that exits non-zero stops the run before the model is called; the model sees the hook's message. What session-start and user-prompt-submitted hooks print is added to the model's context (a ticket summary, a reminder of the branch policy). The other events are observers.
Hooks come from the coda.agent.hooks setting, from trusted plugins, and from files in the workspace: .coda/hooks/*.json and .github/hooks/*.json (VS Code's format), and .claude/settings.json / .claude/settings.local.json (Claude Code's). Event names in any of the three spellings are accepted. Hooks run with your permissions and only in trusted workspaces; they are a convenience, not a sandbox.
Privacy and Governance
Coda sends nothing about you anywhere. For teams that want to see their own agent usage, coda.telemetry.otlpEndpoint turns on an OpenTelemetry export of each run (run, steps and tool calls with provider, model, tokens, durations and outcomes; never prompts, file contents or code) to a collector you choose, such as http://localhost:4318 or your organisation's Grafana, Datadog or Honeycomb. It is empty by default, and empty means off.
What Coda does with your data and your machine:
- Zero Telemetry: No usage tracking, no prompt logging, no analytics.
- Reasoning shown by default, easy to hide: the panel shows a model's thinking in a collapsed row. Turn
coda.chatUI.showThinkingoff to show only that it thought and for how long. - Public Model Catalogs: Once a day Coda downloads public lists of model limits (LiteLLM's registry and models.dev). These downloads send none of your data.
- Encrypted Secrets: All provider credentials are encrypted via VS Code
SecretStorage, never stored in plaintext settings. - Recursive Secret Redaction: Tool outputs and shell streams are recursively sanitized to prevent API keys (
sk-...,ghp_...,AKIA...) from ever reaching model context. - Protected paths: reading
.env,.pem,id_rsaor other credentials needs explicit approval, and writes to.git/or lockfiles are blocked. - Catastrophic command block: commands such as
rm -rf /, raw disk writes and fork bombs are refused in every mode, even with approval. - Run records: run summaries, execution reports (
.coda/execution-reports/), and normalized traces (.coda/eval-traces/) for every run. Benchmark models and evaluate captured agent traces withnpm run eval:traces.
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
⌘K / Ctrl+K |
Open Command Center |
⌘L / Ctrl+L |
Clear chat conversation |
⌘I / Ctrl+I |
Inline Chat / Rewrite overlay |
Alt+Enter |
Steer active agent run immediately |
ArrowUp / ArrowDown |
Cycle through persisted prompt history |
@filename |
Attach specific workspace file or active selection into context |
⌘V / Ctrl+V (a file or screenshot) |
Attach it. Pasted and dropped files are saved in .coda/attachments/ (kept out of git); images go to the model as images when it accepts them |
Release Notes
Every release is listed in CHANGELOG.md, also shown on the Marketplace's Changelog tab and in VS Code's extension page.
Support & License
Coda is free and released under the MIT License.
- 🌐 Website
- ☕ Support development on Buy Me a Coffee
- 📦 VS Code Marketplace Listing
- 🐛 GitHub Issues & Feedback
- 🔒 Private Security Advisories
Made by Express Genix • MIT License