Discover and explore top open-source AI tools and projects—updated daily.
GPT-AGIPython CLI agent reimplementing Claude Code
New!
Top 93.2% on SourcePulse
Summary
Clawd-Code is a Python reimplementation of the Claude Code agent, meticulously ported from its original TypeScript architecture. It targets developers and power users seeking a functional, Python-native AI agent with capabilities like tool-calling, streaming REPL, and session history. The project offers a production-oriented CLI agent, enabling users to fork, modify, and extend its functionality, providing a flexible platform for AI-driven workflows.
How It Works
The project employs a high-fidelity porting strategy, preserving the core architecture of Claude Code while adapting it to idiomatic Python. Its key components include a "Token Streaming + Tool-Aware Agent Loop" that manages tool execution and multi-turn conversations, and a "Programmable Skill Runtime" that allows extensibility via Markdown-defined skills (SKILL.md). This approach offers a familiar Claude Code experience within a Python environment, enhanced by a robust CLI and a flexible, declarative skill system.
Quick Start & Requirements
uv), activate it, and install dependencies with pip install -r requirements.txt. Configuration is done via python -m src.cli login, which guides users through setting up API keys for supported LLM providers. The REPL is started with python -m src.cli.Highlighted Details
/stream and /render-last.SKILL.md files for defining slash commands, supporting arguments, tool limits, and both project-local and user-level skills.Maintenance & Community
The project is under "Active Development" with "New Features Weekly." Contributions are welcomed, with guidelines provided in CONTRIBUTING.md. While a "Real Community" is mentioned, specific links to community platforms like Discord or Slack are not present in the README.
Licensing & Compatibility
The project is released under the MIT License, which permits commercial use and integration into closed-source projects.
Limitations & Caveats
Development is ongoing for advanced features. Context building, including deeper project understanding beyond basic prompt injection, and the permission system are marked as "in progress" (Phase 3). Later phases (4 and 5) related to extensibility and Python-native differentiators are also in progress.
2 weeks ago
Inactive
HKUDS