woodx9/build-your-claude-code-from-scratch
Build a Claude Code–like CLI coding agent from scratch.
Implements a progressive multi-chapter learning framework for agentic AI systems, from basic tool calling (native function calls and XML formats) through advanced patterns like ReAct loops, real-time streaming with character-by-character output, intelligent conversation history compression with token tracking, and sub-agent delegation with async execution. Architecture centers on the "Quick Star" CLI agent that integrates with Claude/OpenAI-compatible APIs via OpenRouter, including native MCP (Model Context Protocol) server support for dynamic external tool loading, while demonstrating practical code generation workflows through interactive debugging and file management.
111 stars.
Stars
111
Forks
14
Language
Python
License
MIT
Category
Last pushed
Jan 22, 2026
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/agents/woodx9/build-your-claude-code-from-scratch"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Compare
Higher-rated alternatives
shareAI-lab/learn-claude-code
Bash is all you need - A nano Claude Code–like agent, built from 0 to 1
zebbern/claude-code-guide
Claude Code Guide - Setup, Commands, workflows, agents, skills & tips-n-tricks go from beginner...
kalil0321/reverse-api-engineer
Claude engineer that captures traffic, writes documentation and automatically generates API...
nicksp/dotfiles
My personal dotfiles: Zsh, Git, VSCode, Cursor, Obsidian, Ghostty, etc.
K-Dense-AI/claude-scientific-writer
A general purpose scientific writer