# Repository Briefing: Kuberwastaken/claurst
> Source: https://repoforai.com/repo/Kuberwastaken/claurst (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Kuberwastaken/claurst
- **Official Docs / Website**: https://claurst.kuber.studio/
- **Category**: Coding, Skills & MCP (AI 编程 / Skills / MCP)
- **Primary Language**: Rust
- **License**: GPL-3.0
- **Engineering Health**: A+ (91/100 · Maintenance 35/35 · Adoption 25/25 · Releases 20/20 · License 11/20)
- **Latest Release**: v0.2.1 (2026-10-26) — https://github.com/Kuberwastaken/claurst/releases
- **Review Snapshot**: 2026-12-02
- **Deployment / Stack Signals**: CLI, Self-Hosted
- **Momentum**: 10,359 ★ total (+3 24h / +17 7d) · 7,632 forks
- **Topics**: `claude`, `claude-code`, `claurst`, `cli`, `codex`, `gemini`, `rust`, `tui`
- **When to Use**: Best for: 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. Skip if: 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.

## Overview
```text
### Architecture & 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.
```

## Key Capabilities
```text
- Client surfaces: Native Rust terminal UI, headless CLI, and an ACP subprocess for compatible editors.
- Provider routing: Anthropic and ChatGPT subscription (Codex) paths share retry and context compaction, with provider-specific caching and reasoning features.
- Automation contract: Headless mode exposes typed `stream-json` events, documented exit codes, session continuation, and schema-constrained JSON answers.
- Project context: Instructions load from the Git root to the working directory; three skill directories and Claude Code-style hooks support migration.
- Execution controls: Per-command shell approvals, project-scoped saved decisions, CLI tool allow/deny flags, and a macOS Seatbelt sandbox.
- Release migration: v0.2.0 renamed MCP tools; existing permission rules and hook matchers that reference the old names need updating.
```

## Quick Start / Clone
```bash
curl -fsSL https://github.com/kuberwastaken/claurst/releases/latest/download/install.sh | bash
```
