Agent loop
Every article on Agent loop published on this blog, newest first: 8 in total, written by Ramón Chancay.
8 articles on Agent loop
The hard limits of an autonomous agent: what keeps it from disaster
Hard limits that let you leave an autonomous agent running: iteration and token caps, command and path allowlists, a kill switch, idempotency, observability.
Read moreFrom a Jira ticket to a pull request: the end-to-end autonomous system
How I made the agent an autonomous system: a Jira ticket triggers it, a queue with persistent state runs it exactly once, and it returns a PR and a comment.
Read moreThe agent inside a real repo: isolating tasks with git worktree and shipping a PR
How to put an agent loop to work on a real repo: isolate each task with git worktree, reproduce the bug with a test, run the suite and ship a PR, not a merge.
Read moreFrom generating files to using tools: a code agent's ReAct loop
From generating a whole function to a code agent that reads, searches, edits and runs with tools: the ReAct loop, and why the agent builds its own context.
Read moreWho writes the agent's tests: three ways to define what's correct
Who writes a coding agent's tests decides what counts as correct. Three options: spec and tests by hand, examples it turns into tests, or the repo's own suite.
Read moreThe sandbox in an agent loop: from the model's text to a reliable observation
The sandbox in an agent loop turns LLM-generated code into a reliable observation: extract the code, check it parses, run it with a timeout, isolate it.
Read moreThe simplest loop that works: a write-test-fix agent, step by step
The simplest agent loop that works: spec and tests by hand, the model writes code, it runs, and failures feed back as context. A complete write-test-fix loop.
Read moreWhat an agent loop is (and isn't): state, action, stop
What an agent loop is and isn't: its three components—state, action, and stopping condition—and why 'build me an app' is input for a chat, not an agent.
Read more