Practice · Living reference

Loop + Graph EngineeringThe control surface for living systems of work

In the Intelligence Age, knowledge work is being absorbed by agents. What remains scarce is the creation, interpretation, and application of context that lets organizations sense, decide, and act.

Loop Engineering and Graph Engineering are the practical disciplines for designing those adaptive systems. They sit at the heart of Metabolic Organizational Design: turning linear processes into coherent, self-correcting networks of agents, humans, and judgment.

This page is a living reference for Context Creators and Builders inside The Value Network.

Discipline

What is Loop Engineering?

Loop Engineering is the practice of designing systems that prompt, verify, and stop AI agents for you, instead of prompting them turn by turn.

You no longer sit in the inner loop. You design the outer system that:

  • Discovers work
  • Hands it to an agent (or set of agents)
  • Checks the result with independent verification
  • Persists state outside the conversation
  • Decides whether to continue, escalate, or stop

The core shift was named and popularized in mid-2026 by Peter Steinberger, Addy Osmani, and Boris Cherny (Claude Code). Cherny’s practice is representative: he no longer prompts the model directly; he writes loops that do.

Five building blocks + memory

1

Automations

Scheduled or event-driven triggers that discover and triage work

2

Worktrees / isolation

Parallel execution without file or state collisions

3

Skills

Durable procedural knowledge captured once so agents do not need re-teaching

4

Connectors / tools

Real-world access (often via Model Context Protocol)

5

Sub-agents / verifiers

Separate agents that check work so the maker never grades its own homework

6

External memory

State that survives sessions (files, boards, or a proper knowledge store)

A loop is a recursive goal with clear halt conditions, state carry-over, and recovery paths. Without those three primitives the system is immature.

Loop Engineering is not workflow orchestration of deterministic tasks. It coordinates nondeterministic model calls whose next step depends on the model’s own output.

Discipline

What is Graph Engineering?

Graph Engineering is the design of agents, deterministic code, tools, humans, and evaluators as nodes, together with execution conditions, dependencies, state transitions, parallelism, retries, termination, and permissions expressed through edges and shared state.

It is the control surface that connects inputs, processing units, and review.

Nodes

Specialized processing units (researcher, writer, reviewer, human gate, evaluator…)

Edges

Routing, branches, fan-out/fan-in, conditional transitions, retries, escalation

State

Artifacts, progress, evidence, budgets, permissions, checkpoints that flow along the edges

Graphs contain loops. They do not replace them.

A single agent still runs an inner loop. Multiple specialized agents or steps are wired into an explicit topology so that state, permissions, and failure paths are managed at the system level rather than inside one conversation window.

Loop Engineering

Answers

Should this run continue?

Graph Engineering

Answers

Where should execution go next?

Harness Engineering

Answers

What is execution allowed to change?

Most production failures blamed on the model are actually failures of one of these three layers.

Metabolic Organizational Design

Why both matter for Metabolic Organizational Design

Traditional organizations were designed as linear value chains. Metabolic design treats the organization as a living system that must convert information and action into coherent adaptation under entropy.

Loops give individual work units the ability to iterate, verify, and improve without constant human prompting. Graphs give the larger system topology, shared state, parallel paths, and explicit hand-offs between Context Creators, agents, and judgment infrastructure.

Together they support:

  • The Information–Action Cycle at multiple scales
  • Permanent scaffolding for judgment (Strategy Engineer and related agents)
  • Fractionalized, network-first work across independent Context Creators and Builders
  • Systems of Cognition that remain coherent as agentic AI is adopted at scale

The Value Network itself is Customer Zero of these principles. We design the loops and graphs we recommend.

The substrate

SurrealDB for compounding memory and knowledge graphs

Agents fail more often from context and memory problems than from model limitations.

A durable substrate must support:

  • Structured entities and rich, typed relationships (true knowledge graphs)
  • Vector embeddings co-located with the data
  • Hybrid queries (graph traversal + semantic search + structured filters) in one engine
  • Real-time updates and ACID consistency so multiple agents can share state safely
  • Temporal and multi-hop reasoning without stitching five different stores together

SurrealDB is purpose-built for this. It is a multi-model database (graph + document + vector + relational + time-series + more) with a single query language (SurrealQL) that makes knowledge-graph patterns native rather than bolted on.

We use and recommend it as the context and memory layer beneath loops and graphs.

Featured SurrealDB resources

Getting started inside the network

How to begin

  1. Begin with a single bounded loop that has explicit halt conditions, independent verification, and external memory.
  2. Only introduce graph topology when you need multiple specialized nodes, parallel paths, or shared state across agents.
  3. Treat state schemas, checkpoints, and permissions as first-class design work — not afterthoughts.
  4. Keep human authority at high-stakes decision points. The graph and loop should surface evidence; judgment remains human where it matters.
  5. Prefer a durable multi-model store (SurrealDB) over fragmented vector + document + graph stacks so context compounds instead of drifting.

The goal is not maximum autonomy. The goal is metabolic health: systems that sense, decide, and act coherently while humans remain the authors of purpose and the final arbiters of high-stakes judgment.

The Value Network

Metabolic Organizational Design for the Intelligence Age