Windy3f3f3f3f/claude-code-from-scratch
1,312 stars · Last commit 2026-05-12
Build your own Claude Code from scratch. 🔍 Claude Code 开源了 50 万行代码,读不动?用 ~4000 行 TypeScript / Python 从零复现核心架构,11 章分步教程带你理解 coding agent 精髓
README preview
<div align="center"> # Claude Code From Scratch **一步一步,从零造一个 Claude Code** [](https://github.com/Windy3f3f3f3f/claude-code-from-scratch) [](https://github.com/Windy3f3f3f3f/claude-code-from-scratch/fork) [](./LICENSE) [](#) [](#) [](#) <br/> [**📘 在线阅读教程 →**](https://windy3f3f3f3f.github.io/claude-code-from-scratch/) | [📘 Read Tutorial (English) →](https://windy3f3f3f3f.github.io/claude-code-from-scratch/#/en/) | [English](./README_EN.md)