Windy3f3f3f3f/claude-code-from-scratch

Build your own Claude Code from scratch. 🔍 Claude Code is open-sourced with 500,000 lines of code—too much to read? Reimplement its core architecture from scratch in ~5,000 lines of TypeScript/Python, with an 11-chapter step-by-step tutorial to help you understand the essence of coding agents.

About the project

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.

This repository also configures its own agents. See what claude-code-from-scratch tells them →

2.8kStars on the repository
5Mods indexed here, across every type
3mo agoLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

test

01

Windy3f3f3f3f/claude-code-from-scratch

MCP server Claude CodeCodexCursor +2

MCP server "test" as configured in Windy3f3f3f3f/claude-code-from-scratch. Runs test/mcp-server.cjs with node.

not rated 2.8k +13 3mo ago A tokens not measured original MIT