Kuberwastaken/claurst
Rust coding agent for terminal, scripted, and ACP editor workflows
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Claurst is a native Rust coding agent in the src-rust/ workspace. The interactive TUI and headless CLI serve terminal and script workflows; claurst acp exposes an editor entry point using JSON-RPC 2.0 over stdio. ACP accepts session creation, prompts, and cancellation, and streams text deltas, model thinking, and tool progress through session/update. It shares provider credentials and tool permission rules with the TUI, handing only approval-required calls to the editor's native dialog.
Each ACP session uses its working directory to resolve settings, instruction files, and trusted MCP servers. Instructions load from the Git root down to that directory through AGENTS.md and CLAUDE.md, with @include support. Skills in .claurst/skills, .agents/skills, and .claude/skills are listed to the model. MCP exposes tools to the agent; hooks, including plugin hooks, handle lifecycle events through a separate JSON stdin/stdout contract with timeouts and exit-code handling.
Key Capabilities & Differentiators
The Anthropic path supports prompt caching and adaptive thinking. The ChatGPT subscription path, labeled Codex, supports token refresh, prompt caching, and reasoning replay. Retry policy and context compaction are shared across providers; provider-specific features still differ. Headless claurst -p supports line-delimited, typed stream-json events for progress consumers, documented exit codes, and --resume or --continue for follow-up runs. Use --output-format json --json-schema schema.json when a downstream script needs a structured final answer rather than an event feed.
Tool execution has separate controls for command approval and tool eligibility: shell approvals match individual commands and can be saved for a project, while --allowed-tools and --disallowed-tools govern tool access. On macOS, the Seatbelt sandbox for Bash restricts writes to the workspace and blocks network access by default when active. That filesystem and network isolation is distinct from asking the operator to approve a command.
Trade-offs & Limitations
Against Claude Code, Claurst's concrete differentiators are a GPL-3.0 Rust client, provider choice across Anthropic and Codex, and a standard ACP subprocess interface. Familiar instructions, skill layouts, and hook contracts lower migration cost but do not establish behavioral parity. Treat the v0.2.0 MCP tool rename as a configuration migration: update old names in permission rules and hook matchers, then test the approvals and headless output your workflow actually depends on.
The native client keeps the terminal runtime local, but hosted inference still introduces network latency and provider charges or subscription constraints. Repository context included in prompts or tool results can leave the host. The macOS Seatbelt controls should not be assumed to exist on Linux or Windows; validate isolation separately on each deployment platform. v0.2.1 is a beta, so gate unattended adoption on workflow tests. For commercial redistribution, review GPL-3.0 obligations separately from provider terms.
Hardware & Deployment Guide
Release binaries cover Windows x86_64, Linux x86_64 and aarch64, and both Intel and Apple Silicon macOS. Install a release archive directly, use the shell or PowerShell installer, or let npm or Bun fetch the matching binary. Node.js and Bun are installation options, not prerequisites for the standalone executable. Build from src-rust/ with cargo build --release --package claurst; --no-default-features removes voice and microphone support and avoids libasound2-dev. The optional VS Code devcontainer uses rust:1-bullseye, persists Cargo caches, binds local .claurst state, and requires host Docker.
For first run, configure a provider through /connect, use ANTHROPIC_API_KEY for Anthropic, or sign in with claurst codex login. This is a self-hosted client, not an included offline inference server: the documented Anthropic and Codex paths require provider connectivity. v0.2.0 is the key operational upgrade for permissions, hooks, and headless execution, and introduces the MCP naming break. The v0.2.1 beta notes include a workspace-version inheritance fix for the schema dialect.
stream-json events, documented exit codes, session continuation, and schema-constrained JSON answers.Teams that want a self-hosted coding client across terminal sessions, scripts, and ACP editors, with Anthropic or Codex access and per-project approval rules.
You require offline inference out of the box, equivalent shell isolation on every supported OS, or a drop-in Claude Code replacement with no workflow testing.
Quick Start & Installation
curl -fsSL https://github.com/kuberwastaken/claurst/releases/latest/download/install.sh | bash
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| claurst ★ | 10.4k | +17 | Rust | GPL-3.0 | Rust coding agent for terminal, scripted, and ACP editor workflows |
| gemini-cli | 109.6k | +376 | TypeScript | Apache-2.0 | A Node.js terminal agent for enterprise Gemini coding workflows and MCP tools |
| Codewhale | 41.2k | +38 | Rust | MIT | Rust coding agent with swappable models, sandboxed execution, and turn receipts |
| oh-my-pi | 40.5k | +497 | TypeScript | MIT | A Bun/Rust terminal agent for model-flexible coding with LSP and editor integrat |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/Kuberwastaken/claurst.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about claurst
How does an ACP editor launch Claurst and handle tool approvals?
claurst acp. It runs as a subprocess and exchanges JSON-RPC 2.0 messages over stdio. Session updates stream back to the editor, and only tool calls that need approval produce a session/request_permission request. ACP debug logs go to stderr so they do not corrupt the protocol stream.Do I need a GPU, and what should I size the host for?
--no-default-features omits voice and microphone support and avoids the libasound2-dev requirement.What should a commercial team check before deploying or redistributing Claurst?
Can Claurst replace Claude Code in an existing workflow?
CLAUDE.md instructions, skills, and hooks, while adding a choice between Anthropic and Codex provider paths and an ACP editor interface. It is not a guaranteed drop-in replacement: test hooks, approval flows, MCP tool names and matchers, and any scripts that parse headless output. If exact Claude Code behavior is a hard requirement, do not switch on feature names alone.Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy