claude-code-from-scratch
AI Agents & AssistantsA step‑by‑step tutorial that rebuilds the Claude Code coding agent in ~4,300 lines of TypeScript and Python
Features
- Recreates core Claude Code architecture (Agent Loop, 13 tools, context compression, memory, skills, multi‑agent, MCP integration)
- Provides a 13‑chapter hands‑on tutorial with runnable code snippets side‑by‑side to the original source
- Supports both TypeScript and Python implementations
- Offers configurable execution modes (plan‑only, CI, cost limits, turn limits)
- Includes live REPL interface for interactive coding assistance
Recent releases
View all 1 releases →No releases yet
We'll surface new releases as they're published — check back soon.
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Install & Platforms
Install via
npm
pip
Platforms
linux
macos
windows