claude-code-from-scratch
AI Agents & AssistantsA step‑by‑step tutorial that teaches how to hand‑write a Claude Code–like coding assistant from scratch using ~5 000 lines of TypeScript and Python
Features
- Builds a minimal Coding Agent with an agent loop, tool system, context compression, memory recall, skill handling, multi‑agent support and MCP integration
- Provides runnable chapter‑by‑chapter code examples that work without any API key (mocked LLM backend)
- Supports both TypeScript and Python implementations with command‑line REPL and configuration options for Anthropic or OpenAI backends
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.
About
Stars
2,273
Forks
485
Languages
Python
TypeScript
JavaScript
Install & Platforms
Install via
npm
pip