The only AI code editor with a true Air-Gap Mode. Bundled inference, no Ollama setup, no cloud round-trips - your code never leaves the machine.
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. Nothing leaves your computer unless you explicitly attach a remote model.
Air-Gap Mode severs every non-loopback request from the entire app. 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, Stripe, 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, a fully-automated audit skill, and a public findings log. Every claim below points to a file path in the source - read it yourself, don't 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.
llama-server is SHA-256 checked at every launch against a pinned sidecar. Hash mismatch refuses to spawn. No $PATH lookup. All three inference processes bind to 127.0.0.1 only.
A canonical security checklist and an automated audit skill live in the repo. Every claim above points to a file path in the source - read it yourself, don't take our word for it.
Most editors stop at a privacy policy. Onyx ships the controls, the logs, and the source so you can verify it.
Read the full security overviewBundled llama.cpp, no Ollama install. BYOM with any GGUF.
GPU-accelerated engine built in. Metal on Apple Silicon; Vulkan for NVIDIA, AMD, and Intel. Auto / GPU / CPU switch, no setup.
Hard application-level switch. Status-bar badge. Audit log.
@-mention any file or folder. RAG-powered context.
Codestral + speculative decoding. Near-instant suggestions on M-series.
Every AI edit lands in a reviewable diff. Hunk-by-hunk merging + reindent.
Project rules file. Auto-detects .cursorrules for migrants.
Auditable record of every AI call. PDF export for your CISO.
Local AI drafts your Conventional Commits. Pairs with PR descriptions.
Plan / Ask / Edit-auto / Auto. Toggle from the chat toolbar.
Filesystem, git, sqlite, fetch. One click to enable. Air-Gap blocks fetch automatically.
Auto-mode agents run in an isolated git worktree. Apply or discard back to main.
.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.
Tab jumps to the next predicted edit. Bundles Zed's open-source Zeta-2, fully local. (Free tier)
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.
Strips secrets and PII before any request leaves the editor. Regex and entropy rules you control, on every send.
Install any Open VSX extension. Themes, linters, and debuggers - your existing setup carries straight 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 | $20 / mo | $10 / mo | Free | Free + paid AI |
| Code stays on your machine | Always | Cloud-routed | Cloud-routed | Once Ollama is set up | Once a server is set up |
| Air-Gap Mode: one-click hard switch | Only Onyx | Structurally can't | |||
| AI Activity Log + audit-PDF export | Only Onyx | ||||
| .onyxnoai patterns + workspace kill switch | Only Onyx | ||||
| Bundled inference (no Ollama, no setup) | Only Onyx | Cloud-only | Cloud-only | Requires Ollama | Requires user-run server |
| GPU acceleration built in (NVIDIA / AMD / Intel, no setup) | Only Onyx | Cloud-only | Cloud-only | Via Ollama GPU | Via local server |
| Prompt sanitizer: redacts secrets before AI sees them | Only Onyx | ||||
| Low-latency FIM with speculative decoding (bundled) | Server-side | Server-side | Manual flags | Manual config | |
| Local commit-message + PR-description generation | Via cloud | Via cloud | Via plugin | ||
| Agent suite: Plan / Ask / Edit-auto / Auto + MCP + worktree | |||||
| Bundled MCP server pack: filesystem, git, sqlite, fetch | Install each | Basic | |||
| Inline edit prediction (Cursor-Tab / Zeta-style) | Zeta-2, Free tier | Cursor Tab (paid) | Zeta (free) | ||
| Model A/B comparison (one prompt across 2 to 5 models) | Only Onyx |
Autocomplete tuned to your repo, codebase-aware chat, sandboxed agent runs, 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 a small starter model, so you can start chatting while a larger model streams in the background. Drop in any .ggufwhen you're ready.
.dmg, .exe, .AppImage (about 500 MB base). Models download on demand based on your hardware.
The Welcome wizard recommends one for your machine. Or drag-and-drop your own .gguf. 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 running 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?
One installer per architecture. Same editor on every OS - your license activates anywhere.
winget install OnyxCodewinget is built into Windows 11 and recent Windows 10. If you don't have it, install it from Microsoft.
Latest release v1.8.0 · 2026-07-13
Different jobs, different constraints. Same install.
Her employer prohibits Cursor and Copilot. She used to copy-paste code into ChatGPT on her phone. Now she runs Onyx Code with Air-Gap Mode and Qwen3-Coder-Next 14B on her work MacBook. Her CISO signed off in two days after seeing the audit-PDF export.
Tired of $20/mo for an editor that requires an internet connection. Bought OnyxCode Pro for $39 - what Cursor charges in under two months. Already saved $201 over the year, and his code never leaves the M3 Max.
Air-gapped workstation, no internet by policy. Generates an offline .onyxlicense file from her connected laptop, sneakernets it across, drops it in ~/.onyxcode/license/. Pro features unlock with no network call ever. Onyx is the only AI editor she is allowed to run.
Can't afford a Cursor subscription. Installs Free, uses BYOK with a $5/mo OpenRouter key for chat, runs a local 3B model for autocomplete. Zero monthly cost, zero data leaks.
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 every outbound request, zero telemetry, and a one-time payment for Pro features (use on up to 3 personal machines).