2026-11-26 15:47 UTC

NØX-Local brings a small-model coding agent to 8 GB GPUs

state: seedheat: lowuncertainty: mediumrelevance: mediumlocal-coding-agents small-models edge-inferenceJohnny008-creator

What is this?

NØX-Local is an MIT-licensed, Linux-first coding agent by maintainer Jan Raszka, published under the GitHub account Johnny008-creator. The repository describes a terminal interface that runs models through llama.cpp, without an API key or account, and is designed to make tool use workable for small models. Its 1.0.0-rc1 release is described as feature-complete but awaiting real-world use before 1.0.0. The maintainer reports benchmarks on one AMD 8 GB GPU; these are project-reported measurements, not independent evaluations.

Why it matters

NØX-Local explores whether a carefully constrained agent loop can make local small models useful for coding, rather than assuming frontier-scale cloud models. If it works reliably, users could get coding assistance with less dependence on paid APIs and greater control over code and data. The repository also shows the trade-offs: performance varies substantially by model, a 27B model is reported at only 3 tokens/s on the test setup, and “local” networking depends on whether web tools are enabled. Evidence here is one maintainer’s release and self-reported benchmarks, not broad adoption or independent validation.

Current assessment

Newly documented project: NØX-Local, an open-source terminal coding agent built around llama.cpp and local GGUF models. The repository says it is offline by default apart from optional WebSearch/WebFetch tools; those can be disabled. It provides file and shell tools, approvals, diffs and undo, session and project memory, optional MCP and skills, and headless operation. Its key design claim is that a short tool menu, context trimming, recovery of malformed tool calls, and loop guards help a 4B model use tools. The maintainer’s benchmark table reports, on an AMD Radeon RX 6500 XT with 8 GB VRAM, Qwen3.5 4B at 32 generated tokens/s, Ornith 1.5 9B at 22, and Saluki 27B at 3; results are setup-specific and not independently checked. Repository instructions say Linux is the tested platform; Windows, macOS, and measurements on NVIDIA and Intel GPUs remain future work. The release is marked 1.0.0-rc1, feature-complete but seeking real-world use. The evidence supports reporting an available experiment in local-agent design, not a claim that small local models match cloud coding agents or are already broadly adopted. No material source conflict is evident; the Hacker News item and echo entry point to the same repository, while web results add no independent corroboration.

Measured heat

now 0 pts/hpeak 2 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 219h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-17 13:23 (minted)⭐ origin echo-reconstructedA coding agent that runs locally through llama.cpp, with no API key required; its repository describes support for small models and reports
Johnny008-creator on github (echo) · attributed from hn.story.50530674 · published time unknown
—
11-17 12:46first on hacker news · published · lag ?NOX Local – a coding agent for 4B models on an 8 GB GPU
Johnny008-creat
—
11-17 12:46amplified on hacker news 👑hn.story.50530674
Johnny008-creat
peak 1 · 0 comments · 103% of case engagement
11-17 13:21our radar first saw it · lag ?discovery anchor: hn.story.50530674—
pace: p13 vs 2096 stories at the 168h mark (now 219h old) — behind adobe-max-ai-agents-creative-tools-mcp (0.5x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnNOX Local – a coding agent for 4B models on an 8 GB GPU
Retrieved article excerpt

Open article · Retrieved 2026-11-17T13:22:27.529197+00:00

# N Ø X · Local

**A coding agent that runs only on your machine.**

Own terminal UI · llama.cpp on Vulkan · no API keys · works offline

[CI](https://github.com/Johnny008-creator/nox-local/actions/workflows/ci.yml)
[version](https://camo.githubusercontent.com/197d91f6b30b9faef2026e8c89e3d0549a53d5513ac4c8a40f8e88907e266b0a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d2d7263312d313462386136)
[go](https://camo.githubusercontent.com/057bb153c36520fd9400b87fc92a3fc141adc2cc6f505dd46168715f77da9976/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f476f2d312e32372d3030414444383f6c6f676f3d676f266c6f676f436f6c6f723d7768697465)
[llama.cpp](https://camo.githubusercontent.com/601047f5e359b64ddfd6593ed5dea33ff2f7d337704c0fec5255445e600f8a84/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6c616d612e6370702d56756c6b616e2d386235636636)
[platform](https://camo.githubusercontent.com/6af8efd32cee25289ca9bfcbfced7fd23dfc9bfee8bd15e811775c527b1ce31e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d2d4c696e7578253230254332254237253230414d44253246496e74656c2532464e56494449412d663539653062)
[license](https://camo.githubusercontent.com/7697a44364da1affd0baf3aed6f2da3fbac14bc1ed92502cae23106e56e411f7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d323263353565)

[The NØX-Local terminal UI: a prompt, tool calls, an inline diff and the answer](https://github.com/Johnny008-creator/nox-local/blob/main/docs/assets/demo.gif)

NØX-Local is a coding agent for people who want the work to stay on their own computer. It drives llama.cpp directly, so there is no API key, no account, no per-token bill and nothing sent to a server. The whole agent loop is built around one constraint most agents ignore: **a 4B model has to be able to use it.**

---

## Why

Cloud agents stop when your quota runs out, and they see every file they read. A local model is free and private, but the agent loops written for frontier models fall apart on it: too many tools, prompts that fill the window, and tool calls the small model formats slightly wrong.

NØX-Local is that loop, rewritten for small models:

- **A short menu.** Ten built-in tools with short descriptions (Read, Write, Edit, Glob, Grep, Bash, WebSearch, WebFetch, Artifact, TodoWrite), so a 4B model picks the right one.
- **A context that lasts.** Files are read 300 lines at a time, tool output is trimmed and old results are dropped first. A 32K window goes a long way.
- **Forgiving parsing.** When the model writes a tool call as plain text instead of making one, the call is recovered and run.
- **No runaway loops.** A third identical call is blocked and the model is told to try something else.
- **MCP is opt-in.** You switch on the servers you need; the model never sees forty tools it cannot handle.

The numbers on the reference machine (RX 6500 XT 8 GB, Ryzen 5 5600GT, 16 GB DDR4) are in [docs/BENCHMARKS.md](https://github.com/Johnny008-creator/nox-local/blob/main/docs/BENCHMARKS.md).

## Features

|  |  |
| --- | --- |
| **Terminal UI** | Sidebar with models, context and the plan; inline diff cards; full-screen `/diff`; command palette; mouse selection; vim keys |
| **Offline** | Runs entirely on this machine. Only WebSearch and WebFetch reach the network; `/web off` removes them |
| **Approvals** | `manual` asks before every change, `plan` is read-only, `auto` asks only for risky commands, `yolo` never asks. Each approval shows the diff |
| **Undo** | A Git checkpoint before every turn. `/rewind` restores files, `/redo` puts them back, `/revert` fixes one file |
| **Context** | A meter in the sidebar. At 70 % it suggests `/compact`, which summarises the thread and continues in a fresh context |
| **Sessions** | Saved automatically, `/resume` or `-c`, `/fork` to branch a thread, `/search` across all of them |
| **Project memory** | `NOX.md` written by `/init`, loaded into every prompt |
| **MCP** | Servers from `~/.nox-local/config.toml` or a project `.mcp.json`, switched on one by one with `/mcp` |
| **Skills** | `SKILL.md` folders from `.nox/skills`, `~/.nox-local/skills` and `~/.claude/skills`. Ships with `find-skills`, `create-skill` and `visualize` |
| **Hooks** | Shell commands on prompt, after a tool, and at the end of a turn; optional auto-commit |
| **Background work** | The model can start a dev server, get the URL back, and keep working |
| **Headless** | `nox-local -p "…"` for scripts and CI, `--output json` for event streams |

## Quick start

### Requirements

- Linux with a Vulkan-capable GPU. 8 GB of VRAM is the tested target; smaller models run on less.
- Go 1.27+ if you build from source.
- About 3 GB of disk for the first model.

> No GPU? `llama-server` falls back to the CPU and NØX-Local runs, but expect a few tokens per second. The smallest model is the one to try.

### 1. Build llama.cpp with Vulkan

```
sudo pacman -S --needed cmake ninja vulkan-headers spirv-headers shaderc   # Arch
# Debian/Ubuntu: sudo apt install build-essential cmake ninja-build libvulkan-dev glslc

git clone --depth 1 https://github.com/ggml-org/llama.cpp ~/.nox-local/llama.cpp
cmake -S ~/.nox-local/llama.cpp -B ~/.nox-local/llama.cpp/build -G Ninja \
  -DGGML_VULKAN=ON -DCMAKE_BUILD_TYPE=Release -DLLAMA_CURL=OFF
cmake --build ~/.nox-local/llama.cpp/build --target llama-server --parallel
```

NØX-Local looks for `llama-server` in `$NOX_LLAMA_SERVER`, then `PATH`, then `~/.nox-local/llama.cpp`, then `~/.nox/llama.cpp`. If your build is somewhere else, set the variable:

```
export NOX_LLAMA_SERVER=/path/to/llama-server
```

### 2. Install NØX-Local

```
git clone https://github.com/Johnny008-creator/nox-local && cd nox-local
sh scripts/install.sh            # builds and installs to ~/.local/bin
```

Or grab the binary from [Releases](https://github.com/Johnny008-creator/nox-local/releases):

```
curl -L -o nox-local https://github.com/Johnny008-creator/nox-local/releases/latest/download/nox-local-linux-amd64
chmod +x nox-local && mv nox-local ~/.local/bin/
```

With Go 1.27+ installed, one command is enough:

```
go install github.com/Johnny008-creator/nox-local/cmd/[email protected]
```

### 3. Get a model

```
nox-local models                 # catalog with sizes, and what you already have
nox-local pull qwen3.5-4b        # 3.0 GB, resumes if the download is interrupted
```

Models are stored as plain GGUF files in `~/models` (change it with `NOX_MODELS`). Any llama.cpp-compatible GGUF works; the catalog only lists the ones measured here.

### 4. Run

```
cd ~/code/my-project
nox-local
```

Type a request. In `auto` mode the agent edits files and runs commands, and asks before anything risky. **Shift+Tab** cycles the mode, **Ctrl+O** picks another model, **Ctrl+C** twice quits.

### Check that it works

```
nox-local -p "which files are in this directory? use the Glob tool"
```

The answer should mention real files, and the output should include a tool call. If it answers from memory instead, the model is too small for tools — try the 9B.

## Models

Five models, measured on the reference machine: **AMD Radeon RX 6500 XT 8 GB** (Vulkan, RADV), Ryzen 5 5600GT, 16 GB DDR4, running **Omarchy 4.5** (Arch Linux). Settings are the ones NØX-Local uses: `--fit` placement, KV cache q8\_0, flash attention.

| Model | File | Context | Generation | Prompt | Notes |
| --- | --- | --- | --- | --- | --- |
| **Qwen3.5 4B** | 3.0 GB | 64K | **32 tok/s** | 590 t/s | The default: whole model in VRAM, follows tools well, answers fast |
| **Qwen3.5 9B** | 6.1 GB | 32K | 9 tok/s | 380 t/s | Better Czech and longer reasoning; the one for real work if you can wait |
| **Ornith 1.5 9B** | 5.2 GB | 32K | **22 tok/s** | 425 t/s | A Qwen3.5 fine-tune at IQ4\_XS; nearly the 9B's quality, twice the speed |
| **Nemotron 3.5 Bolt E4B** | 5.1 GB | 32K | 8 tok/s | 655 t/s | NVIDIA on a Gemma 4 base; fastest at reading long context, slow to write |
| **Underdog Saluki 27B** | 7.9 GB | 16K | 3 tok/s | ~5 t/s | 27B at IQ2: the smartest model that fits, and it feels like it. Way too slow for agent work on this GPU unless the prompts stay short |

All five run on an 8 GB card. Pick with `/model`; the conversation carries over and the model reloads on your next message. `-m <id>` starts on a specific one.

### Which one?

- **Default / small edits:** Qwen3.5 4B. It is the only one here that feels instant.
- **Real work, Czech, longer plans:** Ornith 1.5 9B — the best speed-to-quality ratio on this hardware.
- **Long files to read, short answer:** Nemotron Bolt E4B. Its prompt processing is the fastest of the five; generation is not.
- **A hard question where you can wait:** Saluki 27B. On this GPU it is a batch job, not a chat partner.

The numbers come from `llama-bench` (`-p 512 -n 128`, q8\_0 KV, flash attention) on that machine, except Saluki, which does not fit on the GPU alone and was measured through `llama-server --fit`. Other GPUs work; expect different numbers. Method and older measurements: [docs/BENCHMARKS.md](https://github.com/Johnny008-creator/nox-local/blob/main/docs/BENCHMARKS.md).

## Using it

Type `/` for the list, or `Ctrl+K` for the palette.

| Command |  |
| --- | --- |
| `/model` · `/effort` | pick a model · how much it may think (`low`, `medium`, `high`) |
| `/mode` | `manual`, `plan`, `auto`, `yolo` |
| `/plan` · `/go` | plan-first: the agent plans read-only, `/go` executes the approved plan |
| `/research` | deep research: rounds of searching and reading, ending in a sourced report |
| `/btw` | side question about the work in flight; the running turn is not touched |
| `/compact` · `/handoff` | summarise into a fresh context · start a new thread from a summary |
| `/diff` · `/rewind` · `/redo` · `/revert` | see every change, undo a turn, undo the undo, fix one file |
| `/todos` · `/artifacts` | the agent's task list · documents, pages, charts and diagrams it made |
| `/web` | switch WebSearch and WebFetch off so nothing leaves the machine |
| `/mcp` · `/skills` · `/memory` · `/init` | servers · skills · which `NOX.md` files are loaded · write one |
| `/resume` · `/search` · `/export` · `/fork` | sessions |
| `/doctor` | check llama-server, models and MCP |
| `/theme` · `/plain` · `/vim` · `/keys` | looks and keys |
| `/config` · `/trust` · `/hooks` | settings, project settings, hooks |

Keys worth knowing: **Shift+Tab** mode, **Ctrl+T** effort, **Ctrl+O** model, **Esc** interrupt, **Alt+Enter** queue a message for the running turn, **Ctrl+K** palette.

### Approvals

Every change that is not a plain read asks first in `manual`, and risky commands ask in `auto`. The card shows the diff or the command, and `a` allows that tool or command for the rest of the session. Protected files (`.env`, keys, `.git/`) always ask, except in `yolo`.

## How it works

A turn is a loop: the model gets a short system prompt, the project's `NOX.md`, a compact tool menu and a trimmed tool history. It answers with text and tool calls; the tools run; the results go back in.

What makes it work on small models:

- **Ten tools, short descriptions.** A 4B model follows a menu it can read in one screen.
- **Trimming over summarising.** Tool output keeps its head and tail, files are read in 300-line chunks, and old tool results are dropped before the conversation itself.
- **Plain-text recovery.** If the model prints a tool call instead of calling it, NØX-Local parses it and runs it anyway.
- **A loop guard.** A third identical call is blocked with "try a different approach" instead of burning the context.
- **Thinking budget.** `medium` and `high` effort cap the reasoning tokens (2K and 6K), so a model cannot think for eleven thousand tokens on a one-line answer.

## MCP

Small models handle a few tools well, not forty. Servers are configured but stay off until you switch them on:

```
# ~/.nox-local/config.toml
[mcp.filesystem]
command = "npx"
args = ["-y", "@modelcontextprotocol/serve
Johnny008-creat10
🟧 echo.github ⭐A coding agent that runs locally through llama.cpp, with no API key required; its repository describes support for small models and reports Johnny008-creator——

Interpretation history

Decision trace