Simon Willison published a new chapter in his Agentic Engineering Patterns guide explaining how coding agents work. The guide defines a coding agent as an LLM wrapped in a harness โ software that extends the model with a system prompt, callable tools, and a loop that replays conversation state. It covers token mechanics, chat templates, cached input tokens, tool calling, and how reasoning lets models spend more time on harder problems.
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.