Prerequisites
Before installing Claurst, make sure you have the following:- Rust 1.75 or later — Install via rustup.rs. Verify with
rustc --version. - Cargo — Included with the standard Rust toolchain.
- An Anthropic API key — Obtain one from the Anthropic console.
- Linux or macOS — Claurst uses the
nixcrate for process management, signal handling, and user queries. Windows support is limited.
Build from source
Build the release binary
Cargo.toml and compiles the full workspace. The first build takes a few minutes. Subsequent builds are incremental.The compiled binary is placed at:Pre-built binary
Pre-built binaries are not yet published to a package registry. Until then, build from source using the steps above. Watch the GitHub releases page for binary distributions.
Add to PATH
To runclaude from any directory without specifying the full path, add the binary to your PATH.
- bash
- zsh
- Copy to a system directory
Environment variables
Required
| Variable | Description |
|---|---|
ANTHROPIC_API_KEY | Your Anthropic API key. Required for all API calls. |
--api-key flag:
Optional
| Variable | Description |
|---|---|
ANTHROPIC_BASE_URL | Override the API base URL. Useful for custom endpoints or proxies. Defaults to https://api.anthropic.com. |
BRAVE_SEARCH_API_KEY | Enables the Brave Search API for the WebSearch tool. Falls back to DuckDuckGo Instant Answers if not set. |
ANTHROPIC_BASE_URL variable is read by Config::resolve_api_base() at startup. If set, it overrides the compiled-in default for every API call in the session.
Feature flags
Claurst supports several compile-time feature flags that gate advanced systems. These correspond to the original Claude Code feature gates and are inactive in standard builds. Enable a flag by passing it to Cargo at build time:| Flag | What it enables |
|---|---|
BUDDY | Tamagotchi-style companion pet — deterministic gacha species, procedurally generated stats (DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK), and a Claude-authored personality on first hatch. Rendered as ASCII art beside your input prompt. |
PROACTIVE / KAIROS | Always-on assistant mode. Maintains append-only daily log files, receives <tick> prompts at intervals, and proactively acts on observations with a 15-second blocking budget. Includes exclusive tools: SendUserFile, PushNotification, SubscribePR. |
COORDINATOR_MODE | Multi-agent orchestration. Claude becomes a coordinator that spawns and directs parallel worker agents across research, synthesis, implementation, and verification phases. Activated at runtime with CLAUDE_CODE_COORDINATOR_MODE=1. |
Default model and token limits
Claurst ships with the following compiled-in defaults (fromcc-core):
| Constant | Value |
|---|---|
| Default model | claude-opus-4-6 |
| Sonnet model | claude-sonnet-4-6 |
| Default max tokens | 32,000 |
| Hard token limit | 65,536 |
| Auto-compact threshold | 90% of context window |
| Max turns (default) | 10 |
--model or persistently via /model in the TUI. Override max tokens with --max-tokens.
System requirements
| Requirement | Details |
|---|---|
| OS | Linux or macOS (primary). Windows has partial support. |
| Architecture | x86_64 and ARM64 supported via the Rust standard target matrix. |
| Rust edition | 2021 |
| Minimum Rust version | 1.75 |
| Disk space (build) | ~500 MB for dependencies and build artifacts |
| Disk space (binary) | ~20 MB for the release binary |
Next steps
Quickstart
Run your first session and try the interactive TUI.
Feature flags
Full reference for compile-time and runtime feature gates.
Settings
Configure model, permissions, MCP servers, and hooks via
settings.json.CLAUDE.md
Add project-specific instructions that Claude reads at startup.