⚡ Omni Coder

Privacy-first, full-agentic AI coding assistant for VS Code. Chat, tools, terminal, browser automation, MCP servers, checkpoints and modes — driven by any OpenAI-compatible API (OpenAI, OpenRouter, Ollama, LM Studio, vLLM, Together, Groq, Azure-OpenAI-style endpoints, …).
No telemetry. No cloud account. Your API key lives in VS Code SecretStorage.
Screenshots
|
|
 |
 |
| Streaming answers with mention chips |
Parallel sessions, live status dots |
 |
 |
| Human-in-the-loop approvals |
Slash commands & prompt templates |
Features
- Parallel sessions — Windsurf-style tabs: run several agent tasks concurrently in one workspace, each in its own tab with its own terminal, approval queue, composer draft and message queue. Switch tabs while they all keep working; status dots show which tab is running, waiting for you, or done.
- Agentic loop — the model plans, calls tools, reads results, iterates and finishes with
attempt_completion. Cancelling, context-window truncation, consecutive-mistake limits and task persistence are built in.
- Full tool set
read_file, write_to_file, apply_diff (LCS diff preview + approval), search_files, list_files
execute_command with persistent terminals, timeout and live output
web_search / web_fetch — zero-config web access: search + read pages, no API key needed
browser_action — navigate, click, type, scroll, screenshot via Playwright (lazy-installed)
use_mcp_tool / access_mcp_resource — any MCP server over stdio or SSE
ask_followup_question, new_task (subtasks), switch_mode, attempt_completion
- Modes —
code (default), architect, ask, debug, plus custom YAML modes (custom_modes.yaml in the workspace or global).
- Checkpoints — shadow-git snapshots after every file mutation; restore any checkpoint from the chat with one click. Never touches your project
.git.
- Approvals & auto-approve — per-action-class auto-approval (read / edit / commands / browser / MCP) with a request cap, or approve/reject everything with optional feedback.
@ mentions — @file, @folder, @problems, @terminal, @url to inject live context.
- Slash commands —
/test, /review, /docs, /explain, /fix, /refactor, /security, /optimize — plus custom workspace commands in .omnicoder/commands/*.md.
.omnicoderrules — repo-level instructions loaded into every system prompt; plus global custom instructions.
- Streaming UI — React webview with streaming text, reasoning blocks, tool call cards with diff previews, screenshots, token/cost meter, task history with resume.
- Multi-provider connections — save any number of OpenAI-compatible endpoints (OpenAI, OpenRouter, Elvaru, Groq, Ollama, LM Studio, vLLM…) in the provider table, each with its own API key in SecretStorage, selected model, and tuning. Switch the active provider in one click from settings or the composer picker; test connections inline. Native
tool_calls when the model supports them, automatic XML + DeepSeek DSML tool-call fallback otherwise.
- Mid-task steering — type guidance while the agent works; it's injected at the next turn boundary (never breaking tool-call pairing).
- Drag & drop — drag files from the VS Code explorer into the chat to
@mention them; drag images from the OS to attach them.
Getting started
Install the extension (code --install-extension omni-coder-*.vsix or run from source — see Development).
Open the Omni Coder activity-bar icon → ⚙ Settings.
In Providers, click + Add provider (or edit the default one): pick a preset, paste your API key, fetch and pick a model → Add provider. Add as many providers as you like — click the radio button to switch the active one, or use the model picker in the composer.
| Provider |
Base URL |
Notes |
| OpenAI |
https://api.openai.com/v1 |
gpt-4o, o4-mini, … |
| OpenRouter |
https://openrouter.ai/api/v1 |
any model slug |
| Ollama |
http://localhost:11434/v1 |
no key needed |
| LM Studio |
http://localhost:1234/v1 |
no key needed |
| vLLM |
http://your-server:8000/v1 |
OpenAI server |
For localhost providers the key can stay empty.
Describe a task in the chat and hit Send. The agent asks before anything destructive unless you enable auto-approve.
Browser automation
The browser_action tool loads Playwright lazily — nothing is downloaded until first use:
npm i -D playwright # or: npx playwright install chromium
Set omniCoder.browserHeadless: false in VS Code settings to watch the agent drive the browser.
MCP servers
Chat view → 🔌 → edit the MCP settings JSON (stored in extension storage):
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "C:/path/to/dir"]
},
"remote": { "url": "https://example.com/sse", "transport": "sse" }
}
}
Per-server autoApprove: ["tool_name"] lets specific MCP tools bypass approval.
Custom modes
Create custom_modes.yaml in the workspace root (or .omnicoder/ global):
customModes:
- slug: reviewer
name: Reviewer
roleDefinition: You are a strict code reviewer.
groups: [fs, meta] # tool groups allowed
customInstructions: Focus on security issues.
Rules
.omnicoderrules in the workspace root is appended to every system prompt — style guides, forbidden paths, test commands, etc.
Commands
| Command |
What it does |
Omni Coder: New Task |
Focus chat and open a fresh session tab |
Omni Coder: Open Settings |
Jump to provider/auto-approve settings |
Omni Coder: Focus Chat |
Reveal the chat view |
Omni Coder: Cancel Current Task |
Abort all running tasks |
Omni Coder: Edit MCP Servers |
Open mcp.json |
VS Code settings
| Setting |
Default |
Purpose |
omniCoder.commandExecutionTimeoutSeconds |
60 |
Kill agent commands after N s |
omniCoder.maxConsecutiveMistakes |
3 |
Pause after N malformed tool calls |
omniCoder.browserViewportWidth/Height |
1280/720 |
Browser tool viewport |
omniCoder.browserHeadless |
true |
Headless browser |
Development
npm install
npm run compile # esbuild → dist/extension.js + dist/webview.js/.css
npm run watch # rebuild on change
npm run check # tsc --noEmit
npm test # vitest unit + integration tests (208 tests, incl. provider-level
# multi-session runs against a fake SSE LLM server)
npm run test:e2e # real VS Code end-to-end tests via @vscode/test-electron —
# downloads VS Code on first run, then verifies activation,
# parallel sessions, and real per-session terminals in a live
# extension host
npm run package # vsce → omni-coder-x.y.z.vsix
Press F5 in VS Code to launch an Extension Development Host.
Layout
src/
shared/ types + webview<->host protocol
core/
api/ OpenAI-compatible SSE provider, retry, cost
tools/ file/search/diff/command/browser/mcp/meta tools + registry
task/ agent loop + persistence
terminal/ ShellRunner + persistent TerminalManager
checkpoints/ shadow-git service
mcp/ stdio/SSE MCP hub
browser/ lazy Playwright session
modes/ builtin + YAML custom modes
prompt/ system prompt + environment details
context/ @mentions + diagnostics
storage/ SecretStore + settings
webview-ui/ React chat UI (store, components)
Privacy
- API keys →
SecretStorage; never written to settings, disk, or logs.
- No telemetry, analytics, or outbound calls other than your configured API base URL and MCP servers you add.
- Checkpoints use an isolated shadow-git repo in extension storage — your workspace
.git is never touched.
License
MIT
| |