Claude Code — Agentic Workflow

From prompt to streamed response. Toggle layers to inspect what runs.

Layout
Default
Base
Extended
Simulate context fill 30% auto-compacted
Drag past 83.5% to trigger auto-compaction. The HISTORY block in the diagram grows as the slider rises, then collapses to a <summary> + recent turns.
Claude Code agentic workflow diagram Interactive flowchart from user prompt to response, with optional layers for hooks and the tool-use loop.
Step Context Hook (lifecycle) Model / decision Tool execution Subagent
Toggle hooks and the tool-use loop to see Claude Code's minimum vs full processing path.
KAI by Dragan Filipovic