适用于 VS Code 和 Cursor 的本地 AI 编码代理。Ollama、LM Studio 和您的推理集群。Cursor 级代理用户体验 — 离线、私有、零代币成本。
适用于 VS Code 和 Cursor 的本地 AI 编码代理。Ollama、LM Studio 和您的推理集群。Cursor 级代理用户体验 — 离线、私有、零代币成本。
Feels like Cursor. Runs entirely on your hardware. Costs nothing per token.
Nyx in 30 seconds — click for the MP4 version
Open agentic coding models have caught up. DeepSeek V4, GLM 5.2, Qwen Coder — open weights now deliver flagship-class agentic performance, and quantized builds run on hardware you can put under your desk: a DGX Spark, a Mac Studio, a Blackwell workstation, even a 128 GB MacBook. What's been missing is the front end: an agent panel that treats those models as first-class citizens instead of a dropdown afterthought.
Nyx is that panel. A local-first coding agent in its own editor sidebar that looks and behaves like a native agent panel — file-edit diff cards, checkpoints, approvals, @-mentions, semantic search, MCP tools, a job queue, project memory — but every request goes to your machines. No account, no cloud, no telemetry, no per-token bill.
| Review every change before it lands | Manage your whole inference fleet |
|---|---|
Status: v0.29.0. Local-first and fully offline-capable (the only optional network use is web fetching/search, the one-time OCR language-data download, and the first-time download of a vision/embedding model, all under your control).
The recipes for running flagship-class open models locally are public and surprisingly convenient. Point any of these at Nyx's machine manager and you have a Cursor-grade agent that never leaves your network:
feat/v4-port-cuda fork +
teamblobfish GGUF quants
cover Apple Silicon (Metal) and NVIDIA Ada/Blackwell.ollama pull qwen2.5-coder:32b),
llama.cpp (llama-server -m model.gguf),
LM Studio: all speak the OpenAI API, all auto-discovered by Nyx.The result: agentic coding with zero marginal cost, full privacy, and hardware you already own doing the work. Nyx handles the part the serving stacks don't — the agent UX and the quirks of local models.
There are excellent AI coding extensions — Cline, Roo Code, Continue.dev, Twinny. For all of them, local models are one provider entry in a dropdown: they are designed around cloud frontier models, and running them against Ollama means hand-crafted Modelfiles, brittle tool calling, and agents that derail when a 7B model gets the JSON slightly wrong.
Nyx inverts that: local inference is the product, not the fallback.
/api/show → tools / vision / thinking badges), auto-detected context lengths, per-machine temperature/num_ctx — and automatic failover to another machine serving the same model. No other extension has a concept of machines.tool_calls, raw/fenced JSON, function-style text, or DeepSeek DSML markup; arguments get JSON repair; edit_file matches whitespace-tolerantly; small models get a reduced tool set; the prompt prefix stays byte-stable so the server's KV cache keeps working. The failure modes that break other agents on local models are our core engineering target.If you have serious local hardware and want an agent that treats it seriously, that's the gap Nyx fills.
ollama pull → it shows up in the picker.qwen2.5-coder:7b pull.git_diff / git_log tools answer "what did I just change?" without run_command approval friction.Cmd/Ctrl+Alt+K → describe the change → review the diff → apply. No chat roundtrip; checkpoints and backups apply as usual.nyx.benchmarkRouting, the judgment-best benchmarked model plans and the edit-precision winner executes.nyx.includeActiveFile.Cmd/Ctrl+Alt+N — both directions). A violet brand identity — ✦ NYX badge, accent line, tabs, meter (configurable via nyx.accentColor) — keeps the two worlds visually distinct; clicking the badge opens About (version, GitHub, update check).read_terminal tool — "fix the error in my terminal" just works.30m), so the model stays loaded and follow-up turns skip the reload pause.~/.cursor/mcp.json / .cursor/mcp.json (stdio + HTTP) and offers their tools to the agent — e.g. codebase-memory-mcp for graph-based code memory. Governed by the same per-tool permissions (mcp:/).nomic-embed-text, int8-quantized, structure-aware chunking, live file-watcher updates) powers the semantic_search tool: find code by meaning, not just by regex. Works with Ollama and OpenAI-compatible hosts (LM Studio, llama.cpp, vLLM) via a /v1/embeddings fallback; coverage limits are configurable (nyx.indexMaxFiles / nyx.indexMaxChunks) and warn when hit.qwen2.5-coder:7b) — the piece that used to require a second extension. Opt-in via the Nyx Tab status-bar toggle.node .harness/eval.mjs)./api/show: tools, vision, thinking — and their true context length is detected automatically.edit_file / write_file approvals show the proposed diff before anything is applied; destructive-looking commands are flagged; Always allow skips future prompts for that tool in the current chat.path +N −M cards with a colored diff preview; click the filename to open it in the editor. Edits go through WorkspaceEdit, so open editors and undo history stay intact.@ in the composer to fuzzy-search workspace files and inline them as context.run_command streams stdout/stderr into the tool card while it runs; background: true starts dev servers & long jobs the agent can poll (check_process) and stop (kill_process) — and Stop actually kills running processes.web_search and fetch_url on its own.edit_file, automatic backups, and a shrink guard so files are never silently destroyed.run_script writes and runs a throwaway bash/python/node script (in a temp dir) to test or verify things..cursor/rules/*.mdc, AGENTS.md, .cursorrules, and SKILL.md files.allow / ask / deny policy. Reads are allowed; edits and shell commands ask first.暂无开放 Issues,或尚未同步最近议题。