Skip to content

Nullislander0/Rust-Code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLAURST

Your Favorite Terminal Coding Agent, now in Rust

Rustle the Crab

Built with Rust Version 0.0.8 GPL-3.0 License


CLAURST in action

Claurst is an open-source 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 a rich UI, plugin system, a companion named Rustle, chat forking, memory consolidation, and much more. Connect to Anthropic, NVIDIA NIM, Ollama, or any OpenAI-compatible endpoint.

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:

  • Speech modes: Try /Rocky and /Caveman to hear the difference! /Normal to go back. [EXPERIMENTAL]

  • Dual-protocol API client: connects to Anthropic natively or any OpenAI-compatible endpoint (NVIDIA NIM, Ollama, Groq, DeepSeek, Mistral, and more) via --provider.


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

# Anthropic (default provider)
export ANTHROPIC_API_KEY=sk-ant-...
claurst

# NVIDIA NIM
export NVIDIA_API_KEY=nvapi-...
claurst --provider nvidia --model mistralai/devstral-2-123b-instruct-2512

# Ollama (local, no key needed)
claurst --provider ollama --model qwen3:8b

# 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

Terminal coding agent in Rust — dual-protocol API client (Anthropic + OpenAI-compatible). Fork of Claurst with commercial provider bloat removed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages