Series8 parts8 of 8 publishedComplete
Agent loop
Building a coding agent from scratch, one loop at a time, every part in runnable code.
Start with part 01- 01What an agent loop is (and isn't): state, action, stop
- 02The simplest loop that works: a write-test-fix agent, step by step
- 03The sandbox in an agent loop: from the model's text to a reliable observation
- 04Who writes the agent's tests: three ways to define what's correct
- 05From generating files to using tools: a code agent's ReAct loop
- 06The agent inside a real repo: isolating tasks with git worktree and shipping a PR
- 07From a Jira ticket to a pull request: the end-to-end autonomous system
- 08The hard limits of an autonomous agent: what keeps it from disaster