Graph engineering
Designing an AI agent system as an explicit map of steps and the routes between them, rather than leaving every next step to the model.
How settled is it?
Very slippery
Everyone uses it, and almost everyone means something different. Ask what they mean.
How did we score this?Who uses it?
Engineers
Mostly used by people who build AI systems, models or integrations as a technical job.
What it is
Graph engineering lays out an agent system as a diagram of boxes and arrows: each box is a step, such as a call to the model, a tool, a check or a person's approval, and each arrow says where the work goes next, including branches and loops. The builder fixes the routes the work can take, so the model makes decisions inside a step rather than choosing the whole path. It is like a flowchart pinned up for an insurance claims team: each handler uses judgment on their case, but the chart decides where the file goes next.
Keeping it straight
How you'll hear it
“We stopped letting the agent decide everything and moved to graph engineering: fixed routes, with the model working inside each step.”
Not to be confused with
A knowledge graph is a map of facts and how they connect. Graph engineering maps the steps an AI system follows and the routes between them; both use the word graph, for different things.
The honest part
The label is new; the idea isn't. It spread in July 2026 after a post on X asked whether developers had moved from loops to graphs, and within days LangChain, which makes the LangGraph framework, wrote that graph engineering "isn't a new idea" and that graphs let builders constrain paths instead of relying solely on the model's judgment. An August 2026 academic survey uses the same name for something broader, graphs that also track agents and the state of the system as it changes, so expect people to mean different things by it. The useful core is old engineering sense: fix the parts of a process that must happen the same way every time, and let the model decide only where judgment helps, which makes the system easier to test and trace. When a vendor says its agents are built on a graph, ask whether you can see and test that map.
In your tools
- LangChain: Workflows and agents in LangGraphOfficial docs for Workflows and agents in LangGraph (opens in a new tab)
- Microsoft: Workflows in Microsoft Agent FrameworkOfficial docs for Workflows in Microsoft Agent Framework (opens in a new tab)
- Google: Graph-based workflows in Agent Development KitOfficial docs for Graph-based workflows in Agent Development Kit (opens in a new tab)
Read next
- Knowledge graphA structured map of facts that records things, such as people, products and companies, and the named relationships between them.
- AutomationSoftware that carries out the same fixed steps every time something specific happens, like a form being submitted or a date arriving.
- OrchestrationCoordinating several agents, tools and steps so they work toward one outcome, deciding what runs when, who gets which piece and how results combine.
Missing a word? Suggest one