Windy3f3f3f3f/claude-code-from-scratch
🔍 Claude Code 开源了 50 万行代码,读不动?用 ~3000 行 TypeScript 从零复现核心架构,11 章分步教程带你理解 coding agent 精髓。Build your own Claude Code from scratch.
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.
Stars
711
Forks
274
Language
TypeScript
License
MIT
Category
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.
Related agents
Windy3f3f3f3f/how-claude-code-works
Deep dive into Claude Code internals — architecture, agent loop, context engineering, and more....
JCodesMore/ai-website-cloner-template
Clone any website with one command using AI coding agents
repowise-dev/claude-code-prompts
Independently authored prompt templates for AI coding agents — system prompts, tool prompts,...
Enderfga/openclaw-claude-code
OpenClaw plugin — turn Claude Code CLI into a programmable, headless coding engine with plenty...
noya21th/claude-source-leaked
Claude Code v2.1.88 source analysis: system prompts, 87 hidden feature flags, cost optimization,...