Build your own Claude Code from scratch. 🔍 Claude Code 开源了 50 万行代码,读不动?用 ~5000 行 TypeScript / Python 从零复现核心架构,11 章分步教程带你理解 coding agent 精髓
Claude Code From Scratch is a step-by-step learning project that recreates the core architecture of a coding agent in roughly 5,000 lines of TypeScript and Python. It is for developers who want to understand how coding agents work without reading a much larger codebase.
Latest release v1.0.0 · 31 Mar 2026
These files are Windy3f3f3f3f/claude-code-from-scratch's own configuration. They tell Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.
CLAUDE.md A 31 tok .claude/agents/reviewer.md A 13 tok