Reasonix: Free DeepSeek Coding Agent for CLI, Desktop & VS Code

Set up DeepSeek V4.1 Flash, OpenRouter, MCP, permissions, and local models across Reasonix CLI, desktop, web, and VS Code

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 ItTypical Work
Reasonix CLI / TUIInspect code, discuss changes, approve edits, review diffs, and follow test results in the terminal.
reasonix runRun a defined repository task from a script, with text or structured output.
Reasonix StudioOpen projects, review agent activity, and preview web pages. The built-in browser can edit selected text and styles in local workspace files.
reasonix webOpen a browser UI for an agent running on your computer.
reasonix serveHost an authenticated agent service for remote clients or supervised deployments.
VS Code extensionWork from the editor chat with file context and tool approvals. Currently requires the 1.x CLI.
reasonix acpConnect the local agent to Zed, Eclipse Theia, or another ACP editor.
Web StudioReturn 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.

ReasonixClaude 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/reasonix

Connect 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 setup

Start 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
reasonix

Review 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 json

The 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 serve

Studio 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 --json

The 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 upgrade

Models 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.

ProviderHow Reasonix Uses It
DeepSeekBuilt-in presets for coding tasks, with context management and cache-aware requests.
OpenRouterConnect through an OpenAI-compatible endpoint and select an available model.
OpenCode GoUse the configured provider preset and its compatible API endpoints.
Kimi, GLM / Z.AI, and MiniMaxUse compatible endpoints with provider-specific reasoning controls where available.
Other cloud or local modelsConfigure 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

CommandPurpose
npm i -g reasonixInstall the stable Reasonix 1.x CLI through npm.
reasonix setupConfigure providers, models, and credentials.
reasonixOpen the interactive terminal UI in a repository.
reasonix --permission-mode planStart 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 webOpen the local browser UI with generated token authentication.
reasonix serveStart the Web server for remote or supervised use.
reasonix acpExpose the ACP editor agent over stdio.
reasonix doctor capabilitiesAudit loaded instructions, skills, hooks, packages, and MCP servers.
reasonix subagent listList available subagent profiles.
reasonix remoteManage configured Remote SSH hosts and connections.
reasonix upgradeCheck and install CLI updates on the configured channel.

Slash Commands

CommandPurpose
/statusShow model, effort, cache, Git, task, and balance details.
/compactCompact older session context manually.
/rewindRestore code, conversation, or both from a checkpoint.
/treeShow saved conversation branches.
/branchFork the active conversation.
/switchLoad another saved branch.
/modelChange the configured model.
/providerChoose a provider and one of its configured models.
/mcpInspect and manage connected MCP servers.
/skillsInspect and manage loaded skills.
/memoryInspect project and global memory.
/sandboxShow sandbox status.
/goalStart or inspect a long-running objective.
/reloadReload runtime capabilities while keeping the session.
/docsSearch the embedded Reasonix documentation.
/paste-imageAttach a clipboard image.
/helpOpen the complete in-session command reference.

Configuration and Memory

Path or FilePurpose
./reasonix.tomlProject configuration.
~/.reasonix/config.tomlUser configuration on macOS and Linux.
%APPDATA%\reasonix\config.tomlUser configuration on Windows.
<Reasonix home>/.envProvider API keys shared by CLI and desktop.
.mcp.jsonProject MCP server declarations.
REASONIX.mdReasonix project instructions.
AGENTS.mdCross-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

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

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest & top AI tools sent directly to your email.

Subscribe now to explore the latest & top AI tools and resources, all in one convenient newsletter. No spam, we promise!