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. Use the same engine from the CLI/TUI, desktop app, or local browser UI. 运行循环 append-only,对齐 DeepSeek 字节稳定的 prefix-cache —— 长会话缓存命中 90%+,输入 token 成本降到 约 1/5。CLI/TUI、桌面端和本地浏览器 UI 共用同一引擎。
reasonix serve.偏好包管理器? 可用 Homebrew。需要本地浏览器 UI? 运行 reasonix serve。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 的缓存替你扛下来——其余一切由此而来。
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 计费。
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。
MCP first-class
stdio, SSE, streamable HTTP. External servers merge their tools into one registry under a prefix.stdio、SSE、streamable HTTP。外部服务器的工具以前缀合并进同一 registry。
Plan mode & sandbox计划模式 + 沙箱
/plan asks the model to plan first; Permissions and the workspace sandbox still govern every tool call./plan 要求模型先规划;每次工具调用仍由权限与工作区沙箱控制。
$ /plan → plan first · permissions still apply Subagents & skills子智能体与技能
explore / research / review / security-review agents, plus Markdown skill scripts with isolated tools.explore / research / review / security-review 子智能体,加 Markdown 技能脚本与隔离工具。
Terminal or browser终端或浏览器
Use reasonix in the terminal, or run reasonix serve for a local browser UI with approvals, Goal, todos, and balance.在终端使用 reasonix,或运行 reasonix serve 打开本地浏览器 UI,包含审批、Goal、Todo 与余额。
$ reasonix serve --auth token 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.每次请求都逐字节重放完全相同的前缀,模型只计算新增部分。会话越长,每轮越便宜——而不是越贵。
Install安装
One command. macOS, Linux, Windows, and WSL.一条命令,支持 macOS、Linux、Windows 与 WSL。
npm i -g reasonix Point it at a repo指向你的仓库
Reasonix maps the codebase once, then keeps that map in the warm prefix.Reasonix 只做一次代码库测绘,然后把这份地图常驻在温热的前缀缓存里。
cd your-project && reasonix Open the web UI打开 Web UI
Keep it local, or add token/password auth before sharing a tunnel or remote port.本机使用保持默认;通过 tunnel 或远程端口分享前,先启用 token/password 认证。
reasonix serve --auth token Leave it running让它一直跑着
Queue tasks, review diffs, resume anytime. The session never goes cold.排任务、看 diff、随时恢复。会话永不冷却。
› refactor the auth flow Built in the open, with 83 contributors.开源共建,感谢 83 位贡献者。
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,成就了今天的它——谢谢你们。
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 reasonixv1.1.0 Stable 1.x · one binary · no Node · actively developed稳定 1.x · 单二进制 · 无需 Node · 主力开发中 recommended推荐 npm i -g [email protected]v0.53.2 deprecated 0.x line · no longer maintained已废弃的 0.x 线 · 不再维护 deprecated已废弃 Windows
Download · v1.1.0下载 · v1.1.0/Applications, quit Reasonix, then run:如果来自官网下载并已放入 /Applications,先退出 Reasonix,再运行: sudo xattr -rd com.apple.quarantine /Applications/Reasonix.app When to use this →查看适用场景 →