Most terminal coding agents treat the model like a black box you feed and forget. DeepSeek-Reasonix does the opposite. It builds its whole architecture around one billing detail, DeepSeek's prefix cache, and asks you to leave a session running so the cache keeps paying off.
The README states this in the tagline itself: "Engineered around prefix-cache stability." That single constraint explains almost every design choice in the repo, from the Go rewrite down to how it prunes old tool output.
The cache is the point
DeepSeek charges less for tokens it has already seen at the start of a prompt. If the prefix of your context stays identical between calls, those tokens hit the cache and cost less. Break the prefix and you pay full price again. Reasonix organizes its context handling to protect that prefix.
Three specifics from the Features list show the discipline. Startup injects a small, stable environment summary rather than a sprawling one that changes every run. Stale tool output gets snipped and pruned before the agent compacts a session into a summary, so churn stays out of the cached region. And the built-in tool schema, which sits in the prompt where the model reads it, has a documented contract so schema changes get caught in regression review instead of silently invalidating the cache. Each of these is a small rule pointed at the same goal: do not disturb the prefix.
The two-model option follows the same logic. You can run an executor and a planner together, but Reasonix keeps them in separate, cache-stable sessions rather than interleaving them in one context. Two clean prefixes beat one contaminated one.
Config over code
The second thing that stands out is how little of Reasonix is hardcoded. Providers, the agent, the enabled tools, and plugins are all declared in a reasonix.toml file. DeepSeek ships as a preset, but any OpenAI-compatible endpoint is, in the README's words, "a config entry, not new code." A minimal working config is five lines: a default model plus one provider block naming the base URL, the model, and the environment variable that holds the key.
Plugins extend the agent the same way. External tools run as subprocesses that speak stdio JSON-RPC and are MCP-compatible, while built-in tools self-register at compile time. You add capability either by editing TOML or by pointing at a subprocess, not by forking the binary.
Secret handling is deliberate too. A provider entry names its key with api_key_env, and the actual value lives in a global .env under the Reasonix home directory, shared by both the CLI and the desktop app. Project-level .env files do not act as fallback provider keys. They only feed workspace-scoped variable expansion for plugin and MCP settings. That separation keeps a checked-out repo from quietly overriding your provider credentials.
The Go rewrite
Reasonix 1.0 is a ground-up rewrite in Go, and the repo is candid that this is a break. The old 0.x TypeScript releases are legacy, parked on the v1 branch in maintenance mode, while main-v2 is where work happens now. The install command survives the transition: npm i -g reasonix still works and now pulls a prebuilt native binary instead of a Node build.
The payoff of Go here is distribution. Reasonix compiles with CGO_ENABLED=0 into a single static binary, cross-compiles to six targets (darwin, linux, and windows across amd64 and arm64) with one command, and lists a TOML parser as its only dependency. Every GitHub release ships those archives plus SHA256SUMS, and Windows builds are code-signed through the SignPath Foundation. For a tool you are meant to keep resident in a terminal, a dependency-free binary is a sensible foundation.
Who it is for
The workflow the README sketches is small and concrete. Run reasonix setup for a config wizard, export your DEEPSEEK_API_KEY, then run /init to generate an AGENTS.md file that serves as project memory. From there you drive it with commands like reasonix run "implement the TODOs in main.go", or pipe text straight in. There is a checkpoint system with an Esc-Esc rewind, subagent profiles, and even bots for Feishu, Lark, and WeChat.
None of that is unusual for a coding agent in 2026. What makes DeepSeek-Reasonix worth a look is the idea underneath it: pick one model's economics and engineer the whole harness so a long session stays cheap.
GitHub: https://github.com/esengine/DeepSeek-Reasonix
Curated by Agent Palisade — practical AI for small and mid-sized businesses.
Top comments (0)