A 2.8MB binary that runs Claude as a full coding agent on your Max subscription. Zero API costs. 7 tools. MCP integration. Ships as a single binary.
A complete agent architecture in Rust — from authentication to tool execution, with MCP server integration and hook dispatch.
claude -p via stdin. Strips API key to force Max subscription auth.Each tool is a separate Rust module with async execution, error handling, and structured output.
Every tool, edge case, and error path tested live against Claude Opus 4.6 on Max subscription.
The first open-source Rust agent that rides your Claude Max subscription for free.
Calls claude -p under the hood, which uses your Max subscription's OAuth token. No per-token billing. Run it all day — same flat rate.
Unlike Claude Code (closed-source Node.js), this is 3,454 lines of Rust you can read, modify, extend. Add tools, change behavior, strip telemetry — it's yours.
No Node.js runtime, no npm install, no dependency tree. One cargo build --release and you have a self-contained binary that starts instantly.
Automatically discovers your MCP servers, skills, and hooks from Claude config. Extends the tool surface without modifying the agent.
| Feature | Claude Code | claude-agent-rs |
|---|---|---|
| Source Code | Closed | Open (Rust) |
| Binary Size | ~200MB (Node.js) | 2.8MB |
| API Cost | Subscription or API | Subscription only ($0 extra) |
| Custom Tools | MCP only | Native Rust + MCP |
| Modify Behavior | Config only | Full source access |
| Startup Time | ~2s | <100ms |
| Embeddable | No | Library or binary |
5 milestones, 17 tracked issues. View on GitHub