Code Assistant
A Rust coding agent that reads, edits, and runs projects through desktop, terminal, editor, and MCP interfaces.
- Source repo
- stippi/code-assistant
- Stars
- ★ 190
- Last updated
- 4d ago
- License
- MIT
- Primary language
- Rust
- FA score
- 65/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformClaude.ai · OpenAI API · Claude API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- Typical use
- A developer who wants autonomous changes to a local repository can use the GUI to inspect each file operation, command, and returned context.
- Not a fit if
- Users unwilling to configure permission tiers and command sandboxing for an agent that edits files and runs commands
- Builders who cannot install Rust or Linux graphics, audio, and Vulkan libraries
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-13latest release v0.2.20 (2026-11-12)
- Source review
- 65/100 · Some gaps
What does this agent do, and when should you use it?
Code Assistant is an open-source autonomous coding agent written in Rust that operates on local codebases by reading, searching, editing files, and running commands. It ships as a native GUI built with Zed's GPUI, a terminal interface, a headless MCP server, and an ACP agent for editors such as Zed. Users can select providers including Anthropic, OpenAI, Google Vertex AI, Ollama, OpenRouter, SAP AI Core, Groq, Cerebras, and Mistral. Its interface exposes tool executions and the results supplied to the model, while project sessions support branching, persistent state, attachments, sub-agents, permission tiers, command sandboxing, and context compaction. It can also convert Word, Excel, PowerPoint, PDF, and other documents to Markdown and operate a real browser for web-app testing with human-controlled login handoff. The MIT-licensed application runs locally from prebuilt packages or a source build.
After a user adds a project folder and submits a task, Code Assistant runs an autonomous loop that reads and searches files, edits their contents, executes commands, and reports the tool results passed back to the model. When project formatting changes a saved file, it runs the formatter and reconciles the model's edit with the formatted result instead of spending tokens on another read; file writes preserve the original encoding, BOM, and CRLF or LF line endings. It also consumes Word, Excel, PowerPoint, PDF, and other documents as Markdown, connects to external MCP servers, and controls browser sessions for navigation, reading, clicking, and typing. The executable starts its native GUI with code-assistant, its terminal interface with code-assistant --tui, its editor-facing ACP mode with code-assistant acp, and its headless MCP server with code-assistant server. Any mode can receive an initial request through --task, as in code-assistant --task "Explain this codebase".
- A developer who wants autonomous changes to a local repository can use the GUI to inspect each file operation, command, and returned context.
- An engineer who works primarily in a terminal can run
code-assistant --tuifor project-scoped code investigation and modification. - A Zed user can expose Code Assistant as an external coding agent through its documented ACP command.
- A Claude Desktop user can run the application as a local MCP server and make its coding operations available to that client.
- A maintainer whose project mixes source code with PDFs or Office files can let the agent analyze those documents as Markdown alongside the codebase.
- A web developer can use browser sessions to navigate and interact with an application while retaining direct control of credential entry during login.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
- Environment variables
ANTHROPIC_API_KEY- Install notes cover
- Windows · macOS · Linux
How do you install or deploy this agent?
The shortest path is to download a prebuilt release: Code-Assistant-macos-aarch64.app.zip for Apple Silicon, Code-Assistant-macos-x86_64.app.zip for Intel Macs, code-assistant-linux-x86_64.zip for Linux, or code-assistant-windows-x86_64.zip for Windows. Launch the application; its first-run Settings screen asks you to select a provider, paste an API key, and choose a model, after which you can add a project folder. To build from source, install Rust on macOS or Linux with curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh. Debian or Ubuntu additionally requires sudo apt-get install -y --no-install-recommends pkg-config build-essential libssl-dev libzstd-dev libfontconfig-dev libwayland-dev libx11-xcb-dev libxkbcommon-x11-dev libasound2-dev libvulkan1; macOS requires xcodebuild -downloadComponent MetalToolchain. Then run git clone https://github.com/stippi/code-assistant, cd code-assistant, and cargo build --release. The resulting executable is target/release/code-assistant.
How do you use this agent?
For the first working session, run code-assistant, configure a provider, API key, and model in Settings, add a project folder, and start a chat. Run code-assistant --tui for the terminal interface, or submit an initial task directly with code-assistant --task "Explain this codebase". For Zed, configure an agent server whose command is /path/to/code-assistant, whose arguments are ["acp", "--model", "Claude Sonnet 4.5"], and whose environment supplies ANTHROPIC_API_KEY. For Claude Desktop, add an MCP server named code-assistant in the Developer configuration, set its command to /path/to/code-assistant, use ["server"] as its arguments, and set the SHELL environment variable as shown in the repository example. Providers, models, external MCP servers, and skills can also be managed from the application's Settings screen.
What are this agent's strengths and limitations?
- The interface reveals individual tool calls and the returned material supplied to the model, making autonomous behavior easier to audit.
- Formatter reconciliation keeps the agent's file state current without requiring a token-consuming reread after every formatted save.
- File writes preserve encoding, BOM, and CRLF or LF line endings, reducing unrelated file churn.
- One executable supports a native GUI, TUI, headless MCP server, and editor-facing ACP agent.
- Its provider selection includes multiple hosted services and Ollama, while document ingestion extends work beyond source files.
- Hosted models require credentials for the chosen provider, and any provider charges or service availability remain external dependencies.
- A source build requires Rust; Linux also needs numerous graphics, audio, Vulkan, and development libraries, while macOS needs MetalToolchain.
- Because the agent can edit files and execute commands, adopters must configure permission tiers and sandboxing to match the repository's risk level.
- Restricting tool access specifically to Git-tracked files inside the project is listed as a future direction rather than a completed safeguard.
- Early rejection of edits to files changed since the model last read them is still on the roadmap, leaving a documented stale-file failure case unresolved.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Code Assistant This agent | 65 · Some gaps | Desktop appFree + model costs | ★ 190 | 4d ago | Rust | Claude.ai · OpenAI API · Claude API |
| Vix | 58 · Major gaps | CLIFree + model costs | ★ 286 | 1mo ago | Go | OpenAI API · Claude API |
| ClawCodex | 65 · Some gaps | CLIFree + model costs | ★ 928 | 9d ago | TypeScript | ChatGPT · OpenAI API · Claude API |
| DevSpace | 64 · Some gaps | CLIFree + model costs | ★ 5.5k | 15d ago | TypeScript | ChatGPT |
How does FollowAgents rate this agent?
Why each dimension lost points
The materials describe file reads and writes, command execution, MCP, browser, and GitHub PR capabilities, and say tool calls and returned context are visible, giving some data-flow transparency (2). Permission tiers support per-call prompts, denial, and automated review, but the default is bypass-all and headless MCP has no confirmation mediator, limiting least privilege and default confirmation (1 each). Configuration examples reference credentials through environment variables and OAuth can be renewed, but key storage and data-retention details are thin (sensitive-data handling 1). A scheduled cargo-deny workflow checks advisories, licenses, and sources, but does not establish that every dependency is safe (dependency security 2). External calls do not have a uniform confirmation guarantee (external effects 1). Updates use hash checks and a macOS signing-team check, but no rollback path is shown (rollback 1). A copyright author name is present, while publisher identity remains unknown and attribution/maintenance commitments are limited (source attribution 1).
Repository guidance, configuration docs, and permission docs mostly agree on defaults, tool modes, and operation. The sandbox plan records both completed phases and an unfinished elevation flow, leaving some implementation boundaries (self-consistency 2). Cross-platform build jobs and locked dependencies support availability, while external services, system libraries, and model providers remain runtime dependencies (dependency availability 2). Code and docs show error checks, user-visible permission denials, MCP health state, and startup errors, but do not establish clear recovery for every failure path (failure messages 2).
The product covers GUI, terminal, ACP, MCP, multiple model providers, and project workflows, with project configuration and session tool toggles (audience and scenarios 3). Permission tags, sandbox policies, tool toggles, and mode descriptions explain boundaries, but full access is the default and tighter limits on commands outside project scope remain on the roadmap (capability boundaries 2). Skill descriptions offer on-demand routing signals and tools/skills are configurable; the sample is too small to establish consistently precise routing (trigger precision 2). macOS, Linux, and Windows build information, several frontends, config paths, and system-library setup are documented (environment fit 3).
Layering, entry points, configuration, permissions, models, and MCP are organized in substantial documentation (information architecture 3). Prebuilt installation, source builds, and platform dependencies are explained (install notes 3). Naming is generally stable, though legacy model-file migration and compatibility paths remain (naming stability 2). README, configuration snippets, command examples, and interface guidance cover common setup tasks (examples and FAQ 3). The roadmap and sandbox plan identify limitations and unfinished work (known limitations 3). The MIT license text is complete (license 3). The sample does not show a clear release policy or changelog (versioning/changelog 1). An author name is visible, but responsibility, support, and maintenance commitments are not clear, and publisher provenance is unverified (maintenance responsibility 1).
Visible tool activity, formatter reconciliation, session branching, and multiple frontends can make outputs inspectable and reusable; static evidence cannot establish correctness (output usability 2). Combining coding, document reading, MCP, browser, and skills in one workflow shows clear added value (marginal value 3). Prebuilt downloads and settings reduce setup work, but model APIs, external tools, and substantial configuration affect the cost-benefit balance (2).
Major README capabilities have corresponding configuration and code-entry descriptions, but the sample cannot verify every implementation detail (claim traceability 2). Permission guidance, the sandbox plan, CLI entry point, Cargo workspace, and CI mutually support several architecture and permission claims; documentation does not replace runtime verification (cross-source corroboration 2). Docs distinguish defaults, implemented features, roadmap items, and unfinished work, though some product claims lack independent support (fact/inference separation 2).
- The default permission tier is bypass-all; consider write-tools, outward-tools, or all-tools and configure command sandboxing for your use case.
- The sandbox plan says permission elevation and approval caching are unfinished; do not read it as a claim of complete sandbox protection.
- MCP servers and third-party tools may access external services; review server configuration, environment variables, and tool permissions.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
FAQ
Is the agent tied to a single model vendor?
What access does it have to my project?
Is MCP required to run it?
How does it handle formatters and existing line endings?
Does browser automation expose login credentials to the agent?
Is Code Assistant free?
Is Code Assistant open source?
Is Code Assistant safe to use?
Is Code Assistant still maintained?
Who makes Code Assistant?
Thanks — we use this to improve the page.