All 25 Dependencies
Every package claw-code depends on, ranked by repo health score.
Claw Code is an open-source Rust implementation of the `claw` CLI agent harness — a purpose-built runtime for autonomous AI coding agents that wraps Claude and OpenAI-compatible APIs with everything needed to operate reliably in automated pipelines. Unlike a simple chat wrapper, it treats clawability (machine-operability without human terminal interaction) as a first-class design constraint.
The project's architecture separates the concern of provider communication (the `api` crate), conversation lifecycle (the `runtime` crate), tool execution (the `tools` crate), and plugin/hook management (the `plugins` crate) into a Cargo workspace. This layering means each subsystem can evolve independently and be tested in isolation, while the `claw` binary in `rusty-claude-cli` wires them together into a coherent CLI experience.
Claw Code ships features that matter specifically to agentic, automated workflows: automatic session compaction when context windows fill, a structured permission model with four tiered access modes, pre/post-tool hooks that can intercept or override tool calls, MCP (Model Context Protocol) server management with lifecycle hardening, and JSON-mode output across all diagnostic verbs for machine-readable health checks. A companion `claw-rag-service` crate adds a SQLite-backed embedding index with optional Qdrant integration for retrieval-augmented generation workflows.
The repository is itself an artifact of agent-managed development — described by its authors as a 'museum exhibit' run by autonomous claws. This gives Claw Code a unique self-referential quality: the harness is built by the same kind of agents it is designed to power, providing a live demonstration of autonomous coding coordination at scale.