Reasonix is a free, open-source AI coding agent for working in repositories on your computer. It reads project files, edits code, and runs commands and tests as it works through a development task.
You can follow its work in the terminal or Reasonix Studio, inspect the changes, and control which operations require approval. Reasonix has built-in DeepSeek model presets and connects to other hosted APIs or local model servers. Browser and editor integrations let you work from the environment you already use.
Features
- Reads repository files, edits code, and runs commands and tests during a coding session.
- Works through the terminal, Reasonix Studio, a local browser UI, and supported editors.
- Uses DeepSeek presets, OpenRouter, other configured model APIs, and local model servers.
- Shows plans, diffs, and tool activity, with permissions for file and command access.
- Creates checkpoints so you can rewind files changed by the agent.
- Runs defined tasks from scripts and delegates work to subagents.
- Manages long sessions with context compaction and cache-aware requests.
- Adds project instructions, reusable skills, MCP tools, hooks, and plugins.
- Lets Studio users inspect webpage elements and save selected text or style edits to local web files.
How Reasonix Works on a Codebase
Reasonix works inside a project folder you open. A request such as “fix the timeout test in the HTTP client” gives the agent a specific starting point. It examines the repository, reads the relevant code and test output, makes changes using its file tools, and can run the test command to check the result. You can interrupt the task or give it further instructions after reviewing the patch.
For more involved changes, Plan mode lets you review the intended steps before the agent edits files. Reasonix records checkpoints for changes made through its editing tools, so you can restore an earlier state with /rewind.
Long coding sessions accumulate test output, tool results, and older messages. Reasonix trims oversized tool output, compacts earlier context, and preserves stable prompt prefixes where the configured model provider supports caching.
Reasonix CLI, Desktop App, Browser, and VS Code
Studio gives you a workspace for project files, approvals, running tasks, and browser previews. The terminal UI handles interactive coding sessions, and reasonix run lets you automate defined tasks from a shell script.
| Where You Use It | Typical Work |
|---|---|
| Reasonix CLI / TUI | Inspect code, discuss changes, approve edits, review diffs, and follow test results in the terminal. |
reasonix run | Run a defined repository task from a script, with text or structured output. |
| Reasonix Studio | Open projects, review agent activity, and preview web pages. The built-in browser can edit selected text and styles in local workspace files. |
reasonix web | Open a browser UI for an agent running on your computer. |
reasonix serve | Host an authenticated agent service for remote clients or supervised deployments. |
| VS Code extension | Work from the editor chat with file context and tool approvals. Currently requires the 1.x CLI. |
reasonix acp | Connect the local agent to Zed, Eclipse Theia, or another ACP editor. |
| Web Studio | Return to an existing desktop session from another browser or phone after signing in. |
DeepSeek Reasonix vs Claude Code
Reasonix and Claude Code both inspect repositories, edit files, execute commands, and work with MCP tools. Reasonix runs locally under the MIT License and accepts multiple model providers. Claude Code is Anthropic’s proprietary coding agent, with access through its plans and API billing.
| Reasonix | Claude Code |
|---|---|
| Source: MIT-licensed Go project. | Source: Proprietary Anthropic product. |
| Models: DeepSeek presets plus configurable compatible providers. | Models: Claude models through Anthropic accounts, API billing, and enterprise access. |
| Payment: Free project; model inference is billed by the configured provider. | Payment: Claude plans, API billing, or enterprise access. |
| Ways to use: TUI, desktop app, browser, VS Code, and ACP hosts. | Ways to use: Terminal, IDE integrations, web, desktop, and Anthropic services. |
| Long sessions: Cache-aware context maintenance for DeepSeek provider prefixes. | Long sessions: Claude Code context management through Anthropic’s product stack. |
| Operating tradeoff: More provider choice and local control, with more configuration to manage. | Operating tradeoff: Tighter Anthropic integration with commercial pricing and support. |
How to Install and Use Reasonix
Install Studio or the CLI
For a desktop setup, download Reasonix Studio from GitHub Releases and open your project folder. Studio is where the newer development line is being built. The stable CLI is maintained on the 1.x line and can be installed with npm or Homebrew. The release downloads also include CLI archives for the newer line.
npm i -g reasonix
brew install esengine/reasonix/reasonixConnect a model and open a project
Studio prompts you for a model provider and API key. In the terminal, reasonix setup opens the provider manager. DeepSeek presets are ready to configure, and other providers can be added through their endpoints. API credentials are saved in the Reasonix home directory’s .env file.
reasonix setupStart the CLI from the repository you want to work on. Describe a change with an observable result, such as fixing a particular failing test or implementing an existing TODO. Reasonix will use the files and commands available in that project.
cd /path/to/your-project
reasonixReview and apply the changes
Reasonix asks you to trust a project folder before it can write files or execute commands there. In the terminal, Shift+Tab switches between permission modes. Ask requests approval for operations, Plan presents the intended work first, and Auto runs actions permitted by the configured rules. YOLO grants the agent greater freedom. The selected mode and sandbox configuration determine what it can do unattended.
As the agent works, inspect its edits and test output. If the result needs another pass, give it a follow-up instruction in the same session. /rewind can restore files previously changed through Reasonix editing tools.
Use it in scripts, browsers, and editors
For a task that should run and exit, use reasonix run. The CLI also accepts a prompt with -p and can produce JSON output for another program to consume.
reasonix run "implement the TODOs in main.go"
reasonix -p "summarize this repository" --output-format jsonThe local browser UI starts with reasonix web. Use reasonix serve for authenticated service access, or connect an ACP-capable editor through reasonix acp. Studio also has an authenticated Web Studio connection for reopening desktop sessions from another browser or phone.
reasonix web
reasonix serveStudio has a built-in browser for inspecting a local web page alongside the agent. Select an element to see its text, selector, and colors, then edit its text, text color, background, or font size. When Studio can match the selected element to the workspace source file, it saves the modification there.
Check your setup and install updates
If a skill, hook, command, or MCP server is missing from a session, inspect the loaded capabilities with the diagnostic command below. The --live option is available when you explicitly want the check to start configured third-party MCP servers.
reasonix doctor capabilities
reasonix doctor capabilities --jsonThe stable CLI has its own updater. Studio handles updates through supported installation packages, with manual downloads required for RPM and AppImage builds.
reasonix upgrade --check
reasonix upgradeModels and Provider Setup
Reasonix uses the model endpoint you configure. DeepSeek presets are a natural starting point, but you can select OpenRouter, OpenCode Go, Anthropic-compatible services, OpenAI-compatible APIs, or a local endpoint. The model and server determine which reasoning, image, and tool-calling functions the agent can use.
| Provider | How Reasonix Uses It |
|---|---|
| DeepSeek | Built-in presets for coding tasks, with context management and cache-aware requests. |
| OpenRouter | Connect through an OpenAI-compatible endpoint and select an available model. |
| OpenCode Go | Use the configured provider preset and its compatible API endpoints. |
| Kimi, GLM / Z.AI, and MiniMax | Use compatible endpoints with provider-specific reasoning controls where available. |
| Other cloud or local models | Configure a compatible OpenAI or Anthropic API endpoint. Tool calling and image input depend on the model server. |
Long sessions and DeepSeek caching
On a large repository task, the cost of repeatedly sending earlier context can grow quickly. Reasonix tries to maintain cacheable prompt prefixes and compacts old context as the session develops. A historical cache case study recorded 435 million cache-hit input tokens in one day with a 99.82% hit rate. At the prices used in that test, the reported cost was $1.38 against an estimated $61.06 without cache hits.
Use Cases
- Investigate a failing test by following its code path, changing the affected files, and rerunning the test.
- Implement a feature that touches multiple modules, using a reviewed plan and test results to guide the edits.
- Explore an unfamiliar repository by asking the agent to trace how a function or request is handled.
- Run a defined cleanup or coding task from a script with
reasonix run. - Open a local webpage in Studio, inspect an element, and save a targeted text or style change to the source file.
- Work on a longer coding objective with project instructions, reusable skills, and delegated tasks.
Skills, Plugins, MCP, and Project Instructions
Give Reasonix your project rules
Project instructions tell Reasonix how your repository is organized and which commands or conventions to follow. Use /init to create REASONIX.md, or keep instructions in an existing AGENTS.md. For example, the file can identify the test command, important directories, and requirements for editing generated code.
Read More: AGENTS.md Guide: Format, Examples & Coding Agent Support
Skills hold reusable instructions for recurring work. Project skills live in .reasonix/skills/ and appear in /skills. A project-specific review skill can specify which checks to run before editing a pull request.
Read More: Most Popular Agent Skills on GitHub for Coding Agents
Connect external tools with MCP and plugins
MCP servers give the agent access to tools and resources outside its built-in file and shell operations. You can configure servers in Reasonix settings or declare them through .mcp.json in the project. Studio requests approval for executable MCP integrations and checks changes to approved tool definitions.
Plugins can package skills, commands, agents, hooks, and MCP connections. Studio’s community marketplace lets you browse and install packages, and Extension Protocol sidecars can contribute providers, tools, and runtime interceptors. After changing the configuration, /reload refreshes the loaded capabilities during a CLI session.
Read More: 10 Best MCP Servers for Web Developers
Delegate work and reuse coding actions
Reasonix can assign bounded parts of a larger task to subagents. In the newer Studio architecture, spawn_agents can launch up to eight parallel agents to read files, edit code, or run commands under their permissions. Subagents in Plan mode operate read-only. For a multi-module change, you could assign one subagent to inspect failing tests and another to examine the relevant implementation.
Custom slash commands and hooks run predefined actions during a session or around a tool call.
Permissions and Sandbox Boundaries
Reasonix checks its permission rules before changing files or running commands. You can require approval, review the plan, and restrict the workspace that the agent can access. An unattended task stops at an operation that needs interactive approval.
Filesystem permissions are evaluated after resolving symlinks and paths containing ... Writes normally stay within [sandbox] workspace_root, with allow_write for additional destinations and forbid_read for private locations such as ${HOME}/.ssh. The stable CLI uses Seatbelt on macOS and bubblewrap on Linux for shell isolation.
Studio can pass messages between sessions on the same computer. With cross-session dispatch enabled by default, those messages reach the model without an approval card. Turn off dispatch under Settings → Messages between sessions if you prefer to review them first.
Free Access, Privacy, and Limits
Reasonix is MIT-licensed and free to install or modify. If you use a hosted model, inference charges come from that provider. Running a model locally requires a local server that exposes an API Reasonix can use.
Read More: AI LLM API Pricing: GPT, Gemini, Claude, DeekSeek & More
The agent runs on your computer, but the selected model endpoint receives prompts and code included in its context. The optional CLI telemetry sends an anonymous daily installation ping and reliability counters, excluding prompts, responses, credentials, and repository paths. To disable it and clear queued counters, run reasonix config telemetry off.
Pros
- Open-source agent with your choice of hosted or local model endpoints.
- Terminal, desktop, browser, and editor access for repository tasks.
- Approval controls, file checkpoints, and DeepSeek cache-aware context handling.
- Project instructions, MCP tools, plugins, and delegated coding work.
Cons
- Provider setup and permissions require more hands-on configuration than an integrated coding service.
- Shell isolation and editor support differ by operating system and installation line.
Quick Reference
For occasional terminal work, reasonix and reasonix setup are enough to begin. The commands and configuration paths below are available for scripted tasks, session management, and troubleshooting.
Core Commands
| Command | Purpose |
|---|---|
npm i -g reasonix | Install the stable Reasonix 1.x CLI through npm. |
reasonix setup | Configure providers, models, and credentials. |
reasonix | Open the interactive terminal UI in a repository. |
reasonix --permission-mode plan | Start with the plan-first permission mode. |
reasonix run "task" | Run a one-shot repository task. |
reasonix -p "task" | Print the final result for one-shot use or automation. |
reasonix web | Open the local browser UI with generated token authentication. |
reasonix serve | Start the Web server for remote or supervised use. |
reasonix acp | Expose the ACP editor agent over stdio. |
reasonix doctor capabilities | Audit loaded instructions, skills, hooks, packages, and MCP servers. |
reasonix subagent list | List available subagent profiles. |
reasonix remote | Manage configured Remote SSH hosts and connections. |
reasonix upgrade | Check and install CLI updates on the configured channel. |
Slash Commands
| Command | Purpose |
|---|---|
/status | Show model, effort, cache, Git, task, and balance details. |
/compact | Compact older session context manually. |
/rewind | Restore code, conversation, or both from a checkpoint. |
/tree | Show saved conversation branches. |
/branch | Fork the active conversation. |
/switch | Load another saved branch. |
/model | Change the configured model. |
/provider | Choose a provider and one of its configured models. |
/mcp | Inspect and manage connected MCP servers. |
/skills | Inspect and manage loaded skills. |
/memory | Inspect project and global memory. |
/sandbox | Show sandbox status. |
/goal | Start or inspect a long-running objective. |
/reload | Reload runtime capabilities while keeping the session. |
/docs | Search the embedded Reasonix documentation. |
/paste-image | Attach a clipboard image. |
/help | Open the complete in-session command reference. |
Configuration and Memory
| Path or File | Purpose |
|---|---|
./reasonix.toml | Project configuration. |
~/.reasonix/config.toml | User configuration on macOS and Linux. |
%APPDATA%\reasonix\config.toml | User configuration on Windows. |
<Reasonix home>/.env | Provider API keys shared by CLI and desktop. |
.mcp.json | Project MCP server declarations. |
REASONIX.md | Reasonix project instructions. |
AGENTS.md | Cross-agent project instructions. |
.reasonix/commands/ | Project custom slash commands. |
~/.reasonix/commands/ | User custom slash commands. |
.reasonix/skills/ | Project skills. |
~/.reasonix/skills/ | User skills. |
Alternatives and Related Resources
- DSH Desktop: Run DeepSeek Harness as an Open-source Desktop App
- 100 Best DeepSeek Harness Plugins for DSH
- DeepSeek Harness: Open-Source Plugin-Based AI Agent Harness
- CodeWhale (DeepSeek TUI): Free, Open-source Claude Code Alternative
- Aperant (Auto Claude): Open-Source AI Coding Agent Harness
- 10 Best CLI AI Coding Agents: Open-Source & Commercial
- How to Use DeepSeek in Claude Code With an API Key
- How to Use DeepSeek in Codex and Cut API Costs
FAQs
Should I use npx reasonix code?
No. Start a terminal session with reasonix, or run a one-off task with reasonix run. The older npx reasonix code command comes from previous integration instructions.
Can Reasonix use OpenRouter?
Yes. Configure OpenRouter as a model provider and select a model that supports coding-agent tool calls. Reasoning and image features depend on the selected model.
Can Reasonix run with a local model?
Yes. Point Reasonix to a local model API endpoint. The server must support the tools and context features required by your coding task.
Do I need the CLI to use Reasonix Studio?
No. Studio includes the local agent engine. A CLI installation is useful for terminal scripts and is currently required by the VS Code extension.
Last Updated: November 11, 2026










