NewSplitkick v1.6 is out.Answers in the same turn, a new vertical navigation, and Web Access with Tailscale and a QR code.What’s new →
Article

Graph engineering: the layer above the agent loop

Harness, loop, graph: the three layers that turn a model into a working system. Most workbenches are strong at the first two. The third is mostly missing.

A new term is going around in agent engineering: graph engineering. In August a group of researchers put out a long survey on it, Graph Engineering in the Era of LLM Agents: From Individual Intelligence to System Intelligence. It is a preprint, not a reviewed paper, but the idea in it is clear, and it matches what we see every day. This post is about that idea and what we noticed. It is not our answer yet.

Three layers

The paper describes an agent with a short formula: Agent = Loop(LLM + Harness). Put a graph above that, and you get three layers that turn a model into a working system.

Three stacked layers. At the bottom, Harness: terminal, lock and document icons. In the middle, Loop: a circular arrow around one agent. At the top, Graph: five nodes joined by arrows, with two branches that run in parallel and join again, and a last step with a person and a check mark for a human approval. Dashed arrows show that one node of the graph is a loop, and the loop runs on the harness.

Each layer builds on the one below it. A loop becomes one node in the graph.

  • Harness. What one agent can do: the system prompt, the tools, the permissions and the context window. In the paper’s words, the harness “determines what capabilities and resources are available to the agent”.
  • Loop. How one agent works over time. It finds out what is there, does the work, checks its own result, corrects it and tries again, until the goal is backed by evidence or it is time to stop. The paper calls this a cycle “of planning, action, observation, verification, and adaptation”.
  • Graph. The layer above the single agent. The task is split into nodes and edges, with branches, parallel work, shared state and human approvals, instead of one long chain that breaks at its weakest step.

The graph does not replace the loop. Each node can be a full loop with its own harness. Rick Hightower puts it well in Graph engineering is two ideas wearing one name: “A single loop is the smallest possible graph: one node with an edge back to itself.” He also places the three layers on top of two older ones, prompt and context. Analytics Vidhya has a good technical guide to the same three layers.

Why one loop is not enough

The paper’s reason for the graph is simple. Many real tasks need different skills, sub-tasks that depend on each other, parallel work, an independent check and state that lasts. When all of that runs in one agent loop, it all has to fit into one context and one sequence of steps. Then, as the paper says, it becomes impossible “to isolate concurrent work, synchronize on shared results, or recover partial progress independently”.

A bigger context window or a better prompt does not fix that. It is a question of structure. The paper names three jobs for the graph: organise the task (what depends on what, what can run at the same time, what must be checked), coordinate the agents (who does which part, who reviews, how results come together) and keep the state of the run (what is done, what failed, what can restart).

It also keeps people in the picture. Some steps need a human to clarify, review or approve, and a graph can show those steps as edges, not as a note in someone’s chat.

What we noticed

Most agent workbenches today, coding tools included, are strong at the first two layers. You get one agent, in one chat, in one worktree, and it is very good at its task. The harness is rich and the loop is good. Agents read the code, run the tests and fix their own mistakes.

The graph layer is mostly missing. When a job needs more than one agent, a person still plays the graph by hand. They start the sessions, wait, check the results, merge, and decide what comes next. The state of the whole job lives in their head or in a chat history. It gets lost, and nobody else can see it.

An example from a normal week

Take a release with a handful of fixes:

  1. Several issues are built in parallel, one agent per issue, each in its own worktree.
  2. Two of them change the same API, so they share a contract, and one of them must wait for the other.
  3. Each result goes to a review, ideally by a different agent.
  4. The approved branches are merged, one after the other.
  5. A release is built from the merged state.
  6. The docs are updated for what changed.
  7. Before anything is published, a person signs it off.

Each step on its own is something a good agent can do today. The difficult part is everything between the steps: what can start now, what waits for what, what failed and must run again, and who said yes. That is the graph. Today it is usually a person with many tabs open and a list in their head.

Where Splitkick stands

Splitkick already runs many agent sessions side by side, each in its own worktree, with parent and child sessions. A session can start other sessions, brief them and collect their results (see the orchestrator pattern). That is a good base. But a set of sessions that know each other is not yet a graph that you can see, stop, resume and approve.

We think the graph is the next layer a workbench needs. We have our own ideas about what it should look like for people who run agents every day, and we will share our take on it soon.

← All posts