the definition

What is graph engineering? A guide for AI agent teams

Graph engineering is the practice of designing AI agent work as an explicit graph: units of work, the paths between them, and the points where a person signs off. Others use the term for multi-agent topologies. In ConvOps it means small workflows one agent walks one step at a time.

the route

7 sections · 10 min

  1. What it means
  2. The ConvOps sense
  3. Prompt, context, graph
  4. Building blocks
  5. Vs LangGraph, n8n
  6. How to start
  7. When not to
01What it means

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.

Senses of "graph engineering", as of October 2026
SenseNodes areWho walks the graphWhere you see it
Multi-agent topologyAgents with roles; edges are hand-offsAn orchestrating agent or a team leadCIO.com BrandPost, arXiv:2608.21156
Computational graphFunctions or model calls; edges are control and data flowA runtime you programLeanpub book, frameworks such as LangGraph
Process graph (ConvOps)Workflow steps; edges are order, detours and loopsYour AI session, one step at a timeConvOps graph engineering
Not this: knowledge graphsEntities and factsA query engineGraph 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

Agent topologynodes are agents
Computational graphnodes are calls in code
Process graphnodes are steps you walk
fig 1 Same name, different nodes.
02The ConvOps sense

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.

routerone door
step
decisiondetour and return
approveapproval
done
fig 2 One door, small workflows, one step at a time.
03Prompt, context, graph

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.

Three design disciplines for AI work
DisciplineUnit you designWhere it livesTypical failure without it
Prompt engineeringOne instructionA message or a system promptThe answer is vague or off-format
Context engineeringWhat the model sees nowRetrieval, memory, tool resultsThe model lacks the fact it needed
Graph engineeringThe path of the workStored workflows, gates, routingSteps are skipped, reordered or approved by nobody

in the prompt read by the AI

"wait for approval"

Shipped. Nobody said yes.

as a gate checked by the engine

Waiting for you.

fig 3 Illustration. A sentence in a prompt versus a stop the engine checks.
04Building blocks

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.

Primitives, tool-agnostic and in ConvOps
PrimitiveWhat it doesIn ConvOps
StepOne unit of work with its own instructionsDelivered to the agent only when the run reaches it
GateA condition that must hold before the run movesEvaluated by the engine on every advance; human approval, children done, status, context recorded
DecisionChooses between paths based on the workRecords the choice, or invokes a sub-workflow that runs and returns
LoopSends work back until it passes a checkA detour that resumes at an earlier step the workflow names
Sub-workflowA reusable piece of processInvoked from a decision, nested up to 5 levels; the parent waits
FragmentShared steps maintained onceEmbedded into many workflows
Fan-outIndependent work done side by sideChild tasks sharing an order start together; the parent waits for all
RouterOne entry point that sends work to the right processA workspace router workflow, or routing rules by type, area, tags and project
Stepone unit of work
Gatechecked on every advance
Decisionrecords or detours
fig 4 A small vocabulary, evaluated by the engine.
05Vs LangGraph, n8n

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

Graph calls the modelframework or automation runtime
Your session walks the graphengine holds the cursor
fig 5 Who runs the graph decides what it is good for.
06How to start

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. 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. 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. 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. 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. 5

    Extract a fragment when two workflows share steps

    Review-and-approve, or a standards check, written once and embedded wherever it applies.

  6. 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.

findings: back to fix
fixreviewsign-offdone
fig 6 Illustration. A failed check detours into a fix and resumes earlier.
07When not to

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.

sourcesClaude Code docs: dynamic workflows

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.