How does a request actually travel through Claude Code? Most of us type a prompt and watch the magic happen. The diagram below shows what's really going on behi... (opens in new tab)
How does a request actually travel through Claude Code?Most of us type a prompt and watch the magic happen. The diagram below shows what's really going on behind the curtain, based on the Claude Code source code.Let's trace one real request: "Fix the failing test in auth.test.ts."Step 1: The user sends a prompt to Claude Code through their interface.Step 2: The interface (CLI, IDE, or SDK) wraps the prompt with repo and file context and hands it to the agent loop as a request.Step 3: The agen...
Read the original article