← all repositories
esengine/DeepSeek-Reasonix

Go rewrite of a terminal agent obsessed with DeepSeek's prefix cache

It exists to minimize token costs by keeping DeepSeek's prefix cache stable across long sessions, while treating models and plugins as configuration rather than code.

27.6k stars Go Coding AssistantsAgents
DeepSeek-Reasonix
Velocity · 7d
+89
★ / day
Trend
cooling
star history

What it does Reasonix is a terminal-based AI coding agent rewritten in Go that edits files, runs shell commands, and fetches context through a bubbletea TUI. All behavior is driven by reasonix.toml: providers, built-in tools, MCP plugins, and permission rules are declared there rather than hardcoded.

The interesting bit The entire design is built around prefix-cache economics. It optionally splits work between two models—say, a cheap flash executor and a slower pro planner—running in separate cache-stable sessions so long conversations don’t repeatedly re-bill the same system context. Under the hood, providers and built-in tools self-register via Go init() functions, while external tools speak newline-delimited JSON-RPC over stdio using the MCP protocol.

Key highlights

  • Ships as a single static Go binary with no CGO; cross-compiles to six OS/arch targets
  • Native MCP client: consumes both local stdio subprocesses and remote HTTP servers, and reads existing .mcp.json files without conversion
  • Two-model collaboration: executor and planner run in separate sessions, with subagent tasks dispatchable to yet another configured model
  • Permission layers: policy-based deny/ask/allow gating for tool calls, plus a sandbox that confines file writers to workspace_root
  • Custom slash commands defined by dropping Markdown prompt templates into .reasonix/commands/

Caveats

  • Version 1.0.0 is not yet published to npm, so the prebuilt binary must be built from source for now
  • Bash sandboxing only enforces restrictions on macOS via Seatbelt; Linux and Windows currently run unconfined

Verdict Worth a look if you want a hackable, terminal-first agent with granular cost control and MCP extensibility. Skip it if you need a polished GUI or fully cross-platform sandboxing today.

Frequently asked

What is esengine/DeepSeek-Reasonix?
It exists to minimize token costs by keeping DeepSeek's prefix cache stable across long sessions, while treating models and plugins as configuration rather than code.
Is DeepSeek-Reasonix open source?
Yes — esengine/DeepSeek-Reasonix is open source, released under the MIT license.
What language is DeepSeek-Reasonix written in?
esengine/DeepSeek-Reasonix is primarily written in Go.
How popular is DeepSeek-Reasonix?
esengine/DeepSeek-Reasonix has 27.6k stars on GitHub and is currently cooling off.
Where can I find DeepSeek-Reasonix?
esengine/DeepSeek-Reasonix is on GitHub at https://github.com/esengine/DeepSeek-Reasonix.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.