An AI code editor with a true Air-Gap Mode. Bundled inference, no Ollama setup, no cloud round-trips - your code stays on your machine by default.
Most editors stop at a privacy policy. Onyx ships the controls, logs, and exports so you can demonstrate it for yourself, your security team, or an outside auditor.
The bundled llama.cpp engine runs on your machine and binds to 127.0.0.1 only. Your code and prompts never leave your computer unless you explicitly attach a remote model.
Air-Gap Mode stops Onyx Code's own outbound traffic: AI requests, downloads, updates, the built-in browser and HTTP MCP servers. Brand-green status pill so anyone walking by your screen can see it. Your local model keeps working.
Per-file globs in .onyxnoai hide secrets, dotfiles, or vendor code from the model entirely. A workspace kill switch turns AI off for regulated codebases - no uninstall, no log-out.
Every prompt and attachment scanned locally for AWS, GitHub, OpenAI, and Slack tokens, JWTs, and PEM keys before the model sees them. Confirmation dialog: Redact, Send anyway, or Cancel.
Local JSONL log of every chat, autocomplete, and MCP call - model, time, token counts. One click exports a PDF for your security team. Content cannot appear in it by schema construction.
Every upstream VS Code telemetry endpoint is empty in product.json. There is nowhere for data to go even if a setting is flipped. Independent of Air-Gap - defense in depth.
Onyx Code maintains a canonical security checklist and a fully-automated audit skill, and every finding carries file-level evidence. The source is private, so test what you can from outside rather than take our word for it.
App-level gatedFetch blocks Onyx's own calls. An in-host check covers MCP HTTP and SSE transports. Electron's session.webRequest is the final backstop. 0.0.0.0 is not loopback - SSRF blocked.
The Air-Gap callback is a required constructor parameter on every MCP HTTP handle. A future transport that forgets to wire it up is a TypeScript error at build time, not a silent leak at runtime.
The activity log accepts eight metadata keys - model, timestamp, workspace, token counts, latency, network flag. No slot exists for prompts, responses, file paths, or embeddings, so they cannot appear in the log no matter what runs above.
Model downloads are prefix-validated against the models directory after stripping `..` and absolute paths. Project memory rejects Windows reserved names. Glob patterns compile via VS Code's parser - no raw regex injection.
The bundled llama-server is checked before it starts: on macOS it and every library beside it must carry the app developer's code signature, on Windows and Linux every engine file the build recorded must match its SHA-256. A failed check refuses to start it. No $PATH lookup. All three inference processes bind to 127.0.0.1 only.
A security checklist and an automated audit skill run against the source, and each finding carries file-level evidence. The source is private, so test what you can from outside: tcpdump, the activity log, and Air-Gap Mode.
Most editors stop at a privacy policy. Onyx ships the controls and the logs, so you can verify it.
Read the full security overviewBundled llama.cpp, no Ollama install. BYOM with any GGUF.
Hard application-level switch. Status-bar badge. Audit log.
Plan / Ask / Edit-auto / Auto, with Plan and Auto on Pro. Toggle from the chat toolbar.
@-mention any file in your workspace. RAG-powered context.
Predicts your next edit as ghost text, and Tab jumps through a rename. Runs Zed's open-source Zeta-2 locally, a free download. (Free tier)
GPU-accelerated engine built in. Metal on Apple Silicon; Vulkan on Windows for NVIDIA, AMD, and Intel. Auto / GPU / CPU switch, no setup.
Scans every send for secrets and offers to redact them before the model sees them. Pattern and entropy rules you control.
Auditable record of every AI call. PDF export for your CISO.
Multi-line completions from your active local model. Speculative decoding cuts latency when a small draft model is installed.
Code blocks for existing files land in a reviewable diff. Partial blocks go where they belong, never over the rest.
Filesystem, git, sqlite, fetch. One click to enable. Air-Gap Mode blocks installing fetch.
Auto-mode agents run in an isolated git worktree. Apply or discard back to main.
Persistent context across chat sessions. The agent reads and writes per-workspace memory files; carries decisions forward.
Browse, download, and hot-swap GGUF models from a built-in catalog. Per-device quantization picker, no terminal.
.onyx/permissions.json with allow / deny patterns for shell, files, and MCP tools. Committed to git, reviewed in PRs.
Loop guard, destructive-edit guard, prompt sanitizer. Small-model failure modes caught.
Change a value once; ghost text suggests the same change everywhere it applies. Pure heuristic, no model call.
Project rules file. Auto-detects .cursorrules for migrants.
Local AI drafts your Conventional Commits. Pairs with PR descriptions.
Install any Open VSX extension. Themes, linters, and debuggers - the wizard imports your VS Code setup and reports anything it can't bring over.
The questions teams ask first, lined up side by side with the alternatives. The full matrix is one click away.
| Feature | Onyx Code | Cursor 3 | Copilot | Void | Zed |
|---|---|---|---|---|---|
| Cost | $39 once | $30 / mo | $10 / mo | Free, deprecated | Free + paid AI |
| Code stays on your machine | Local by default | Cloud-routed | Cloud by default | Once Ollama is set up | Once a server is set up |
| Air-Gap Mode: one-click hard switch | Only Onyx | No such switch | |||
| AI Activity Log + audit-PDF export | Only Onyx | ||||
| .onyxnoai patterns + workspace kill switch | Only Onyx | .cursorignore | Admin-set; workspace off switch | Per-project AI off switch | |
| Bundled inference (no Ollama, no setup) | Only Onyx | Cloud-only | No bundled engine | Requires external server | Requires user-run server |
| GPU acceleration built in (Apple Metal; Vulkan on Windows) | Only Onyx | Cloud-only | No bundled engine | Via Ollama GPU | Via local server |
| Prompt sanitizer: redacts secrets before AI sees them | Only Onyx | ||||
| Low-latency FIM with speculative decoding (built in) | Server-side | Server-side | Manual flags | Manual config | |
| Local commit-message + PR-description generation | Via cloud | Cloud, or a local model you set | Commit messages only | Commit messages only | |
| Agent suite: Plan / Ask / Edit-auto / Auto + MCP + worktree | Plan, Auto, worktree on Pro | Plan / Ask / Agent + MCP | Chat / Gather / Agent + MCP | Write / Ask + MCP + worktrees | |
| Bundled MCP server pack: filesystem, git, sqlite, fetch | Install each | ||||
| Inline edit prediction (Cursor-Tab / Zeta-style) | Zeta-2, Free tier | Cursor Tab (cloud) | Next edit suggestions (cloud) | Zeta on Pro, or local | |
| Model A/B comparison (one prompt across 2 to 5 models) | Pro | /best-of-n | Agents window, Preview |
Because the promises above would be unenforceable as an extension.
An extension can promise that its own code does not call out. It cannot enforce a boundary for the process it is loaded into, and it cannot switch off the host editor’s telemetry.
Air-Gap Mode blocks Onyx Code’s own outbound traffic (not the requests extensions make themselves) in three layers, with a check inside the extension host on every HTTP MCP transport and a backstop in the Electron runtime, two places an extension cannot put a check of its own. The same goes for a kill switch spanning every AI surface, and for shipping the inference engine inside the installer with a wizard that fetches a model for your hardware, so that “it works offline” is true after one download rather than after a setup guide.
And the cost, from us rather than from someone else.
A fork cannot use Microsoft’s marketplace, so extensions come from Open VSX, and a handful of Microsoft-proprietary ones have no equivalent there. The first-run wizard reports any of yours it could not import.
If that trade is the wrong way round for you, an extension plus your own local model runtime is a legitimate choice, and our comparison with Continue.dev says so plainly.
Multi-line autocomplete, codebase-aware chat, agent runs in a worktree, and a quiet activity log of everything that happened.

No external runtime, no command line, no config file. Onyx ships with a bundled engine, and its wizard recommends a model that fits your hardware and downloads it in one click. Add any .gguf when you're ready.
.dmg, .exe, .AppImage (about 330 to 430 MB). Models download on demand based on your hardware.
The Welcome wizard recommends one for your machine. Or add your own .gguf from disk. No Ollama, no LM Studio, no command line.
VS Code import in one click: settings, keybindings, snippets, themes, extensions. .cursorrules auto-detected. Press Cmd+L.
Most local-AI editors hand you a checklist. Onyx hands you a wizard that sets up the model.
The whole editor, local AI, and the full privacy toolkit. Forever.
No time limit. No telemetry by default.
Everything in Free, plus the full agent workstation.
One-time payment. Use on up to 3 personal machines. No subscription.
Already paid?
Installers for macOS, Windows and Linux. Same editor on every OS - your license activates anywhere.
brew install --cask onyxcode-app/tap/onyx-codePrefer Homebrew? This installs the same notarized build and keeps it in Applications.
winget install OnyxCodewinget is built into Windows 11 and recent Windows 10. If you don't have it, install it from Microsoft.
Latest release v2.7.2 · 2026-11-09
Different jobs, different constraints. Same install. These are illustrative examples, not real customers.
The employer prohibits Cursor and Copilot, and pasting code into a chatbot on a phone is no answer. Onyx Code with Air-Gap Mode runs Qwen2.5-Coder 14B on the work MacBook, and the audit-PDF export gives the CISO something to review.
Tired of a monthly bill for an editor that requires an internet connection. OnyxCode Pro is $39 once, and the code stays on the M3 Max.
Air-gapped workstation, no internet by policy. Generates an offline .onyxlicense file on a connected laptop, carries it across with a .gguf model, and loads it with Onyx: Activate from Offline File. Pro features unlock with no network call.
Can't afford a Cursor subscription. Installs Free, chats with the local model the wizard picked, which handles autocomplete too. Zero monthly cost, and prompts stay on the laptop.
Onyx Code is a full IDE (a fork of VS Code) that runs AI models entirely on your machine. No cloud round-trips, no subscription, no usage caps. Unlike cloud-based AI editors that send your code to remote servers and bill per month, or IDE plugins that ask you to install and wire up your own local model stack, Onyx ships with a curated GGUF model catalog, a one-click Welcome wizard that picks the right model for your hardware, a one-toggle Air-Gap Mode that blocks Onyx Code's own outbound requests, zero telemetry, and a one-time payment for Pro features (use on up to 3 personal machines).