Agentic Loop Engine ⭐
How a while(true) loop drives the entire AI agent — 7 stages, async generators, streaming tool execution, and 6 stop conditions.
Read more →
Agentic Loop Engine ⭐
How a while(true) loop drives the entire AI agent — 7 stages, async generators, streaming tool execution, and 6 stop conditions.
Read more →
Multi-Agent System ⭐
From single agent to Fork → Coordinator → Team/Swarm. Complete evolution of a production multi-agent architecture. Read more →
27-Layer Bash Security
The most thorough command security in any AI tool — AST parsing, semantic analysis, and 27 decision checkpoints. Read more →
Reusable Design Patterns ⭐
7 battle-tested patterns extracted from production code: async generator loops, streaming execution, context compression, and more. Read more →
What is Claude Code, architecture map, codebase stats, and how to read this analysis.
Entry point, configuration system, streaming infrastructure, and error handling.
The core engine — while(true) loop, turn lifecycle, tool dispatch, stop conditions.
46 built-in tools, streaming executor, hook system, and MCP integration.
Single agent → Fork → Coordinator → Team/Swarm. The complete multi-agent architecture.
System prompt assembly, prompt cache strategy, 4-layer compression, and memory.
Permission model, 27-layer Bash security, rule system, and threat analysis.
7 reusable patterns extracted from Claude Code — ready to apply in your own projects.
Honest analysis of strengths, weaknesses, trade-offs, and lessons for agent builders.
Built with ❤️ for the AI agent developer community.
This is an independent analysis project, not affiliated with Anthropic.