DeepSeek-native · built for your terminal · MITDeepSeek 原生 · 为终端而生 · MIT

A DeepSeek-native agent
for your terminal.
DeepSeek 原生的
终端编码 Agent。

The loop is append-only, aligned to DeepSeek's byte-stable prefix cache — so long sessions hold 90%+ cache hit and input-token cost collapses to ~1/5. Terminal-first. 运行循环 append-only,对齐 DeepSeek 字节稳定的 prefix-cache —— 长会话缓存命中 90%+,输入 token 成本降到 约 1/5。终端优先。

Also via Homebrew and desktop apps · macOS / Windows / Linux也可通过 Homebrew桌面端安装 · macOS / Windows / Linux
fig. 01 — a live session, cache still warm图 01 —— 一场实时会话,缓存依然温热
~/app — reasonix chat
reasonix v1.8.1 · deepseek-v4-flash · ~/app add retry with backoff to the http client edit internal/net/client.go +24 −3 edit internal/net/client_test.go +41 −0 run go test ./internal/net/ ok (0.21s) 2 files · cache 94.2% → 95.1%
cache 95.1% hitsession 18mmodel deepseek-v4-flashcost $0.043
Features特性

Built for long, cheap sessions.为长会话、低成本而生。

Most agents pay full price for the same growing prompt every turn. Reasonix keeps the prefix byte-identical so DeepSeek's cache does the heavy lifting — and everything else follows.多数 agent 每回合都为同一段不断增长的 prompt 付全价。Reasonix 让前缀逐字节稳定,让 DeepSeek 的缓存替你扛下来——其余一切由此而来。

01 / cache-first

Cache-first loop缓存优先循环

Append-only history aligned to DeepSeek's prefix cache. 90%+ hit on long sessions; input tokens bill at ~1/5.append-only 历史对齐 DeepSeek prefix-cache。长会话 90%+ 命中,输入 token 约 1/5 计费。

02 / single binary

Single Go binary单个 Go 二进制

CGO-free, cross-compiled for darwin/linux/windows × amd64/arm64. No Node runtime to install or babysit.无 CGO,交叉编译覆盖 darwin/linux/windows × amd64/arm64。运行不需要 Node。

03 / mcp

MCP first-class

stdio, SSE, streamable HTTP. External servers merge their tools into one registry under a prefix.stdio、SSE、streamable HTTP。外部服务器的工具以前缀合并进同一 registry。

04 / plan + sandbox

Plan mode & sandbox计划模式 + 沙箱

Writers are jailed to the workspace; /plan gates the session read-only until you approve.写工具被关进工作区;/plan 进只读门,批准前不写盘。

$ /plan → read-only until approved
05 / subagents

Subagents & skills子智能体与技能

explore / research / review / security-review agents, plus Markdown skill scripts with isolated tools.explore / research / review / security-review 子智能体,加 Markdown 技能脚本与隔离工具。

06 / terminal

Terminal-native终端原生

Not another IDE plugin. git diff handles diffs, ls handles trees — the terminal is the workspace.不是又一个 IDE 插件。diff 交给 git diff,树交给 ls —— 终端就是工作面板。

$ ssh build-box → reasonix code
How it works工作原理

Every turn reuses the last.每一轮都复用上一轮。

Each request replays the exact same byte-for-byte prefix, so the model only computes what's new. Long sessions get cheaper per turn — not more expensive.每次请求都逐字节重放完全相同的前缀,模型只计算新增部分。会话越长,每轮越便宜——而不是越贵。

01Cold start — everything is computed冷启动——全部需要计算 02The previous turn replays from cache上一轮全部从缓存重放 03Only the new request is computed只计算新增的请求 0490%+ cache hit — cheaper every turn命中 90%+——越跑越便宜
turn 1
turn 2
turn 3
turn 4
new tokens — computed新 token——需要计算 cached prefix — replayed, billed at ~1/5缓存前缀——重放,约 1/5 计费
01

Install安装

One command. macOS, Linux, Windows, and WSL.一条命令,支持 macOS、Linux、Windows 与 WSL。

npm i -g reasonix@next
02

Point it at a repo指向你的仓库

Reasonix maps the codebase once, then keeps that map in the warm prefix.Reasonix 只做一次代码库测绘,然后把这份地图常驻在温热的前缀缓存里。

cd your-project && reasonix code
03

Leave it running让它一直跑着

Queue tasks, review diffs, resume anytime. The session never goes cold.排任务、看 diff、随时恢复。会话永不冷却。

› refactor the auth flow
Community社区共建

Built in the open, with 57 contributors.开源共建,感谢 57 位贡献者。

Reasonix is MIT-licensed and developed in public. Every issue, every PR, every late-night review made it what it is — thank you.Reasonix 采用 MIT 许可,开放开发。每一个 issue、每一条 PR、每一次深夜 review,成就了今天的它——谢谢你们。

22,085 stars · 1,977 merged PRs · every avatar above is a real contributor22,085 stars · 1,977 个已合并 PR · 上面每个头像都是一位真实贡献者

Start a session that lasts.开启一场不会中断的会话。

Open source under MIT. Bring your own DeepSeek API key — your code never leaves your machine and the model.MIT 开源。使用你自己的 DeepSeek API Key——代码不会离开你的机器与模型。

$npm i -g reasonix@next
npm i -g reasonix@nextv1.8.1 Go rewrite · one binary · no Node · actively developedGo 重写 · 单二进制 · 无需 Node · 主力开发中 recommended推荐
npm i -g reasonixv0.53 deprecated 0.x line · no longer maintained已废弃的 0.x 线 · 不再维护 deprecated已废弃
macOS / Linux / Windows / WSL · the latest tag is pinned at v0.53 — always install from @next · v1.8.1 release notes →macOS / Linux / Windows / WSL · latest 标签固定在 v0.53——请始终通过 @next 安装 · v1.8.1 更新说明 →
$brew install esengine/reasonix/reasonix
v1.8.1 (Go rewrite) · macOS & Linux · update with brew upgradev1.8.1(Go 重写)· macOS 与 Linux · 通过 brew upgrade 更新

macOS

.dmg · universal (Apple Silicon & Intel) Download · v1.8.1下载 · v1.8.1

Windows

.exe installer · x64 · Windows 10+ Download · v1.8.1下载 · v1.8.1

Linux

.tar.gz · amd64 Download · v1.8.1下载 · v1.8.1
v1.8.1 · built-in auto-updates · same engine as the CLI · all releases →v1.8.1 · 内置自动更新 · 与 CLI 同一引擎 · 全部版本 →