返回 DeepSeek-Reasonix
README.md
根目录 / README.md
1 <p align="center">
2 <img src="docs/logo-ghost-wave-effect.svg" alt="Reasonix" width="360"/>
3 </p>
4
5 <p align="center">
6 <strong>English</strong>
7 &nbsp;·&nbsp;
8 <a href="./README.zh-CN.md">简体中文</a>
9 &nbsp;·&nbsp;
10 <a href="./docs/GUIDE.md">Guide</a>
11 &nbsp;·&nbsp;
12 <a href="./docs/ACP.md">ACP</a>
13 &nbsp;·&nbsp;
14 <a href="./docs/EXTENSIONS.md">Extensions</a>
15 &nbsp;·&nbsp;
16 <a href="./docs/SPEC.md">Spec</a>
17 &nbsp;·&nbsp;
18 <a href="https://esengine.github.io/DeepSeek-Reasonix/">Website</a>
19 &nbsp;·&nbsp;
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&amp;utm_medium=badge&amp;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&amp;utm_medium=badge&amp;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 <p align="center"><strong>Open source · MIT · a single Go binary</strong></p>
43 <h3 align="center">A coding agent you can leave running.</h3>
44 <p align="center">One local engine, four ways in — terminal, desktop app, browser, or your editor over ACP. Plan mode, permissions, a workspace sandbox and per-turn checkpoints keep a long autonomous run something you can still read and undo.</p>
45
46 <div align="center">
47 <video src="https://github.com/user-attachments/assets/ab2f3878-e224-4931-8254-060e7695cfb9" controls preload="metadata" width="560"></video>
48 </div>
49
50 <br/>
51
52 > [!IMPORTANT]
53 > **Community · 加入社区** — bilingual Discord for setup help (`#help` / `#求助`), workflow showcases, and feature ideas. → **<https://discord.gg/XF78rEME2D>**
54
55 <br/>
56
57 ## Features
58
59 - **Config-driven.** Providers, the agent, enabled tools, and plugins are all
60 declared in `reasonix.toml`. No hardcoded models.
61 - **Multi-model & composable.** DeepSeek ships as a preset; any
62 OpenAI-compatible endpoint is a config entry, not new code. Optionally run
63 two models together (executor + planner) in separate, cache-stable sessions.
64 - **Plugin-driven.** MCP servers contribute tools, prompts, and resources;
65 Extension Protocol v1 sidecars can also intercept runtime events, contribute
66 Providers and structured UI, and ship versioned plugin packages.
67 - **Cache-aware context maintenance.** Startup injects a small stable environment
68 summary, stale tool output is snipped/pruned before summary compaction, and the
69 built-in tool schema contract is documented for regression review.
70 - **Zero-friction distribution.** `CGO_ENABLED=0` single binary; cross-compile
71 to six targets with one command. The result is a fully self-contained static
72 binary — nothing to install on the target machine beyond the binary itself.
73
74 ## Install
75
76 Choose the path that matches how you want to use Reasonix. The CLI/TUI,
77 desktop app, and VS Code extension all use the same local Reasonix engine.
78
79 ### Path A: CLI / TUI
80
81 Install the native binary through npm on any supported platform, or use
82 Homebrew on macOS:
83
84 ```sh
85 npm i -g reasonix # any OS; pulls the prebuilt native binary
86 brew install esengine/reasonix/reasonix # macOS
87 ```
88
89 Prebuilt archives (`darwin|linux|windows × amd64|arm64`) and `SHA256SUMS` are on
90 every [GitHub release](https://github.com/esengine/DeepSeek-Reasonix/releases).
91
92 ### Path B: Desktop app
93
94 Use the [official download page](https://reasonix.io/?download=desktop#start)
95 for the latest desktop build.
96
97 | Platform | Package | Architecture |
98 | --- | --- | --- |
99 | macOS | Universal `.dmg` or `.zip` | Apple Silicon / Intel |
100 | Windows | Installer `.exe` or portable `.zip` | x64 / ARM64 |
101 | Linux | `.deb` or `.tar.gz` | x64 |
102
103 Windows installers are code-signed through [SignPath.io](https://signpath.io/)
104 with a free certificate provided by the [SignPath Foundation](https://signpath.org/).
105
106 ### Path C: VS Code extension
107
108 Complete Path A first. The extension does not bundle the CLI; it starts your
109 local `reasonix acp` backend and adds native chat, editor context, tool-call
110 approvals, model selection, and workspace sessions.
111
112 - **VS Code:** [install from Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=SivanLiu.reasonix-agent)
113 - **VSCodium / Eclipse Theia:** [install from Open VSX Registry](https://open-vsx.org/extension/SivanLiu/reasonix-agent)
114 - **Extension ID:** `SivanLiu.reasonix-agent` · [source and usage guide](https://github.com/SivanCola/reasonix-vscode)
115
116 ### Path D: Build from source
117
118 Clone the repository first:
119
120 ```sh
121 git clone https://github.com/esengine/DeepSeek-Reasonix.git
122 cd DeepSeek-Reasonix
123 ```
124
125 #### CLI
126
127 The CLI build requires **Go 1.26+**. The module pins a `toolchain` directive;
128 keep `GOTOOLCHAIN=auto` so Go downloads the pinned toolchain, or install it.
129
130 ```sh
131 make build # -> bin/reasonix(.exe)
132 make cross # -> dist/ (darwin|linux|windows × amd64|arm64)
133 ```
134
135 #### Desktop
136
137 The desktop build additionally requires **Node 24+ and pnpm 10**
138 (`npm install -g pnpm@10`) for the frontend and the Electron shell:
139
140 ```sh
141 scripts/desktop-build.sh darwin/arm64 v0.0.0-dev # one platform per run
142 ```
143
144 No platform webview dependencies are needed — the shell ships its own
145 Chromium. See the [desktop build guide](desktop/README.md#prerequisites).
146
147 ## Quick start
148
149 ### CLI / TUI
150
151 These commands are for the CLI/TUI installed through Path A:
152
153 ```sh
154 reasonix setup # configure a provider and model
155 reasonix # start an interactive session
156 reasonix run "implement the TODOs in main.go"
157 ```
158
159 In an interactive session, run `/init` when you want Reasonix to create project
160 instructions.
161
162 ### Desktop app
163
164 Download the installer for your platform from the
165 [official download page](https://reasonix.io/?download=desktop#start), install
166 and launch Reasonix, then configure a provider and model in the app. The CLI
167 commands above are not required for the desktop app.
168
169 For advanced CLI usage and configuration, see the **[CLI reference](./docs/CLI.md)**,
170 **[Guide](./docs/GUIDE.md)**, and
171 **[configuration paths](./docs/CONFIG_PATHS.md)**.
172
173 ## Documentation
174
175 - **Getting started:** [Guide](./docs/GUIDE.md) · [CLI reference](./docs/CLI.md) ·
176 [Configuration paths](./docs/CONFIG_PATHS.md) · [ACP editor integration](./docs/ACP.md)
177 - **Features & troubleshooting:** [Subagent profiles](./docs/SUBAGENT_PROFILES.md) ·
178 [Context Engine v2](./docs/SESSION_MEMORY_RETRIEVAL.md) ·
179 [File deliverables and the `present` tool](./docs/PRESENT_TOOL.md) ·
180 [Capability diagnostics](./docs/CAPABILITY_DIAGNOSTICS.md) ·
181 [Recovery and updates](./docs/RECOVERY.md) · [Bot guide](./docs/BOT_GUIDE.md) ·
182 [Checkpoints & rewind](./docs/CHECKPOINTS.md)
183 - **Engineering & migration:** [Spec](./docs/SPEC.md) ·
184 [Task contracts & pause policy](./docs/TASK_CONTRACT.md) ·
185 [Tool contract](./docs/TOOL_CONTRACT.md) · [Migrating from 0.x](./docs/MIGRATING.md)
186 - **Extension development:** [Extensions](./docs/EXTENSIONS.md) ·
187 [Plugin packages and Manifest v1](./docs/PLUGIN_PACKAGES.md) ·
188 [Extension Protocol](./docs/EXTENSION_PROTOCOL.md) ·
189 [Go SDK and starter](./sdk/go/README.md)
190
191 ## Star History
192
193 <a href="https://www.star-history.com/?repos=esengine%2FDeepSeek-Reasonix&type=date&legend=top-left">
194 <picture>
195 <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/esengine/DeepSeek-Reasonix/star-history/assets/star-history/star-history-dark.svg" />
196 <source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/esengine/DeepSeek-Reasonix/star-history/assets/star-history/star-history-light.svg" />
197 <img alt="Star History Chart" src="https://raw.githubusercontent.com/esengine/DeepSeek-Reasonix/star-history/assets/star-history/star-history-light.svg" />
198 </picture>
199 </a>
200
201 <br/>
202
203 ## Acknowledgments
204
205 A small list of folks whose work has shaped Reasonix the most — the current top
206 20 contributors by commit count. The full contributor graph is on
207 [GitHub](https://github.com/esengine/DeepSeek-Reasonix/graphs/contributors?all=1).
208
209 <!-- reasonix-top-contributors:start -->
210 | Contributor | Contributor | Contributor | Contributor |
211 | --- | --- | --- | --- |
212 | [**SivanCola**](https://github.com/SivanCola) | [**esengine**](https://github.com/esengine) | [**ttmouse**](https://github.com/ttmouse) | [**lifu963**](https://github.com/lifu963) |
213 | **reasonix** | [**HUQIANTAO**](https://github.com/HUQIANTAO) | [**GTC2080**](https://github.com/GTC2080) | [**light-front-theory**](https://github.com/light-front-theory) |
214 | **merge-order-check** | [**Li-Charles-One**](https://github.com/Li-Charles-One) | [**eghrhegpe**](https://github.com/eghrhegpe) | **wufengfan** |
215 | [**CVEngineer66**](https://github.com/CVEngineer66) | [**dependabot\[bot\]**](https://github.com/apps/dependabot) | [**lanshi17**](https://github.com/lanshi17) | [**SuMuxi66**](https://github.com/SuMuxi66) |
216 | [**CnsMaple**](https://github.com/CnsMaple) | [**cyq1017**](https://github.com/cyq1017) | [**JesonChou**](https://github.com/JesonChou) | [**XTLine**](https://github.com/XTLine) |
217 <!-- reasonix-top-contributors:end -->
218
219 Special thanks to [**Bernardxu123**](https://github.com/Bernardxu123) for designing the project logo and intro video.
220
221 <p align="center">
222 <a href="https://github.com/esengine/DeepSeek-Reasonix/graphs/contributors">
223 <img src="https://contrib.rocks/image?repo=esengine/DeepSeek-Reasonix&max=100&columns=12" alt="Contributors to esengine/DeepSeek-Reasonix" width="860"/>
224 </a>
225 </p>
226
227 <br/>
228
229 ---
230
231 <p align="center">
232 <sub>MIT — see <a href="./LICENSE">LICENSE</a></sub>
233 <br/>
234 <sub>Built by the community at <a href="https://github.com/esengine/DeepSeek-Reasonix/graphs/contributors">esengine/DeepSeek-Reasonix</a></sub>
235 </p>
236
237 ---
238
239 <p align="center"><sub><strong>Support this project</strong></sub></p>
240
241 If Reasonix has been useful and you'd like to say thanks, you can. It stays a
242 coffee, not a contract — donations don't buy feature priority or change how
243 issues get triaged.
244
245 - **International** — PayPal: [paypal.me/yuhuahui](https://paypal.me/yuhuahui)
246 - **国内** — 微信支付(扫码)
247
248 <p align="center">
249 <img src=".github/sponsor/wechat-pay.jpg" alt="WeChat Pay QR code" width="180"/>
250 </p>
251
251 lines MARKDOWN