
Claw Code
A Rust command-line AI coding agent, presented as an agent-maintained museum exhibit rather than a production
- Stars
- 195k
- Forks
- 108k
- Licence
- MIT
- Language
- Rust
- Last update
- 4 days ago
- Type
- CLI
What it is
Claw Code is a Rust implementation of a command-line agent harness called `claw`, which sends prompts to AI models and runs interactive sessions from the terminal. The README says the repository is closer to a museum exhibit than a product, and that it is developed and maintained by agents rather than hand-operated. The README points users who want to run real work toward LazyCodex or Gajae-Code instead.
- Build the claw CLI from the rust/ workspace with cargo build --workspace
- Run a one-off prompt with claw prompt "say hello"
- Start an interactive claw session from the terminal
- Check the setup with claw doctor after building
Great for
- Developers curious how a Rust-based agent CLI is structured
- People who want to build the `claw` binary from source and try it with an Anthropic API key
- Readers studying an agent-managed repository and its project philosophy
- Rust developers who want to explore the workspace in the rust/ directory
Not ideal for
- Anyone who needs a dependable production tool, since the README says it is not the serious production project
- Users who do not want to install Rust and build from source, since the README describes build-from-source as the only route for this repo
- Users who need the Anthropic-only setup shown in the quick start without an API key, since the README requires an Anthropic API key and states it is not a Claude subscription
How to get it
- 1
Clone and build from source
You'll need: Rust toolchain (via rustup.rs) · Git · An Anthropic API key
Clone the repository
git clone https://github.com/ultraworkers/claw-codeEnter the Rust workspace
cd claw-code/rustBuild the workspace
cargo build --workspaceSet your API key
export ANTHROPIC_API_KEY="sk-ant-..." - 2
Run it
- Clone the repository and build the workspace with cargo build --workspace
- Set ANTHROPIC_API_KEY in your shell
- Run ./target/debug/claw doctor as a health check
- Run ./target/debug/claw prompt "say hello" to get a first response
- 3
Get the most out of it
- Read USAGE.md for build, auth, CLI, and session workflows
- Read docs/local-openai-compatible-providers.md for local OpenAI-compatible models and offline skill installs
- Use claw doctor as the first health check after building
- Read docs/container.md for the container-first workflow
Downloads
Strengths
- Build-from-source steps and a first-run sequence are laid out in the README
- MIT license, as listed in the repository metadata
- Points to separate docs for usage, parity status, roadmap, and Windows setup
Trade-offs
- The README explicitly says it is not meant for serious production work and is maintained by agents with no human intervention
- The README warns that the crates.io package named claw-code is a deprecated stub and should not be installed with cargo
- ACP and Zed integration are not shipped yet, according to the README
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.