Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>Coda — AI Coding AgentNew to Visual Studio Code? Get it now.
Coda — AI Coding Agent

Coda — AI Coding Agent

Express Genix

|
144 installs
| (0) | Free
| Sponsor
AI coding agent for VS Code that checks its own work: edits across files, runs your tests and build, and lets you review every change. 37 providers or local Ollama.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Coda AI Logo

Coda AI

An AI coding agent for VS Code that checks its own work.
It edits your code, runs your tests and build, and shows the results. Bring any of 37 providers, or run locally.

Version 1.43.0 View on Marketplace MIT License No Telemetry Privacy First 37 providers

Quick Start • What Coda Does • Features • Delivery Ledger • Supported Providers • Slash Commands • Privacy & Security • Release Notes


The Coda panel on one real run: the failing test, the edits and the passing rerun; the first edit as an approval card with its diff; the pending changes to keep or undo

# 1-Click Install via VS Code Quick Open (⌘P / Ctrl+P):
ext install express-genix.coda-ai

Overview

Coda 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

Checks its work After changing code, Coda runs the project's build and tests and treats a non-zero exit code as a failure to fix, not a success to report.
Uses VS Code's language intelligence Go to definition, references, diagnostics, quick fixes, renames and organize-imports come from VS Code's language servers, plus a ranked map of the workspace's most-used symbols.
Catches errors as it edits After each edit Coda reads the editor's errors for that file and fixes them in the same step.
Lets you review every change Pending changes are listed above the chat box and highlighted in the editor, with Keep and Undo per change, per file or for all.
Asks before acting By default every edit and every command that can change files needs your approval. Reads, tests and builds run freely.
Keeps secrets out of prompts Tool output is scrubbed of keys and tokens, and .env, keys and credentials need explicit approval to read.
Works with your model 37 providers, local Ollama, or GitHub Copilot.

Features

🧠 1. Topological PageRank Symbol Repo Map (repoMap)

On Turn 1 of any task, Coda computes a directed graph of workspace imports and runs a power-iteration PageRank algorithm. It extracts high-centrality classes, interfaces, and function signatures into a compact, token-budgeted outline.

  • Why it matters: the agent sees the shape of the project on its first step instead of opening file after file.

🩺 2. In-Loop Self-Healing Diagnostics Micro-Feedback

When Coda mutates a file (editFile, createFile, applyDiff), it immediately inspects language diagnostics on the target file.

  • Why it matters: if an edit introduces a syntax or type error (for example TS2322), the agent is told in the same step and fixes it before moving on.

🎯 3. Test Impact Analysis (findRelatedTests)

Instead of running the whole test suite after every edit, Coda traces which tests import the files it changed and builds a targeted command for your test runner (Vitest, Jest, Pytest, Cargo).

  • Why it matters: checks finish sooner on large projects, because only the tests affected by the change run.

🐛 4. Adapter-Aware DAP Debugger Bridge (debugControl)

Directly integrated into VS Code's native Debug Adapter Protocol (DAP). Coda can inspect active debug sessions, parse .vscode/launch.json (handling comments & trailing commas), resolve active thread IDs, inspect stack frames, evaluate variables, and manage breakpoints.

📓 5. Native Jupyter Notebook Tooling (notebookControl)

No fragile regex or JSON hacking on .ipynb files. Coda mutates notebooks strictly via official VS Code NotebookEdit.replaceCells and WorkspaceEdit APIs, complete with pre-edit file snapshots, conflict checks, and kernel execution capability checks.

🕹️ 6. Mid-Run Steerability (steerAgent)

If the agent heads the wrong way, send a correction while it works (Alt+Enter); it reads it before its next step, without stopping the run.

📜 7. Evidence-Backed Git Commit & PR Packaging

Commit messages and pull requests Coda writes are based on what it recorded during the run: the files it changed and the commands and test results it saw.

🧩 8. Native to VS Code

Coda uses the editor instead of reimplementing it. Its agent can call read-only tools that VS Code and other extensions register (coda.vscodeTools.mode), and Coda's own search, repo map, and diagnostics tools are available to VS Code's agent. Checkpoints show up in the Timeline view (on VS Code builds that support it), review findings can appear as inline comment threads, and editor, explorer, SCM, and terminal context menus add selections, files, and terminal output to chat.

  • Opt-in extras, all off by default: list your configured model in VS Code's model picker (coda.modelProvider.enabled), share .coda/mcp.json servers with VS Code's agent (coda.mcpProvider.enabled), and create pull requests with your VS Code GitHub sign-in when gh is not installed (coda.github.useVscodeAuth). Turning on the model picker option lets any extension that uses VS Code language models send requests through your API key.

📏 9. Adapts to Any Context Window

You don't configure a model's limit. Coda reads what the provider and public catalogs publish, and learns the rest from the provider's own responses: if a request is refused as too large, it takes the stated limit, retries in the same run, and remembers it. Requests stay lean on every model because the transcript keeps what the agent still needs: a re-read file replaces its earlier copy, a read goes stale once the file is edited, and old large results shrink to one-line records so the agent still knows what it did. Models known to have small windows also get a shorter tool list, with every other tool one search away. coda.contextWindowTokens remains available as an override.

On Anthropic, coda.anthropic.contextEditing adds Claude's own context editing: past 100k input tokens the API clears the oldest tool results server-side (newest five kept), and Claude gets its memory tool, which saves notes under .coda/memories/ before results are cleared and reads them in later sessions. Coda's compaction stays on as the backstop.

✅ 10. Review and Approvals

  • Pending changes: every file Coda changed that you have not reviewed is listed above the chat box, with Keep and Undo per file or for all. Open a changed file to step through its changes in the editor. Staging a file in Source Control keeps its changes.
  • Permission levels: Ask (default), Assisted (your model rates each action that would ask; low-risk ones run, noted in the run), and Auto-accept edits. Approvals can be remembered for the session, the workspace or always. Destructive commands, deletes and pushes always ask.

⚡ 11. Quick Chat and Compare Models

  • Quick Chat (Coda: Quick Chat) answers a quick read-only question about the code at your cursor, beside the editor.
  • Compare models (/compare) runs one question on 2–4 of your models side by side, with time, tokens and cost for each.

🌐 12. A Browser With No Setup

browserAction drives a real Google Chrome through Chrome DevTools MCP, started on demand with npx in an isolated profile after you confirm (your own Chrome profile and sign-ins are never used). The agent lists the server's tools, opens a URL, reads the page's accessibility snapshot, clicks and fills by element id, reads console messages and network requests, and saves screenshots under .coda/attachments/, handing the image to the model itself when it accepts images. Needs Node and Chrome on the machine; coda.browser.mcpCommand swaps in another MCP browser server or adds --headless.

⌨️ 13. Inline Completions and Web Search

  • Inline completions use the provider's fill-in-the-middle endpoint where one exists (Mistral Codestral, DeepSeek, Ollama models with a {{ .Suffix }} template): the prefix and suffix go as fields and only the gap comes back, which is faster and cleaner than a chat prompt. Every other provider keeps the chat prompt. coda.inlineCompletions.nativeFim turns this off.
  • Next-edit suggestions (preview, coda.nextEditSuggestions.enabled): after you change something and pause, Coda predicts the next related edit and highlights it in place with a hint; Tab applies it while the cursor is inside the range, Alt+] jumps there, Esc dismisses. Suggestions are drawn to the lines the facts point at (other uses of what you just renamed, lines the language server flags). It is off by default because on a replay of this repository's own commits a small model's suggestions matched a real next edit 27% of the time (docs/NEXT_EDIT_EVAL.md); the editor keeps acceptance counters, and npm run eval:next-edit measures any model you have a key for.
  • Web search runs through DuckDuckGo with no key, through Brave, Tavily or Exa with yours, or, with coda.webSearch.provider set to model, through the model provider's own search: Anthropic's web_search and web_fetch, OpenAI's web_search. Those run on the provider's servers, return citations, and are billed by the provider.

Verification is a Contract, Not a Vibe

Coda implements the philosophy that AI claims must be backed by machine-checkable evidence:

┌────────────────────────────────────────────────────────────────────────┐
│                        CODA DELIVERY WORKFLOW                          │
├────────────────────────────────────────────────────────────────────────┤
│ 1. INSPECT      ──► Semantic LSP + Topological RepoMap                 │
│ 2. PLAN         ──► Decompose with /plan & Todo state                  │
│ 3. EXECUTE      ──► Tracked WorkspaceEdit + Self-Healing Feedback      │
│ 4. VERIFY       ──► tsc (clean) + lint (0 errors) + test (exit 0)      │
│ 5. RECORD       ──► Commands, exit codes and changes saved per run     │
└────────────────────────────────────────────────────────────────────────┘

When Coda reports a task complete, its verdict is derived from structured tool results and exit codes recorded in .coda/execution-reports/, not optimistic prose.


Two Ways to Work, One Unified Engine

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 / Stop and sessionEnd, in Copilot or Claude Code spelling. Non-command hook types are listed as warnings and skipped. Claude-style matchers such as Edit|Write are 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.showThinking off 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_rsa or 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 with npm 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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft