teyou.dev

SGT --:--:--

← All work

▶ Video · 7:39 · 21 Oct 2026 · @teyou

Loops to Graphs: How I Stopped Prompting My Coding Agents

How I went from prompting coding agents one at a time to a graph of loops that ships 25 pull requests in a day.

(In short)

I used to run AI coding agents one at a time, and I was the blocker: every agent stopped to ask me something, and three or four in parallel was my limit.

Now I talk to one agent, a chief of staff. It starts a manager for each issue, and each manager runs a builder and a fresh verifier on a different model, so every pull request arrives with evidence I can review instead of reading every line. On one day, 25 pull requests merged with up to 10 agents at work.

The video walks through the harness, the three loops, why it is really a graph of loops, how labels move the work, and what I have learned.

(Key points)

  1. 01

    The old way does not scale

    Agents run into things nobody planned for, stop, and wait for me. Three or four in parallel was my limit.

  2. 02

    One chain of command

    I talk to a chief of staff. It starts a manager for each issue, and each manager runs a builder and a fresh verifier per ticket, always on different models: a review from the same model family once missed five problems.

  3. 03

    A graph of loops

    The roles and handoffs are fixed in advance (the graph), and each role runs its own loop inside. A ticket merges only when the checks pass; otherwise it goes back to the builder.

  4. 04

    Evidence, not every line

    Every pull request carries why, scope, verification and evidence (screenshots or video, tests red then green), and GitHub labels move the work: needs-triage → ready-for-agent → in progress, blocked or review → closed.

  5. 05

    Results, and the next bottleneck

    Before: about 3 pull requests merged a day. On 26 Sep 2026: 25 merged, 94 agent sessions, up to 10 at once. Now the laptop is the limit, so next the agents move to the cloud.

(Chapters)

  1. 0:00The old way: I was the blocker
  2. 0:27Others are saying the same thing
  3. 0:56Something different: a chief of staff
  4. 1:16What it looks like in Herdr
  5. 1:54One harness, three loops
  6. 2:58Loops or graphs? A graph of loops
  7. 3:26My part: three steps
  8. 3:58Labels move the work
  9. 4:23How I trust what agents ship
  10. 5:00The results
  11. 5:20Try it with Herdr
  12. 5:43From my phone
  13. 6:15What I’ve learned
  14. 6:57What’s next
  15. 7:16Try one ticket this week
  16. 7:26References

(References)

  1. Matt Pocock, skills (grilling, handoff, to-spec, to-tickets)github.com/mattpocock/skills
  2. poteto, pstack (Lauren @ SpaceXAI)x.com/poteto/article/2094457600259842065
  3. Herdrherdr.dev
  4. Heeler, Herdr on iOSheeler.bybee.dev github.com/ZingerLittleBee/Heeler
  5. Peter Steinberger, loops then graphsx.com/steipete/status/2063697162748260627 x.com/steipete/status/2078277297791189132
  6. Boris Cherny: Claude Code & the Future of Engineering, Acquired Unplugged (WorkOS)youtube.com/watch?v=RkQQ7WEor7w
  7. Harness Engineering: How to Build Software When Humans Steer, Agents Execute, Ryan Lopopolo (OpenAI)youtube.com/watch?v=am_oeAoUhew
  8. DHH’s new setup for programming with AI, Lex Fridmanyoutube.com/watch?v=4Xg1AE6Uu1k