| 1 | <p align="center"> |
| 2 | <img src="docs/logo.svg" alt="Reasonix" width="640"/> |
| 3 | </p> |
| 4 | |
| 5 | <p align="center"> |
| 6 | <strong>English</strong> |
| 7 | · |
| 8 | <a href="./README.zh-CN.md">简体中文</a> |
| 9 | · |
| 10 | <a href="./docs/GUIDE.md">Guide</a> |
| 11 | · |
| 12 | <a href="./docs/ACP.md">ACP</a> |
| 13 | · |
| 14 | <a href="./docs/EXTENSIONS.md">Extensions</a> |
| 15 | · |
| 16 | <a href="./docs/SPEC.md">Spec</a> |
| 17 | · |
| 18 | <a href="https://esengine.github.io/DeepSeek-Reasonix/">Website</a> |
| 19 | · |
| 20 | <strong><a href="https://discord.gg/XF78rEME2D">Discord</a></strong> |
| 21 | </p> |
| 22 | |
| 23 | <p align="center"> |
| 24 | <a href="https://www.npmjs.com/package/reasonix"><img src="https://img.shields.io/npm/v/reasonix.svg?style=flat-square&color=cb3837&labelColor=161b22&logo=npm&logoColor=white" alt="npm version"/></a> |
| 25 | <a href="https://github.com/esengine/DeepSeek-Reasonix/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/esengine/DeepSeek-Reasonix/ci.yml?style=flat-square&label=ci&labelColor=161b22&logo=githubactions&logoColor=white" alt="CI"/></a> |
| 26 | <a href="./LICENSE"><img src="https://img.shields.io/npm/l/reasonix.svg?style=flat-square&color=8b949e&labelColor=161b22" alt="license"/></a> |
| 27 | <a href="https://www.npmjs.com/package/reasonix"><img src="https://img.shields.io/npm/dm/reasonix.svg?style=flat-square&color=3fb950&labelColor=161b22&label=downloads" alt="downloads"/></a> |
| 28 | <a href="https://github.com/esengine/DeepSeek-Reasonix/stargazers"><img src="https://img.shields.io/github/stars/esengine/DeepSeek-Reasonix.svg?style=flat-square&color=dbab09&labelColor=161b22&logo=github&logoColor=white" alt="GitHub stars"/></a> |
| 29 | <a href="https://atomgit.com/esengine/DeepSeek-Reasonix"><img src="https://atomgit.com/esengine/DeepSeek-Reasonix/star/badge.svg" alt="AtomGit stars"/></a> |
| 30 | <a href="https://github.com/esengine/DeepSeek-Reasonix/graphs/contributors"><img src="https://img.shields.io/github/contributors/esengine/DeepSeek-Reasonix.svg?style=flat-square&color=bc8cff&labelColor=161b22&logo=github&logoColor=white" alt="contributors"/></a> |
| 31 | <a href="https://github.com/esengine/DeepSeek-Reasonix/discussions"><img src="https://img.shields.io/github/discussions/esengine/DeepSeek-Reasonix.svg?style=flat-square&color=58a6ff&labelColor=161b22&logo=github&logoColor=white" alt="Discussions"/></a> |
| 32 | <a href="https://discord.gg/XF78rEME2D"><img src="https://img.shields.io/badge/discord-join-5865F2.svg?style=flat-square&labelColor=161b22&logo=discord&logoColor=white" alt="Discord"/></a> |
| 33 | </p> |
| 34 | |
| 35 | <p align="center"> |
| 36 | <a href="https://trendshift.io/repositories/27020?utm_source=trendshift-badge&utm_medium=badge&utm_campaign=badge-trendshift-27020" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/trendshift/repositories/27020/monthly?language=Go" alt="esengine/DeepSeek-Reasonix | Trendshift" width="250" height="55"/></a> |
| 37 | <a href="https://trendshift.io/repositories/27020?utm_source=repository-badge&utm_medium=badge&utm_campaign=badge-repository-27020" target="_blank" rel="noopener noreferrer"><img src="https://trendshift.io/api/badge/repositories/27020" alt="esengine/DeepSeek-Reasonix | Trendshift" width="250" height="55"/></a> |
| 38 | </p> |
| 39 | |
| 40 | <br/> |
| 41 | |
| 42 | <h3 align="center">A DeepSeek-native AI coding agent for your terminal.</h3> |
| 43 | <p align="center">A config- and plugin-driven harness — a single static Go binary, tuned around DeepSeek's prefix cache so token costs stay low across long sessions.</p> |
| 44 | |
| 45 | <br/> |
| 46 | |
| 47 | > [!IMPORTANT] |
| 48 | > **Community · 加入社区** — bilingual Discord for setup help (`#help` / `#求助`), workflow showcases, and feature ideas. → **<https://discord.gg/XF78rEME2D>** |
| 49 | |
| 50 | <br/> |
| 51 | |
| 52 | ## Features |
| 53 | |
| 54 | - **Config-driven.** Providers, the agent, enabled tools, and plugins are all |
| 55 | declared in `reasonix.toml`. No hardcoded models. |
| 56 | - **Multi-model & composable.** DeepSeek ships as a preset; any |
| 57 | OpenAI-compatible endpoint is a config entry, not new code. Optionally run |
| 58 | two models together (executor + planner) in separate, cache-stable sessions. |
| 59 | - **Plugin-driven.** MCP servers contribute tools, prompts, and resources; |
| 60 | Extension Protocol v1 sidecars can also intercept runtime events, contribute |
| 61 | Providers and structured UI, and ship versioned plugin packages. |
| 62 | - **Cache-aware context maintenance.** Startup injects a small stable environment |
| 63 | summary, stale tool output is snipped/pruned before summary compaction, and the |
| 64 | built-in tool schema contract is documented for regression review. |
| 65 | - **Zero-friction distribution.** `CGO_ENABLED=0` single binary; cross-compile |
| 66 | to six targets with one command. The result is a fully self-contained static |
| 67 | binary — nothing to install on the target machine beyond the binary itself. |
| 68 | |
| 69 | ## Install |
| 70 | |
| 71 | Choose the path that matches how you want to use Reasonix. The CLI/TUI, |
| 72 | desktop app, and VS Code extension all use the same local Reasonix engine. |
| 73 | |
| 74 | ### Path A: CLI / TUI |
| 75 | |
| 76 | Install the native binary through npm on any supported platform, or use |
| 77 | Homebrew on macOS: |
| 78 | |
| 79 | ```sh |
| 80 | npm i -g reasonix # any OS; pulls the prebuilt native binary |
| 81 | brew install esengine/reasonix/reasonix # macOS |
| 82 | ``` |
| 83 | |
| 84 | Prebuilt archives (`darwin|linux|windows × amd64|arm64`) and `SHA256SUMS` are on |
| 85 | every [GitHub release](https://github.com/esengine/DeepSeek-Reasonix/releases). |
| 86 | |
| 87 | ### Path B: Desktop app |
| 88 | |
| 89 | Use the [official download page](https://reasonix.io/?download=desktop#start) |
| 90 | for the latest desktop build. |
| 91 | |
| 92 | | Platform | Package | Architecture | |
| 93 | | --- | --- | --- | |
| 94 | | macOS | Universal `.dmg` or `.zip` | Apple Silicon / Intel | |
| 95 | | Windows | Installer `.exe` or portable `.zip` | x64 / ARM64 | |
| 96 | | Linux | `.deb` or `.tar.gz` | x64 | |
| 97 | |
| 98 | Windows installers are code-signed through [SignPath.io](https://signpath.io/) |
| 99 | with a free certificate provided by the [SignPath Foundation](https://signpath.org/). |
| 100 | |
| 101 | ### Path C: VS Code extension |
| 102 | |
| 103 | Complete Path A first. The extension does not bundle the CLI; it starts your |
| 104 | local `reasonix acp` backend and adds native chat, editor context, tool-call |
| 105 | approvals, model selection, and workspace sessions. |
| 106 | |
| 107 | - **VS Code:** [install from Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=SivanLiu.reasonix-agent) |
| 108 | - **VSCodium / Eclipse Theia:** [install from Open VSX Registry](https://open-vsx.org/extension/SivanLiu/reasonix-agent) |
| 109 | - **Extension ID:** `SivanLiu.reasonix-agent` · [source and usage guide](https://github.com/SivanCola/reasonix-vscode) |
| 110 | |
| 111 | ### Path D: Build from source |
| 112 | |
| 113 | ```sh |
| 114 | git clone https://github.com/esengine/DeepSeek-Reasonix.git |
| 115 | cd DeepSeek-Reasonix |
| 116 | make build # -> bin/reasonix(.exe) |
| 117 | make cross # -> dist/ (darwin|linux|windows × amd64|arm64) |
| 118 | ``` |
| 119 | |
| 120 | ## Quick start |
| 121 | |
| 122 | ### CLI / TUI |
| 123 | |
| 124 | These commands are for the CLI/TUI installed through Path A: |
| 125 | |
| 126 | ```sh |
| 127 | reasonix setup # configure a provider and model |
| 128 | reasonix # start an interactive session |
| 129 | reasonix run "implement the TODOs in main.go" |
| 130 | ``` |
| 131 | |
| 132 | In an interactive session, run `/init` when you want Reasonix to create project |
| 133 | instructions. |
| 134 | |
| 135 | ### Desktop app |
| 136 | |
| 137 | Download the installer for your platform from the |
| 138 | [official download page](https://reasonix.io/?download=desktop#start), install |
| 139 | and launch Reasonix, then configure a provider and model in the app. The CLI |
| 140 | commands above are not required for the desktop app. |
| 141 | |
| 142 | For advanced CLI usage and configuration, see the **[CLI reference](./docs/CLI.md)**, |
| 143 | **[Guide](./docs/GUIDE.md)**, and |
| 144 | **[configuration paths](./docs/CONFIG_PATHS.md)**. |
| 145 | |
| 146 | ## Documentation |
| 147 | |
| 148 | - **Getting started:** [Guide](./docs/GUIDE.md) · [CLI reference](./docs/CLI.md) · |
| 149 | [Configuration paths](./docs/CONFIG_PATHS.md) · [ACP editor integration](./docs/ACP.md) |
| 150 | - **Features & troubleshooting:** [Subagent profiles](./docs/SUBAGENT_PROFILES.md) · |
| 151 | [Context Engine v2](./docs/SESSION_MEMORY_RETRIEVAL.md) · |
| 152 | [Capability diagnostics](./docs/CAPABILITY_DIAGNOSTICS.md) · |
| 153 | [Recovery and updates](./docs/RECOVERY.md) · [Bot guide](./docs/BOT_GUIDE.md) · |
| 154 | [Checkpoints & rewind](./docs/CHECKPOINTS.md) |
| 155 | - **Engineering & migration:** [Spec](./docs/SPEC.md) · |
| 156 | [Task contracts & pause policy](./docs/TASK_CONTRACT.md) · |
| 157 | [Tool contract](./docs/TOOL_CONTRACT.md) · [Migrating from 0.x](./docs/MIGRATING.md) |
| 158 | - **Extension development:** [Extensions](./docs/EXTENSIONS.md) · |
| 159 | [Plugin packages and Manifest v1](./docs/PLUGIN_PACKAGES.md) · |
| 160 | [Extension Protocol](./docs/EXTENSION_PROTOCOL.md) · |
| 161 | [Go SDK and starter](./sdk/go/README.md) |
| 162 | |
| 163 | ## Star History |
| 164 | |
| 165 | <a href="https://www.star-history.com/?repos=esengine%2FDeepSeek-Reasonix&type=date&legend=top-left"> |
| 166 | <picture> |
| 167 | <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/esengine/DeepSeek-Reasonix/star-history/assets/star-history/star-history-dark.svg" /> |
| 168 | <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/esengine/DeepSeek-Reasonix/star-history/assets/star-history/star-history-light.svg" /> |
| 169 | <img alt="Star History Chart" src="https://raw.githubusercontent.com/esengine/DeepSeek-Reasonix/star-history/assets/star-history/star-history-light.svg" /> |
| 170 | </picture> |
| 171 | </a> |
| 172 | |
| 173 | <br/> |
| 174 | |
| 175 | ## Acknowledgments |
| 176 | |
| 177 | A small list of folks whose work has shaped Reasonix the most — the current top |
| 178 | 20 contributors by commit count. The full contributor graph is on |
| 179 | [GitHub](https://github.com/esengine/DeepSeek-Reasonix/graphs/contributors?all=1). |
| 180 | |
| 181 | <!-- reasonix-top-contributors:start --> |
| 182 | | Contributor | Contributor | Contributor | Contributor | |
| 183 | | --- | --- | --- | --- | |
| 184 | | [**SivanCola**](https://github.com/SivanCola) | [**esengine**](https://github.com/esengine) | [**ttmouse**](https://github.com/ttmouse) | [**lifu963**](https://github.com/lifu963) | |
| 185 | | **reasonix** (anonymous) | [**HUQIANTAO**](https://github.com/HUQIANTAO) | [**GTC2080**](https://github.com/GTC2080) | [**light-front-theory**](https://github.com/light-front-theory) | |
| 186 | | **merge-order-check** (anonymous) | [**Li-Charles-One**](https://github.com/Li-Charles-One) | [**eghrhegpe**](https://github.com/eghrhegpe) | **wufengfan** (anonymous) | |
| 187 | | [**CVEngineer66**](https://github.com/CVEngineer66) | [**dependabot\[bot\]**](https://github.com/apps/dependabot) | [**lanshi17**](https://github.com/lanshi17) | [**SuMuxi66**](https://github.com/SuMuxi66) | |
| 188 | | [**CnsMaple**](https://github.com/CnsMaple) | [**cyq1017**](https://github.com/cyq1017) | [**JesonChou**](https://github.com/JesonChou) | [**XTLine**](https://github.com/XTLine) | |
| 189 | <!-- reasonix-top-contributors:end --> |
| 190 | |
| 191 | Also a separate thank-you to [**Bernardxu123**](https://github.com/Bernardxu123) |
| 192 | for designing the project logo, and to |
| 193 | [AIGC Link](https://xhslink.com/m/80ngts127cA) for promoting the project on XiaoHongShu. |
| 194 | |
| 195 | <p align="center"> |
| 196 | <a href="https://github.com/esengine/DeepSeek-Reasonix/graphs/contributors"> |
| 197 | <img src="https://contrib.rocks/image?repo=esengine/DeepSeek-Reasonix&max=100&columns=12" alt="Contributors to esengine/DeepSeek-Reasonix" width="860"/> |
| 198 | </a> |
| 199 | </p> |
| 200 | |
| 201 | <br/> |
| 202 | |
| 203 | --- |
| 204 | |
| 205 | <p align="center"> |
| 206 | <sub>MIT — see <a href="./LICENSE">LICENSE</a></sub> |
| 207 | <br/> |
| 208 | <sub>Built by the community at <a href="https://github.com/esengine/DeepSeek-Reasonix/graphs/contributors">esengine/DeepSeek-Reasonix</a></sub> |
| 209 | </p> |
| 210 | |
| 211 | --- |
| 212 | |
| 213 | <p align="center"><sub><strong>Support this project</strong></sub></p> |
| 214 | |
| 215 | If Reasonix has been useful and you'd like to say thanks, you can. It stays a |
| 216 | coffee, not a contract — donations don't buy feature priority or change how |
| 217 | issues get triaged. |
| 218 | |
| 219 | - **International** — PayPal: [paypal.me/yuhuahui](https://paypal.me/yuhuahui) |
| 220 | - **国内** — 微信支付(扫码) |
| 221 | |
| 222 | <p align="center"> |
| 223 | <img src=".github/sponsor/wechat-pay.jpg" alt="WeChat Pay QR code" width="180"/> |
| 224 | </p> |
| 225 |