Artificial Intelligence

Loop engineering and graph engineering: what they are and what they change for your AI agents

· 4 min read · SISCON Blog

Article cover: Loop engineering and graph engineering: what they are and what they change for your AI agents

In 2026 two new terms entered the conversation about AI agents: loop engineering and graph engineering. Behind the names is a familiar idea: a useful agent is not a prompt, it is a system with clear rules about when to repeat, when to stop and who reviews.

From prompts to systems

First came prompt engineering, then context engineering and harness engineering. Each label moved attention one step further from the model and closer to the system around it. Loop engineering and graph engineering follow that line: they focus on how the agent works over time and how several agents coordinate.

What loop engineering is

IBM defines it as the practice of designing agentic workflows, or loops, that iteratively guide an AI agent toward a goal with minimal human intervention (IBM Think). In practice, designing the loop means deciding five things:

1. A verifiable goal. "The tests pass" can be checked; "it looks good" cannot.
2. A verifier on every turn: tests, schema validation, a linter or an evaluator.
3. A stop criterion: a maximum number of iterations or a signal that progress has stalled.
4. A budget of time, tokens and cost per task.
5. An escalation point where a person decides.

Without those five pieces, a loop can repeat the same mistake many times and burn budget without moving forward.

What graph engineering is

When a task needs several agents, the flow stops being a loop and becomes a graph: nodes (agents or steps), edges (what can follow what) and shared state. Graph engineering is the name given to designing that graph explicitly (Towards Data Science), with tools such as LangGraph. Some critics see it as loop engineering with an org chart drawn on top, and they are partly right: the graph still needs verifiers, stop criteria and human gates on every path.

Not to be confused with GraphRAG

GraphRAG uses a knowledge graph so the model can retrieve related information: entities, relationships and summaries of your documents (Microsoft GraphRAG). It solves a different problem: what the agent knows, not how it works. Both can live in the same system, but they are designed and evaluated separately.

Questions before putting an agent in a loop

How will we know the task is done? Who or what reviews each attempt? How much can the agent spend before it stops? Which steps need human approval? Where is each attempt recorded so it can be audited? If these answers are not written down, the problem is not the model, it is the loop design. Measuring those answers is the job of AI evaluation.

Where it fits at SISCON

We do not treat it as a separate discipline. Loop design and multi-agent orchestration are part of our Harness Engineering service, and the IA Factory production line is, in practice, a loop with verifiers and a person who integrates every change.

Explore Harness Engineering →