Model or dataset
esengine/DeepSeek-Reasonix avatar
esengine/DeepSeek-Reasonix

DeepSeek-Reasonix: A Terminal Coding Agent Built Around Cache Stability

DeepSeek-native AI coding agent for your terminal. Engineered around prefix-cache stability, leave it running.

35,557 stars2,400 forksGoMIT

At a glance

What is it?
DeepSeek-Reasonix is an open-source, MIT-licensed coding agent that runs as a single Go binary and focuses on keeping long autonomous sessions readable and undoable through prefix-cache stability and per-turn checkpoints.
Who is it for?
Adopt DeepSeek-Reasonix if you work with DeepSeek or any OpenAI-compatible endpoint, need a long-running autonomous agent you can still audit, and prefer a config-driven, plugin-extensible tool. Skip it if you require a fully managed cloud service, need guaranteed multi-agent orchestration beyond the executor-planner pair, or cannot tolerate the complexity of maintaining a local Go toolchain and optional desktop build.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository received new commits within the last day.
What is it written in?
Mainly Go, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

What Problem This Solves

DeepSeek-Reasonix targets a specific pain: long-running autonomous coding agents that lose context, burn tokens, and produce changes you cannot trace. The README frames it as 'a coding agent you can leave running.' That promise depends on two mechanisms: prefix-cache stability and per-turn checkpoints. For developers who use DeepSeek or any OpenAI-compatible model, the agent aims to keep a session alive for hours without the context window collapsing into a garbled summary. The intended user is a solo developer or small team that wants an AI pair programmer in the terminal, not a cloud-hosted service. The project explicitly supports four entry points: CLI/TUI, desktop app, browser, and editor via ACP. All share the same local engine, which is a single Go binary. This is not a SaaS wrapper; it is a local tool that talks directly to model endpoints.

The Cache-Aware Context Mechanism

The central design choice is 'cache-aware context maintenance.' The README describes three concrete tactics. First, startup injects a small stable environment summary, so the beginning of the prompt stays consistent across turns. That consistency is what lets a provider's prefix cache hit on repeated calls. Second, stale tool output is snipped or pruned before summary compaction, meaning the agent does not let old command results bloat the context. Third, the built-in tool schema contract is documented for regression review, so changes to tool definitions do not silently break the cache. This is a deliberate trade-off: the agent prioritizes a stable prefix over always including the latest raw output. The documentation does not quantify how much cost this saves, but the mechanism is plausible for providers that charge per token and offer prefix caching. If your endpoint does not support prefix caching, this entire design loses its main benefit.

Configuration and Multi-Model Setup

Reasonix is config-driven. Providers, the agent, enabled tools, and plugins are all declared in a `reasonix.toml` file. There are no hardcoded models. DeepSeek ships as a preset, but any OpenAI-compatible endpoint becomes a config entry. The README highlights a composable option: run two models together, an executor and a planner, in separate cache-stable sessions. That separation is interesting because it isolates the planner's long-term reasoning from the executor's short-term tool calls. The configuration path is not fully documented in the README; it points to `docs/CONFIG_PATHS.md` and `docs/CLI.md` for details. The key takeaway is that you do not modify code to add a model. You edit a TOML file. That lowers the barrier for teams that already use an OpenAI-compatible gateway, but it also means you must understand the config schema before you can trust the agent's behavior.

Installation and Build Paths

The README offers four installation paths. The simplest is npm: `npm i -g reasonix` pulls a prebuilt native binary for any supported OS. macOS users can also use Homebrew with `brew install esengine/reasonix/reasonix`. Prebuilt archives for darwin, linux, and windows across amd64 and arm64 are attached to each GitHub release, with SHA256SUMS. The desktop app is a separate download from reasonix.io, with installers for macOS, Windows, and Linux. The VS Code extension does not bundle the CLI; it starts your local `reasonix acp` backend. Building from source requires Go 1.25+ and a pinned toolchain directive. The `make build` command produces `bin/reasonix`. Cross-compiling to six targets uses `make cross`. The desktop build adds Node 24+, pnpm 10, and Wails CLI. The project emphasizes a `CGO_ENABLED=0` static binary, so deployment is just copying one file. That is a real advantage for teams that avoid runtime dependencies.

Running the Agent and First Session

The quick start is straightforward. After installation, run `reasonix setup` to configure a provider and model, then `reasonix` starts an interactive session. For a non-interactive task, `reasonix run "implement the TODOs in main.go"` executes a single instruction. Inside an interactive session, `/init` tells Reasonix to create project instructions. The desktop app skips the CLI entirely; you configure the provider in the app. The README does not show the actual `reasonix.toml` contents, so a new user must consult the CLI reference and guide. The ACP (Agent Client Protocol) integration is documented separately, and it is how the VS Code extension talks to the local engine. The existence of a plan mode, permissions, a workspace sandbox, and per-turn checkpoints suggests a safety layer, but the README does not specify how permissions are granted or how checkpoints are restored. That gap is worth investigating before relying on the agent for destructive operations.

Plugin System and Extension Protocol

Reasonix is plugin-driven. MCP servers contribute tools, prompts, and resources. Beyond MCP, the project defines an Extension Protocol v1 that allows sidecars to intercept runtime events, contribute Providers, and ship versioned plugin packages. This is a broader extension surface than many coding agents offer. The README lists `docs/EXTENSIONS.md` and `docs/ACP.md` as references. The sidecar model means you can build a plugin that watches every tool call and injects custom UI, which is rare in terminal agents. However, this flexibility comes with a cost: the extension protocol is v1, so breaking changes are possible. The README does not provide examples or a tutorial, so the learning curve is steep. For a team that only needs basic code completion, this plugin system is overkill. For a team that wants to integrate internal tools or custom model routing, it is a genuine differentiator.

Limitations and When It Is the Wrong Tool

The most obvious limitation is the dependency on prefix caching. If your model provider does not implement prefix caching, the cache-aware context maintenance gives you no cost benefit, and the stable-prefix approach may even discard useful context. The README does not name which providers support this, so you must verify with your endpoint. Another limitation is the requirement for Go 1.25+ when building from source, which may be newer than some team's toolchain. The desktop build adds Node and Wails dependencies, which complicates the supposedly simple binary story. The README does not describe failure modes for long runs, such as what happens when a checkpoint restore fails or when the context exceeds the model's limit. There is no mention of offline operation, so the agent likely requires network access to the model endpoint. If you need a fully autonomous agent that runs on a locked-down machine without external calls, this is not it.

Alternative Approaches

A common alternative is a cloud-hosted coding agent like GitHub Copilot Workspace or a managed service that abstracts away local configuration. Those tools handle context and checkpoints server-side, so you do not manage a TOML file or a local binary. The difference in approach is centralization: Reasonix keeps everything local and config-driven, giving you control over the model endpoint and the plugin surface. Another alternative is a simpler terminal agent like Aider, which also runs locally but does not emphasize prefix-cache stability or a plugin protocol. Aider focuses on git integration and direct file edits, while Reasonix positions itself as a long-running autonomous agent with checkpoints. The trade-off is that Reasonix's advanced features require more setup and a deeper understanding of its configuration. If you want a quick, opinionated assistant, a simpler tool may be better. If you want a customizable, cache-conscious agent, Reasonix is the more deliberate choice.

Maintenance, License, and Upgrade Path

The project is MIT-licensed, which means you can use, modify, and redistribute it with minimal restrictions. The repository shows active development: three releases within two days, with v1.33.0 being the latest. That frequency suggests a fast-moving project, but also means you should expect frequent updates. The README does not document a migration guide between versions, so upgrading may involve checking release notes. The npm package name `reasonix` is the distribution channel for the CLI, and the VS Code extension is published separately. The desktop app is a separate build. This modularity means you can update the CLI without touching the extension, but you must track three artifacts if you use all four entry points. The build system uses a pinned toolchain directive in Go, which helps reproducibility. For a production team, the MIT license is permissive, but you still need to audit the codebase yourself, especially the plugin system, since third-party MCP servers and sidecars can execute arbitrary code.

Editorial conclusion

Adopt DeepSeek-Reasonix if you work with DeepSeek or any OpenAI-compatible endpoint, need a long-running autonomous agent you can still audit, and prefer a config-driven, plugin-extensible tool. Skip it if you require a fully managed cloud service, need guaranteed multi-agent orchestration beyond the executor-planner pair, or cannot tolerate the complexity of maintaining a local Go toolchain and optional desktop build. Before adopting, verify that your provider supports prefix caching as documented, review the ACP and Extension Protocol v1 specs for your editor integration, and confirm the Go 1.25+ toolchain requirement matches your build environment. The project's cache-aware design is its core differentiator, but it only pays off if you actually leave the agent running.

Official sources

  1. Official documentation
  2. Official README
  3. Project repository
  4. Release notes
Community notes

Community notes