Practice · Living reference
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
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:
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
Scheduled or event-driven triggers that discover and triage work
2
Parallel execution without file or state collisions
3
Durable procedural knowledge captured once so agents do not need re-teaching
4
Real-world access (often via Model Context Protocol)
5
Separate agents that check work so the maker never grades its own homework
6
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
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.
Specialized processing units (researcher, writer, reviewer, human gate, evaluator…)
Routing, branches, fan-out/fan-in, conditional transitions, retries, escalation
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.
Answers
Should this run continue?
Answers
Where should execution go next?
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
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 Value Network itself is Customer Zero of these principles. We design the loops and graphs we recommend.
The substrate
Agents fail more often from context and memory problems than from model limitations.
A durable substrate must support:
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
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.
Metabolic Organizational Design for the Intelligence Age