Windy3f3f3f3f/claude-code-from-scratch

🔍 Claude Code 开源了 50 万行代码,读不动?用 ~3000 行 TypeScript 从零复现核心架构,11 章分步教程带你理解 coding agent 精髓。Build your own Claude Code from scratch.

67
/ 100
Established

This project provides a step-by-step tutorial for understanding how advanced AI coding assistants like Claude Code work. It distills complex AI architecture into a simplified, hands-on learning experience. You'll gain practical understanding of coding agent principles by building a functional mini-version from scratch, using either TypeScript or Python.

711 stars. Actively maintained with 30 commits in the last 30 days.

Use this if you are a software engineer or AI enthusiast who wants to deeply understand the core mechanisms of modern AI coding agents without sifting through hundreds of thousands of lines of production code.

Not ideal if you are looking for a ready-to-use AI coding assistant for immediate production tasks, as this project is designed for educational purposes rather than direct deployment.

AI-engineering software-development large-language-models coding-agents system-design
No Package No Dependents
Maintenance 23 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 25 / 25

How are scores calculated?

Stars

711

Forks

274

Language

TypeScript

License

MIT

Category

coding-agent

Last pushed

Apr 03, 2026

Commits (30d)

30

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/agents/Windy3f3f3f3f/claude-code-from-scratch"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.