New chapter for Agentic Engineering Patterns: I tried to distill key details of how coding agents work under the hood that are most useful to understand in order to use them effectively https://t.co/14ai3UP79C
Simon Willison Publishes Guide on How Coding Agents Work Under the Hood
Simon Willison· Updated
Simon Willison's new Agentic Engineering Patterns chapter breaks down how coding agents work — from LLM token mechanics and tool calling to system prompts and reasoning. A companion chapter covers subagents across seven major coding agents.
This fills a practical gap for anyone using Claude Code, Codex, or Cursor — understanding the underlying loop helps you make better decisions about prompt structure, cost management, and when to increase reasoning effort. A follow-up chapter covers subagents now shipping across seven major coding agents.
Read through the guide alongside your current coding agent workflow — the mental model of "LLM + system prompt + tools in a loop" reframes how you structure tasks and debug agent behavior.
Every HeadsUpAI update is written based on its original source and reviewed before it's published. Read our editorial standards →





