Build and run an AI coding agent locally in your terminal to automate coding tasks.
Study the open-source Rust implementation of an agent harness and contribute improvements.
Integrate Claude API access into your development workflow via command-line interface.
Claw Code is the public Rust implementation of the claw command-line agent harness — a tool you run in your terminal to drive an AI coding agent. The repository ultraworkers/claw-code is the source of truth for the Rust workspace and the claw CLI binary, with a companion Python reference workspace alongside it.
How it works: you clone the repo, build it with cargo from the rust/ subdirectory, set an API key environment variable (ANTHROPIC_API_KEY or similar — it requires an API key, not a subscription login), and then run commands like claw doctor for a health check that validates your API key, model access, and tool configuration, or claw prompt "say hello" to send a request through the agent. The repository is build-from-source only; the README warns that the claw-code crate on crates.io is a deprecated stub that does NOT install the working binary, so you must compile it yourself or install the upstream agent-code binary instead.
Someone would use Claw Code if they want an open-source, locally-built CLI agent harness in Rust, perhaps to study the implementation, contribute to it, or run it on top of their own API access. The README walks through setup on macOS, Linux, and Windows (with PowerShell as a supported path), how to locate the binary after build, optional PATH-installation approaches, and how to run the workspace test suite. Documentation is organized into separate files: USAGE.md for task-oriented commands, PARITY.md for Rust-port status, ROADMAP.md for upcoming work, and PHILOSOPHY.md for project intent. The full README is longer than what was provided.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.