DeepSeek-native · built for your terminal · MIT DeepSeek 原生 · 为终端而生 · 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 . Use the same engine from the CLI/TUI, desktop app, local browser UI, or an ACP-compatible editor. 运行循环 append-only,对齐 DeepSeek 字节稳定的 prefix-cache —— 长会话缓存命中 90%+ ,输入 token 成本降到 约 1/5 。CLI/TUI、桌面端、本地浏览器 UI 和兼容 ACP 的编辑器共用同一引擎。 Desktop app 桌面端 Visual workspace for sessions, settings, approvals, and updates. 可视化管理会话、设置、审批与自动更新。 Download desktop 下载桌面版 CLI / TUI CLI / TUI Terminal-native agent with the same local Reasonix engine. 终端原生入口,使用同一套本地 Reasonix 引擎。 $ npm i -g reasonix Native archives → 原生安装包 → fig. 01 — a live session, cache still warm 图 01 —— 一场实时会话,缓存依然温热 ~/app — reasonix ◆ reasonix latest · 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% hit session 18m model deepseek-v4-flash cost $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 计划模式 + 沙箱 /plan asks the model to plan first; Permissions and the workspace sandbox still govern every tool call. /plan 要求模型先规划;每次工具调用仍由权限与工作区沙箱控制。 $ /plan → plan first · permissions still apply 05 / subagents Subagents & skills 子智能体与技能 explore / research / review / security-review agents, plus Markdown skill scripts with isolated tools. explore / research / review / security-review 子智能体,加 Markdown 技能脚本与隔离工具。 06 / cli + web + acp Terminal, browser, or editor 终端、浏览器或编辑器 Use the full-screen TUI, run reasonix serve for a local browser UI, install the Reasonix VS Code extension , or connect another ACP-compatible editor through reasonix acp . Every surface uses the same local engine. 使用全屏 TUI、通过 reasonix serve 打开本地浏览器 UI、 安装 Reasonix VS Code 扩展 ,或通过 reasonix acp 连接其他兼容 ACP 的编辑器;所有入口都使用同一套本地引擎。 $ reasonix acp 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. 每次请求都逐字节重放完全相同的前缀,模型只计算新增部分。会话越长,每轮越便宜——而不是越贵。 01 Cold start — everything is computed 冷启动——全部需要计算 02 The previous turn replays from cache 上一轮全部从缓存重放 03 Only the new request is computed 只计算新增的请求 04 90%+ 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 02 Point it at a repo 指向你的仓库 Reasonix maps the codebase once, then keeps that map in the warm prefix. Reasonix 只做一次代码库测绘,然后把这份地图常驻在温热的前缀缓存里。 cd your-project && reasonix 03 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 04 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 98 contributors. 开源共建,感谢 98 位贡献者。 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,成就了今天的它——谢谢你们。 + Contribute on GitHub 在 GitHub 上参与贡献 Good first issues → 新手友好任务 → 29,238 stars · 2,817 merged PRs · every avatar above is a real contributor 29,238 stars · 2,817 个已合并 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——代码不会离开你的机器与模型。 Current official version latest 当前正式版本 latest macOS Universal DMG · Apple Silicon & Intel 通用 DMG · Apple Silicon 与 Intel Download Universal · latest 下载通用版 · latest Apple Silicon zip Intel zip Windows Installer · Windows 10+ · x64 / ARM64 安装器 · Windows 10+ · x64 / ARM64 Download · latest 下载 · latest ARM64 installer Portable zip Linux Debian / Ubuntu package · amd64 Debian / Ubuntu 安装包 · amd64 Download .deb · latest 下载 .deb · latest Generic tar.gz All releases 全部版本 Reasonix checks official releases automatically · release notes → · all releases → Reasonix 会自动检查正式版本 · 更新日志 → · 全部版本 → macOS opens with a quarantine warning? macOS 提示无法打开或已损坏? If the app was installed from the official download and placed in /Applications , quit Reasonix, then run: 如果来自官网下载并已放入 /Applications ,先退出 Reasonix,再运行: sudo xattr -rd com.apple.quarantine /Applications/Reasonix.app When to use this → 查看适用场景 → Current official version latest 当前正式版本 latest $ reasonix upgrade macOS Apple Silicon / Intel · tar.gz Apple Silicon · latest Apple Silicon · latest Intel tar.gz Windows Windows 10+ · x64 / ARM64 · zip Download x64 · latest 下载 x64 · latest ARM64 zip Linux amd64 / ARM64 · tar.gz Download amd64 · latest 下载 amd64 · latest ARM64 tar.gz SHA256SUMS → · release notes → · npm and Homebrew track the same official version SHA256SUMS → · 更新日志 → · npm 与 Homebrew 跟随同一正式版本 recommended 推荐 Visual Studio Marketplace For Microsoft Visual Studio Code 适用于微软 Visual Studio Code Install extension 安装扩展 Open VSX Registry For VSCodium, Eclipse Theia, and compatible editors 适用于 VSCodium、Eclipse Theia 及兼容编辑器 Install from Open VSX 从 Open VSX 安装 Extension ID SivanLiu.reasonix-agent · requires Reasonix 1.0+ installed and configured locally · the extension connects to reasonix acp and does not bundle the CLI · source code → 扩展 ID SivanLiu.reasonix-agent · 需要先在本机安装并配置 Reasonix 1.0+ · 扩展连接 reasonix acp ,不内置 CLI · 查看源码 → $ npm i -g reasonix npm i -g reasonix latest Reasonix 1.x · one binary · no Node · actively developed Reasonix 1.x · 单二进制 · 无需 Node · 主力开发中 recommended 推荐 npm i -g [email protected] v0.53.2 deprecated 0.x line · no longer maintained 已废弃的 0.x 线 · 不再维护 deprecated 已废弃 macOS / Linux / Windows / WSL · npm latest tracks the current official release · latest release notes → macOS / Linux / Windows / WSL · npm latest 指向当前正式版 · latest 更新说明 → $ brew install esengine/reasonix/reasonix latest (Go rewrite) · macOS & Linux · update with brew upgrade latest (Go 重写)· macOS 与 Linux · 通过 brew upgrade 更新
arrow_backStory search
Story index / esengine.github.io
DeepSeek reasonix, DeepSeek native coding agent with high caching and low cost
Related ongoing thread: DeepSeek makes the V4 Pro price discount permanent - https://news.ycombinator.com/item?id=48237663 - May 2026 (384 comments)
Netwrck