Claw Code

Claw Code is an open-source terminal-based AI coding assistant developed by Ultraworkers. Built on a hybrid architecture featuring a high-performance Rust core (rusty-claude-cli) and Python integration layers, it provides developers with a self-hosted, terminal-native environment for autonomous software engineering tasks. In daily use, Claw Code operates directly inside the developer workspace via an interactive command-line interface. It executes an agentic turn loop capable of inspecting file systems, running workspace commands, executing tests, and applying multi-file code diffs while preserving context across turns through dedicated session stores. What distinguishes Claw Code is its dual-engine performance architecture, integrated slash-command routing, plugin system, and structured agent context modeling via hierarchical AGENTS.md documentation. This gives developers granular control over session persistence and command execution without relying on proprietary, closed-source agent wrappers. Claw Code is available as an open-source project on GitHub under standard community licensing, allowing developers to bring their own API configurations and run the agent locally without proprietary vendor lock-in.

Tags: ai agent, cli, coding agent, developer tools, experiments, OpenSource

Visit Claw Code

Key features

  • Rust-Powered CLI Core — Fast execution and low-overhead terminal orchestration via native Rust command runners. - Plugin and Slash-Command Routing — Native support for command aliases, routing plugins, and extensible turn-loop triggers. - Hierarchical Agent Knowledge — Support for structured knowledge-base files (AGENTS.md) and project-level directives. - Persistent Local Session Store — Session tracking and state checkpointing to maintain context across agent turns. - Autonomous Tool Execution — Direct terminal execution of file inspections, diff applications, and test suite commands.

Use cases

Use Case: Terminal-Native Refactoring and Porting Developers can direct Claw Code to analyze code repositories, port modules between languages (such as Python and Rust), and verify changes against local test suites autonomously.

Use Case: Automated Test and Build Remediation The agent can execute cargo or python test suites directly within the CLI, inspect build failure outputs, and iteratively apply patches until tests pass.

Use Case: Custom Dev Tooling via CLI Plugins Engineers can integrate custom internal tools and slash commands into Claw Code's command filter and turn loop to standardize development workflows across a team.

Who it is for

Claw Code is suited for systems programmers, backend developers, and DevOps engineers who prioritize open-source, terminal-native workflows and want full control over their agent runtime and session artifacts. It is not intended for non-technical users or developers seeking closed-box GUI extensions.

Install guide

Installation Claw Code can be built from source using Cargo and Python: bash git clone https://github.com/ultraworkers/claw-code.git cd claw-code cargo build --release --manifest-path rust/Cargo.toml

First Run Ensure required environment variables and API keys are set in your shell profile: bash export ANTHROPIC_API_KEY="your-api-key-here" ./rust/target/release/rusty-claude-cli --help

Example Session Run the CLI to initiate a workspace audit or implement a feature: bash ./rust/target/release/rusty-claude-cli "Review the current repository structure and run cargo test"

Part of CLI Coding Agents

Categories: AI Coding Agents, Developer Tools, Experiments

Related CLI agents

  • Ouroboros — Ouroboros is an open-source autonomous CLI coding agent developed by razzant. Built primarily in Python, the agent is engineered to…
  • g3 — g3 is an open-source, Rust-based command-line coding agent framework developed by Dhanji Prasanna. It is designed to orchestrate LLM-driven software…
  • Unship — Unship is an open-source agent harness and plugin integration framework developed by mbenhard. It is designed to package and orchestrate…
  • OpenHands — OpenHands (formerly OpenDevin) is an open-source autonomous AI software development agent and orchestration platform. It provides an extensible runtime environment…
  • SWE-agent — SWE-agent is an open-source autonomous software engineering agent harness built and maintained by researchers from Princeton University and Stanford University.…
  • OpenCode — OpenCode is an open-source AI coding agent developed by Anomaly that operates across terminal environments, desktop applications, and IDE extensions.…
  • AI Tools
  • Categories
  • Industries
  • CLI Coding Agents
  • MCP Servers
  • MCP Categories