Claude Code Unpacked
What actually happens when you type a message into Claude Code? The query loop, 40+ tools, multi-agent orchestration, and unreleased features, mapped straight from the source.
0+
Files
0K+
Lines of Code
0+
Tools
0+
Commands
01
The Query 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
User types a message or pipes input through stdin
● claude-code
$
Keyboard input comes from Ink's TextInput component. In non-interactive mode, it reads from piped stdin instead.
1/11
02
Architecture Explorer
Click around the source tree. Area = file count.
Tools & Commands
Core Processing
UI Layer
Infrastructure
Support & Utilities
Personality & UX
03
Tool System
Every built-in tool Claude Code can call, sorted by what it does.
File Operations
6 tools
Execution
3 tools
Search & Fetch
3 tools
Agents & Tasks
10 tools
Planning
4 tools
MCP
4 tools
System
6 tools
Experimental
4 tools
Click a tool to see details and source code