Skip to Content
loop.fun
Patterns

Graphs and teams

When one loop isn't enough, the patterns are planners, sub-agents, agent teams, kanban boards and "graph engineering".

At Layer 4, loops orchestrate other loops. The motivation is usually one of three:

  1. Context isolation. A sub-agent explores a codebase or runs a noisy tool and returns a summary, so the main agent's context stays clean. Google's subagents in Gemini CLI were introduced with exactly this argument: specialized instructions and tools, isolated contexts, no accumulation of intermediate results.
  2. Parallelism. Several agents work at once on independent parts.
  3. Specialisation. Planner, implementer, reviewer and tester each get a narrower job.

The shapes in the wild

"Graph engineering"

In July 2026 Peter Steinberger asked on X whether the field had moved "from loops to graphs". The post reportedly drew millions of views and a wave of "graph engineering" articles (Towards Data Science, Louis Bouchard, Zero Future Tech). Hamel Husain's response, "Loop Engineering Is Dead", was widely read as a joke (WiLine). contested

The sober take, shared by most commentators:

  • A loop is a graph with one node that points back at itself. Graphs contain loops; they don't replace them (Analytics Vidhya).
  • Loop engineering is about making one agent reliable; graph engineering is about coordinating many. They're different layers, not successive eras.
  • It's not new. AutoGen, Google's ADK and LangGraph supported multi-agent graphs well before the term trended (Data Engineer Things). Some argue the shape of the agent graph matters less than the infrastructure underneath it (iii.dev).

What gets harder with more loops

  • Shared state. Who owns the truth when five agents edit the same repo? Worktrees help for files; nothing standard exists for goals.
  • Silent failures between agents. An arXiv study of multi-agent systems documents messages that get "silently delivered" across channel boundaries but never acted on.
  • Ping-pong. The most-cited cost horror story is two agents in a four-agent setup sending requests back and forth for 264 hours (AI agent cost horror stories). anecdotal
  • Supervision. Claude Code's Agent View, a single screen showing every session and which need input, exists because people lost track (Cobus Greyling).

loop.fun

Patterns, hints and tools for designing the loops that keep agents working, and for widening the set of loops you can think of.

© 2026 loop.fun · CC BY 4.0

On this page