#408 · Primary category: Education & Research
claude-code-from-source
Architecture, patterns & internals of Anthropic's AI coding agent — reverse-engineered from source maps
Project last updated:04/04/26
GitHub Stars
2.8K
Forks
755
Contributors
1
License
Other
Why we included this project
This is a full-length technical book rather than a software tool, and that is what makes it useful. It takes a production AI coding agent like Claude Code and studies it from the inside, turning what it finds into 18 chapters. If you build agentic systems for a living, the patterns it covers, such as speculative tool execution, safety-partitioned batching, fork agents that share prompt cache prefixes, four-layer context compression, and slot-reservation for output caps, are the kind of design details you usually pick up only after shipping something slow and expensive. Each chapter pairs a narrative for technical leaders with deeper sections for implementers, and closes with an 'Apply This' section full of patterns you can adapt to your own stack. The repository deliberately contains no proprietary code; every code block is original pseudocode illustrating the architecture. For engineers, team leads, and anyone curious how a widely used coding agent actually works under the hood, this is a practical self-study resource on agent internals.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI