What does graph engineering mean?
Graph engineering means designing how AI agents work as an explicit structure of nodes and edges, instead of leaving the plan inside one model's head or one long prompt. The term is new and used in more than one sense, so it is worth reading each definition before adopting any of them. For the one-sentence version, see the graph engineering definition.
An Atlassian-sponsored article on CIO.com (20 August 2026) defines it as "how many agents work as a system: which agents exist, what each one owns, how work splits across them, where results come back together, and where a person still signs off". The arXiv paper "Graph Engineering in the Era of LLM Agents" (arXiv:2608.21156, August 2026) calls it a structure-centered paradigm that uses explicit, dynamic graphs to represent tasks, agents and system state. The book "Graph Engineering for AI Agents" on Leanpub frames it around computational graphs: directed nodes and edges that encode state, control flow, parallelism and recovery.
Those three agree on the core idea: reliability comes from structure you can inspect, not from a cleverer prompt. They differ on what the nodes are. The table below separates the senses you will meet, so a search result, a vendor page and a paper can be read side by side.
| Sense | Nodes are | Who walks the graph | Where you see it |
|---|---|---|---|
| Multi-agent topology | Agents with roles; edges are hand-offs | An orchestrating agent or a team lead | CIO.com BrandPost, arXiv:2608.21156 |
| Computational graph | Functions or model calls; edges are control and data flow | A runtime you program | Leanpub book, frameworks such as LangGraph |
| Process graph (ConvOps) | Workflow steps; edges are order, detours and loops | Your AI session, one step at a time | ConvOps graph engineering |
| Not this: knowledge graphs | Entities and facts | A query engine | Graph databases, GraphRAG |
sourcesCIO.com: Graph engineering is where AI agents stop working alone (20 Aug 2026)arXiv:2608.21156: Graph Engineering in the Era of LLM AgentsLeanpub: Graph Engineering for AI Agents
How does ConvOps define graph engineering?
In ConvOps, graph engineering is designing your process as a graph of small workflows behind one door, which your agent walks one step at a time. The agent never holds the whole process. It asks for the current step, does the work in its own client, and asks the engine to advance.
The graph has a small vocabulary on purpose. A router workflow takes every new piece of work. Decisions record a choice or detour into a sub-workflow that runs to completion and returns. Loops send the run back to an earlier step the workflow names. Fragments keep shared steps in one place. Child tasks fan work out to several agents and the parent waits for all of them. Gates sit on steps, and the engine evaluates them on every attempt to advance.
Two things are deliberately absent: there is no jump to an arbitrary step, and steps inside one workflow never run at the same time. Every path comes back to the line, so a run always has exactly one current step and anyone can say where it can go next. The thesis behind it is short: the knowledge grows, the prompt does not.
How is graph engineering different from prompt engineering and context engineering?
Prompt engineering shapes one request. Context engineering shapes what a model sees at a given moment. Graph engineering shapes the order of the work and the points where it must stop, across many requests and many sessions. They stack rather than compete: a well-designed graph still hands each step a good prompt and the right context.
| Discipline | Unit you design | Where it lives | Typical failure without it |
|---|---|---|---|
| Prompt engineering | One instruction | A message or a system prompt | The answer is vague or off-format |
| Context engineering | What the model sees now | Retrieval, memory, tool results | The model lacks the fact it needed |
| Graph engineering | The path of the work | Stored workflows, gates, routing | Steps are skipped, reordered or approved by nobody |
in the prompt read by the AI
Shipped. Nobody said yes.
as a gate checked by the engine
Waiting for you.
What are the building blocks of an agent work graph?
Whatever tool you use, a work graph needs a handful of primitives. The difference between tools is mostly who evaluates them: the model reading prose, a script you wrote, or an engine checking stored structure.
| Primitive | What it does | In ConvOps |
|---|---|---|
| Step | One unit of work with its own instructions | Delivered to the agent only when the run reaches it |
| Gate | A condition that must hold before the run moves | Evaluated by the engine on every advance; human approval, children done, status, context recorded |
| Decision | Chooses between paths based on the work | Records the choice, or invokes a sub-workflow that runs and returns |
| Loop | Sends work back until it passes a check | A detour that resumes at an earlier step the workflow names |
| Sub-workflow | A reusable piece of process | Invoked from a decision, nested up to 5 levels; the parent waits |
| Fragment | Shared steps maintained once | Embedded into many workflows |
| Fan-out | Independent work done side by side | Child tasks sharing an order start together; the parent waits for all |
| Router | One entry point that sends work to the right process | A workspace router workflow, or routing rules by type, area, tags and project |
How is a process graph different from LangGraph or n8n?
Frameworks such as LangGraph are graphs that call models and APIs. LangGraph describes itself as "a low-level orchestration framework and runtime for building, managing, and deploying long-running, stateful agents", with durable execution, human-in-the-loop and memory. Workflow automation tools such as n8n wire nodes that call services. In both, you build the graph as code or as a canvas, and the runtime calls the model.
A process graph inverts that. The engine holds the graph and the cursor; your AI session is the runtime. Claude Code, Codex, Cursor or any MCP client asks for the current step, does the work with its own tools, and advances. That makes it a fit for session-shaped work, where a human may be present and the agent needs its full working context, and a weaker fit for headless, high-volume transformations, where a coded pipeline is the better tool.
Neither is the "real" graph engineering. If your graph is a fixed pipeline of model calls, a framework gives you typed state, retries and fine control in code. If your graph is how a team does its work, with sign-offs and runs that span days and tools, a process engine keeps that structure outside any one session.
sourcesLangGraph overview (LangChain docs)n8n documentation
How do you start graph engineering?
Start from one process your team already repeats with AI, and grow the graph only where the work proves it needs a new path. The steps below apply to any engine; the payloads show the shapes ConvOps stores.
- 1
Write the line first
List the steps in order, as they really happen, each with instructions for that step alone. Resist branches until a real run needs one.
- 2
Place one gate where a mistake is expensive
The release, the outbound message, the publish. One stop the engine checks is worth more than ten sentences asking the model to wait.
{ "id": "approve", "gate": { "requires_approval": true } } - 3
Turn a recurring exception into a detour
When the same "it depends" keeps appearing, make it a decision that invokes a sub-workflow and returns to the line.
{ "decision": true, "conditions": [ { "id": "unclear", "invoke": "deep-research" }, { "id": "go", "when": "default" } ] } - 4
Add a loop where quality is checked
A failed review detours into a fix sub-workflow and resumes at an earlier step, so the gate ahead only opens on a pass.
- 5
Extract a fragment when two workflows share steps
Review-and-approve, or a standards check, written once and embedded wherever it applies.
- 6
Put one door in front
When several workflows exist, a router takes every new task, triages it, and records why it went where it went.
When is graph engineering the wrong tool?
Structure has a cost, and not every task should pay it. Skip the graph when the work is a one-off, when nobody will ever need to know how it was done, or when a single prompt already gets it right every time.
Pick a different kind of graph when the job is a large, parallel sweep inside one session: Claude Code's dynamic workflows run a script that orchestrates many subagents, up to 1,000 agents per run, with no mid-run user input. Pick a coded framework when every node is deterministic code around a model call. Pick a process graph when the work involves people, sign-offs and runs that outlive a session.
Frequently asked questions
Is graph engineering the same as using a graph database?
No. Knowledge graphs and graph databases store facts and the relations between them. Graph engineering, in every sense used for AI agents, is about structuring the work: steps, paths and checkpoints. An agent can use a knowledge graph as a tool inside a step of a work graph.
Who coined the term graph engineering?
No single origin is established. As of October 2026 it appears in a Leanpub book, an arXiv paper (arXiv:2608.21156) and an Atlassian-sponsored CIO.com article, mostly in the multi-agent sense. ConvOps uses it as a method name for process graphs and says so explicitly.
Do I need several agents to do graph engineering?
No. A process graph works with one agent walking it one step at a time. Several agents enter only where work is independent, as child tasks that start together while the parent waits.
Can a step in a ConvOps workflow jump to any other step?
No, by design. A decision records a choice or detours into a sub-workflow that returns, and a loop goes back to a step the workflow names. Every path comes back to the line, so a run always has one current step.
Is there a visual editor for the graph?
No canvas. You describe the change from your AI client in conversation, and the engine stores the steps, decisions and links it evaluates.