Claude Code Unpacked
What actually happens when you type a message into Claude Code? The agent loop, 50+ tools, multi-agent orchestration, and unreleased features, mapped straight from the source.
The Agent Loop
From keypress to rendered response, step by step through the source.
Watch what happens when you send a message to Claude Code
1User Input
src/components/TextInput.tsxUser types a message or pipes input through stdin
Keyboard input comes from Ink's TextInput component. In non-interactive mode, it reads from piped stdin instead.
Architecture Explorer
Click around the source tree to explore what's inside.
Tool System
Every built-in tool Claude Code can call, sorted by what it does.
Click a tool to see details and source code
Command Catalog
Every slash command available in Claude Code, sorted by what it does.
Click a command to see details and source code