A complete reimplementation of Claude Code source.
This project is a full-scale port and reconstruction of Claude Code, maximizing fidelity to the original while introducing improvements. Python version is available now, with Go version in active development.
| Component | Status | Count |
|---|---|---|
| Commands | ✅ Ported | 150+ |
| Tools | ✅ Ported | 100+ |
| Subsystems | ✅ Ported | 28+ |
| Test Cases | ✅ Passing | 40+ |
| Milestone | Status |
|---|---|
| Python complete reimplementation | ✅ Done |
| Full test coverage | ✅ Done |
| Session management & persistence | ✅ Done |
| Go version (full port) | 🚧 In Progress |
| Bilingual tutorial edition | 📋 Planned |
| 24/7 auto-iteration system | 📋 Planned |
git clone https://github.com/GPT-AGI/Clawd-Codex.git
cd Clawd-Codex
# View reimplementation summary
python3 -m src.main summary
# List all ported commands
python3 -m src.main commands --limit 20
# Run tests
python3 -m unittest discover -s tests -v
PRs welcome! We're building the most complete open-source Claude Code reimplementation together.
Claude Code 源码的完整重构实现。
本项目是对 Claude Code 的全量移植和重建,在最大程度还原原始实现的同时引入改进。Python 版本现已可用,Go 版本正在积极开发中。
| 组件 | 状态 | 数量 |
|---|---|---|
| 命令 | ✅ 已移植 | 150+ |
| 工具 | ✅ 已移植 | 100+ |
| 子系统 | ✅ 已移植 | 28+ |
| 测试用例 | ✅ 通过 | 40+ |
| 里程碑 | 状态 |
|---|---|
| Python 完整重构 | ✅ 完成 |
| 完整测试覆盖 | ✅ 完成 |
| 会话管理与持久化 | ✅ 完成 |
| Go 版本(完整移植) | 🚧 开发中 |
| 中英文双语教学版 | 📋 计划中 |
| 24小时自动迭代系统 | 📋 计划中 |
git clone https://github.com/GPT-AGI/Clawd-Codex.git
cd Clawd-Codex
# 查看重构摘要
python3 -m src.main summary
# 列出所有已移植命令
python3 -m src.main commands --limit 20
# 运行测试
python3 -m unittest discover -s tests -v
欢迎提交 PR!我们正在共同构建最完整的 Claude Code 开源重构实现。
Star ⭐ | Fork 🍴 | Watch 👀
$ claude mcp add Clawd-Code \
-- python -m otcore.mcp_server <graph>