Skip to content

Kuberwastaken/claurst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLAURST

Your Favorite Terminal Coding Agent, now in Rust

Rustle the Crab

Built with Rust Version 0.0.9 GPL-3.0 License


CLAURST in action

Claurst is an open-source, multi-provider terminal coding agent built from the ground up in Rust. It started as a clean-room reimplementation of Claude Code's behavior (from spec) and has since evolved into an amazing TUI pair programmer with multi-provider support, a rich UI, plugin system, a companion named Rustle, chat forking, memory consolidation, and much more.

It's fast, it's memory-efficient, it's yours to run however you want, and there's no tracking or telemetry.


Note

Recent Updates:

  • Managed Agents Preview: Run /managed-agents to create a better agentic loop with a Manager-Executor relation and dramatically improved performance for fractions of the cost from running a larger model. Choose from 6 pre-built templates or build your own.[EXPERIMENTAL]

  • Speech modes: Try /rocky and /caveman to hear the difference! /normal to go back.

  • Multi-Provider Support is here! Run /connect to connect to the AI provider of your choice - Anthropic, OpenAI, Google, GitHub Copilot, Ollama, DeepSeek, Groq, Mistral, and 30+ more.


Getting Started

Download a release binary

Grab the latest binary for your platform from GitHub Releases:

Platform Binary
Windows x86_64 claurst-windows-x86_64.zip
Linux x86_64 claurst-linux-x86_64.tar.gz
Linux aarch64 claurst-linux-aarch64.tar.gz
macOS Intel claurst-macos-x86_64.tar.gz
macOS Apple Silicon claurst-macos-aarch64.tar.gz

And you're done.

Just install and run this from anywhere, that easy.

# Start Claurst
claurst

# Or run a one-shot headless query
claurst -p "explain this codebase"

Build from source

git clone https://github.com/kuberwastaken/claurst.git
cd claurst/src-rust
cargo build --release --package claurst

# Binary is at target/release/claurst

First run

# Set your API key (or use /connect inside Claurst to configure)
export ANTHROPIC_API_KEY=sk-ant-...

# Start Claurst
claurst

# Or run a one-shot headless query
claurst -p "explain this codebase"

Documentation

For more info on how to configure Claurst, head over to our docs.

PS: The original breakdown of the findings from Claude Code's source that started this project is on my blog - the full technical writeup of what was found, how the leak happened, and what it revealed.


Contributing

Claurst is built for the community, by the community and we'd love your help making it better.

Open an issue for bugs, ideas, or questions, or Raise a PR to fix bugs, add features, or improve documentation.


Important Notice

This repository does not hold a copy of the proprietary Claude Code TypeScript source code. This is a clean-room Rust reimplementation of Claude Code's behavior.

The process was explicitly two-phase:

Specification spec/ — An AI agent analyzed the source and produced exhaustive behavioral specifications and improvements, deviated from the original: architecture, data flows, tool contracts, system designs. No source code was carried forward.

Implementation src-rust/ — A separate AI agent implemented from the spec alone, never referencing the original TypeScript. The output is idiomatic Rust that reproduces the behavior, not the expression.

This mirrors the legal precedent established by Phoenix Technologies v. IBM (1984) — clean-room engineering of the BIOS — and the principle from Baker v. Selden (1879) that copyright protects expression, not ideas or behavior.


About

Your favorite Terminal Coding Agent, now in Rust

Resources

License

Stars

Watchers

Forks

Contributors