Claw Code is an open-source AI agent harness project focused on building better tools for orchestrating and managing autonomous coding agents. It originated as a clean-room reimplementation inspired by the architecture of Claude Code, aiming to replicate core concepts without using proprietary code. The project provides a Python-based foundation for experimenting with agent workflows, tool integration, and task execution pipelines. It emphasizes harness engineering—how agents are structured, how they interact with tools, and how they maintain context during execution. The system is being actively expanded, with a Rust-based runtime in development to improve performance and memory safety. Overall, Claw Code serves as a research-driven platform for advancing agent-based software development systems.
Features
- Clean-room Python implementation of an AI agent harness architecture.
- Focus on harness engineering, including tool wiring and task orchestration.
- CLI utilities for inspecting agent subsystems, commands, and workflows.
- Modular structure with components for commands, tools, models, and query engine.
- Built-in testing and parity checks for validating implementation progress.
- Ongoing Rust port for faster, memory-safe execution and improved runtime performance.