---
id: "action-implement-agent-queues"
type: "action-item"
source_timestamps: ["00:32:59", "00:36:29"]
tags: ["system-design", "orchestration"]
related: ["concept-agentic-queues", "claim-queues-over-loops", "framework-afk-agent-pipeline"]
outcome: "More deterministic execution, easier debugging, and the ability to cleanly parallelize work across multiple agents."
speakers: ["Matt Pocock"]
---
# Manage Agents via Queues, Not Loops

## Action

Structure agent workflows by feeding them discrete, scoped tasks from a backlog queue (e.g., GitHub Issues) rather than using infinite while loops.

## Why

See [[concept-agentic-queues]], [[claim-queues-over-loops]], and [[contrarian-queues-not-loops]]. Loop-based architectures (e.g., [[entity-ralph]], Auto-GPT) are non-deterministic and hard to debug.

## Expected outcome

More deterministic execution, easier debugging, and the ability to cleanly parallelize work across multiple agents.

## Concrete moves

- Decompose features into single-PR-sized issues upfront.
- Run one agent per issue.
- Combine with [[framework-afk-agent-pipeline]] for full end-to-end automation.
