You own it. It runs locally.
Your data stays yours.

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.

Runs offlineBundled inferenceZero telemetryNo account needed
AIR-GAPPED
onyx · illustration
Local127.0.0.1:12345
llama.cpp · streaming24 tok/s
ACTIVE
Bytes out (24h)0 B
Pings blocked7
Local modelQwen2.5-Coder 32B
Built on VS Code OSSPowered by llama.cppOpen VSX extensionsZero telemetry by defaultmacOS · Windows · Linux
What stays on your machine

Privacy you can prove.

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.

LOCAL

Local AI, by default.

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-GAPPED

One toggle, off the grid.

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.

.onyxnoai

Tell Onyx where AI can't go.

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.

SANITIZER

Catch a secret before it ships.

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.

AUDIT PDF

Every AI call. Audit-trail PDF.

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.

NO PHONE HOME

No telemetry. Period.

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.

The deeper proof

Security you can verify.

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.

3 LAYERS

Three-layer Air-Gap.

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.

TYPE-SAFE

Privacy leaks won't compile.

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.

8 KEYS

Append-only by construction.

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.

PATH-SAFE

Filesystem boundaries that hold.

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.

Verified

Checked before it starts.

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.

AUDITED

Verifiable, not just claimed.

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 overview
What ships in the editor

Everything you'd expect, and a few things you won't find anywhere else.

Local AI

Bundled llama.cpp, no Ollama install. BYOM with any GGUF.

Air-Gap Mode

Hard application-level switch. Status-bar badge. Audit log.

Agent Modes

Plan / Ask / Edit-auto / Auto, with Plan and Auto on Pro. Toggle from the chat toolbar.

Codebase Chat

@-mention any file in your workspace. RAG-powered context.

Next-edit prediction

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 Acceleration

GPU-accelerated engine built in. Metal on Apple Silicon; Vulkan on Windows for NVIDIA, AMD, and Intel. Auto / GPU / CPU switch, no setup.

Prompt Sanitizer

Scans every send for secrets and offers to redact them before the model sees them. Pattern and entropy rules you control.

Activity Log

Auditable record of every AI call. PDF export for your CISO.

Inline FIM

Multi-line completions from your active local model. Speculative decoding cuts latency when a small draft model is installed.

Smart Apply

Code blocks for existing files land in a reviewable diff. Partial blocks go where they belong, never over the rest.

MCP + Bundled Pack

Filesystem, git, sqlite, fetch. One click to enable. Air-Gap Mode blocks installing fetch.

Worktree Sandbox

Auto-mode agents run in an isolated git worktree. Apply or discard back to main.

Project Memory

Persistent context across chat sessions. The agent reads and writes per-workspace memory files; carries decisions forward.

Model Manager

Browse, download, and hot-swap GGUF models from a built-in catalog. Per-device quantization picker, no terminal.

Permission Rules

.onyx/permissions.json with allow / deny patterns for shell, files, and MCP tools. Committed to git, reviewed in PRs.

Quality Guardrails

Loop guard, destructive-edit guard, prompt sanitizer. Small-model failure modes caught.

Predictive Edits

Change a value once; ghost text suggests the same change everywhere it applies. Pure heuristic, no model call.

.onyxrules

Project rules file. Auto-detects .cursorrules for migrants.

Commit Messages

Local AI drafts your Conventional Commits. Pairs with PR descriptions.

Open VSX Extensions

Install any Open VSX extension. Themes, linters, and debuggers - the wizard imports your VS Code setup and reports anything it can't bring over.

How Onyx compares

A focused look at how Onyx compares.

The questions teams ask first, lined up side by side with the alternatives. The full matrix is one click away.

FeatureOnyx CodeCursor 3CopilotVoidZed
Cost$39 once$30 / mo$10 / moFree, deprecatedFree + paid AI
Code stays on your machineLocal by defaultCloud-routedCloud by defaultOnce Ollama is set upOnce a server is set up
Air-Gap Mode: one-click hard switch Only OnyxNo such switch
AI Activity Log + audit-PDF export Only Onyx
.onyxnoai patterns + workspace kill switch Only Onyx.cursorignoreAdmin-set; workspace off switchPer-project AI off switch
Bundled inference (no Ollama, no setup) Only OnyxCloud-onlyNo bundled engineRequires external serverRequires user-run server
GPU acceleration built in (Apple Metal; Vulkan on Windows) Only OnyxCloud-onlyNo bundled engineVia Ollama GPUVia local server
Prompt sanitizer: redacts secrets before AI sees them Only Onyx
Low-latency FIM with speculative decoding (built in)Server-sideServer-sideManual flagsManual config
Local commit-message + PR-description generationVia cloudCloud, or a local model you setCommit messages onlyCommit messages only
Agent suite: Plan / Ask / Edit-auto / Auto + MCP + worktreePlan, Auto, worktree on ProPlan / Ask / Agent + MCPChat / Gather / Agent + MCPWrite / Ask + MCP + worktrees
Bundled MCP server pack: filesystem, git, sqlite, fetchInstall each
Inline edit prediction (Cursor-Tab / Zeta-style)Zeta-2, Free tierCursor 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-nAgents 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.

Inside the editor

For engineers who want capable tooling without the cloud round-trip.

Multi-line autocomplete, codebase-aware chat, agent runs in a worktree, and a quiet activity log of everything that happened.

Onyx CodeAIR-GAPPED
Onyx Code editor with codebase-aware chat
From install to first prompt

Minutes from install to your first chat.

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.

01

Install

.dmg, .exe, .AppImage (about 330 to 430 MB). Models download on demand based on your hardware.

02

Pick a model

The Welcome wizard recommends one for your machine. Or add your own .gguf from disk. No Ollama, no LM Studio, no command line.

03

Code

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.

Pricing

Free is the whole editor.
Pro adds the agent workstation.

Free

The whole editor, local AI, and the full privacy toolkit. Forever.

$0
Full VS Code-OSS editor: with Open VSX extensions
Bundled local AI: llama.cpp engine, plus a chat model the wizard picks for your hardware, no Ollama install
Inline FIM autocomplete: plus Zeta-2 next-edit prediction - a free download that doesn't count as your chat model
Smart Apply: code blocks for existing files land in a reviewable diff
Air-Gap Mode, .onyxnoai, workspace kill switch
Activity Log + audit-PDF export: plus prompt sanitizer on every send

No time limit. No telemetry by default.

OnyxCode Pro

Everything in Free, plus the full agent workstation.

$39
Unlimited chat models: plus the in-chat model switcher
Full agent suite: Plan, Ask, Edit-auto, and Auto modes
Every MCP server at once: the bundled pack (filesystem, git, sqlite, fetch) plus your own
Worktree-sandboxed agents: agents run in an isolated git worktree
Persistent project memory: context carries across chat sessions
Model A/B comparison: one prompt across 2 to 5 models, side by side

One-time payment. Use on up to 3 personal machines. No subscription.

Already paid?

Downloads

Pick your platform.

Installers for macOS, Windows and Linux. Same editor on every OS - your license activates anywhere.

macOS
brew install --cask onyxcode-app/tap/onyx-code

Prefer Homebrew? This installs the same notarized build and keeps it in Applications.

Windows
winget install OnyxCode

winget 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

Read the release notes

Who it's for

Four kinds of developer. Four reasons. Same editor.

Different jobs, different constraints. Same install. These are illustrative examples, not real customers.

Sarah
Fintech engineer at a regulated bank

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.

Marcus
Ex-Cursor subscriber, indie dev

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.

Priya
Defense contractor, classified network

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.

Leo
Python student, first dev tool

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.

FAQ

Common questions, straight answers.

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).

Make the switch

Stop renting your editor.
Stop sending your code anywhere.