Skip to content

Claude Code Inspect

Deep-dive into Anthropic's production AI agent: 512K+ lines of TypeScript, reverse-engineered and explained.
512K+Lines of TypeScript
46Built-in Tools
5Agent Types
27Bash Security Layers

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 →

🔧 Agent Developer (4 hours)

Build your own agent system

🛡️ Security Researcher (3 hours)

Understand AI agent security

Built with ❤️ for the AI agent developer community.
This is an independent analysis project, not affiliated with Anthropic.