Agent loop
An agent loop is the repeating rhythm of an agent’s work: think, call a tool, look at the result, think again. The loop runs until the task is solved or the agent needs a human.
Words of the source
- Anthropic: Building effective agents · “it's crucial for the agents to gain “ground truth” from the environment at each step”: the result of a step returns to the agent as a feedback loop
Frequently asked questions
Where it appears · 5
- What are quality gates for AI agents · Harness
- Short bug feedback loop · Harness
- Jira and an AI agent · Harness
- AI agent = LLM + harness · Harness
- Harness engineering in practice · Harness