Coda AI — Your Autonomous Coding Agent for VS Code
Coda is a powerful AI coding assistant that lives in your VS Code sidebar. Chat with your codebase, let the agent autonomously investigate and fix issues, and watch it work in real time — all without leaving your editor.
Features
💬 Chat Mode
Ask questions about your code, get explanations, and receive suggestions — powered by your choice of AI provider.
🤖 Agent Mode
Switch to Agent mode and let Coda autonomously:
- Read and edit files in your project
- Run shell commands (npm, git, docker, curl, etc.)
- Search your codebase with regex, glob, and semantic search
- Run and parse tests with structured failure reports
- Create, delete, rename, and manage files with full change tracking
- Browse the web for documentation and references
- Full Git integration — status, diff, log, blame, commit, checkout, stash
- Editor context — read active file, selection, open tabs
- Code intelligence — find references, go to definition, rename symbols, get code actions, format files
- Ask clarifying questions mid-task when more info is needed
- Detect your environment — OS, frameworks, package manager
- Apply diffs and bulk find-and-replace across files
🔒 Human-in-the-Loop Safety
Destructive actions (file deletion, shell commands) require your explicit approval before executing. Prominent Allow/Skip buttons appear directly in the chat — impossible to miss.
📊 Change Tracking
Every file change is tracked. After the agent finishes, a change summary shows exactly what was modified with Keep/Undo controls per file.
⚡ Real-Time Activity
Watch the agent work in real time:
- Animated thinking indicator while processing
- Step-by-step tool usage panel (expandable/collapsible)
- Live streaming of responses
- Token usage display
🔌 Multi-Provider Support
Use your preferred AI provider:
- OpenAI (GPT-4o, GPT-4o-mini, etc.)
- Anthropic (Claude Opus, Sonnet, Haiku)
- Google Gemini (Gemini 2.0, Flash, etc.)
- Ollama (local models — Llama, Mistral, CodeLlama, etc.)
Getting Started
- Install Coda from the VS Code Marketplace
- Open the Coda panel in the sidebar
- Click the ⚙️ settings icon to configure your AI provider and API key
- Start chatting or switch to Agent mode
Settings
| Setting |
Default |
Description |
coda.provider |
openai |
AI provider (openai, anthropic, gemini, ollama) |
coda.apiKey |
— |
API key for your provider |
coda.model |
Auto |
Model name (leave empty for provider default) |
coda.temperature |
0.7 |
Response creativity (0–2) |
coda.maxOutputTokens |
16384 |
Max output tokens per response |
coda.ollamaUrl |
http://localhost:11434 |
Ollama server URL |
coda.systemPrompt |
— |
Custom instructions appended to the system prompt |
Keyboard Shortcuts
| Shortcut |
Action |
Enter |
Send message |
Shift+Enter |
New line |
⌘L / Ctrl+L |
Clear chat |
@filename |
Mention a file to include its content |
Slash Commands
| Command |
Description |
/commit |
Generate a commit message |
/test |
Run and analyze tests |
/fix |
Fix errors in the current file |
/explain |
Explain the current code |
Coda's agent has access to 40 tools:
File System — readFile, editFile, createFile, deleteFile, renameFile, listDirectory, searchCode, searchFiles, replaceInFiles, getProjectStructure
Editor Context — getActiveFile, getSelection, getOpenTabs, openFile
Terminal & Diagnostics — runCommand, getTerminalOutput, getDiagnostics, parseTestResults
Git — gitStatus, gitDiff, gitLog, gitBlame, gitCommit, gitCheckout, gitStash
Code Intelligence (LSP) — getSymbols, findReferences, goToDefinition, getHoverInfo, findWorkspaceSymbols, renameSymbol, getCodeActions, formatFile, applyDiff
Web — fetchUrl
Agent Intelligence — askUser, getEnvironmentInfo, semanticSearch
Memory — memoryRead, memorySave
Privacy
- Your API key is stored locally in VS Code settings
- Code is sent only to your configured AI provider
- No telemetry or analytics are collected
- Coda does not phone home
License
MIT — see LICENSE for details.
Report an Issue · GitHub