Tool Orchestration
2 posts

Agent Loop——How Does an AI's "Brain" Work?
Deep dive into Claude Code’s core Agent Loop: the complete lifecycle from user input to model response. Unveiling the query.ts state machine, tool execution orchestration, and continuation decision logic to understand how the AI coding assistant “thinks” and “acts.”
April 18, 2026 · 8 min · 1599 words · Monster Programming

Tool Execution Orchestration——The Art of Parallelism, Streaming, and Interruption
Deep dive into Claude Code’s tool execution orchestration mechanism: the complete permission checking flow, concurrent execution scheduling strategy, streaming progress propagation, and the implementation principles of user interruption.
April 8, 2026 · 4 min · 777 words · Monster Programming
