This website uses cookies

Read our Privacy policy and Terms of use for more information.

Most plans are written as lists.

  1. Gather the information

  2. Analyze it

  3. Make a decision

  4. Produce the result

That works when a job is purely sequential, but most difficult tasks are not. Some things should happen at the same time, others depend on earlier results, and sometimes you have to return to an earlier step again.

This is the basic idea behind graph engineering, a newer AI term for designing the structure that models, tools, and people work through together. We’re going to look at it from an AI lens, then see how we can apply it in other useful ways.

From a prompt to a graph

Prompt engineering focuses on the instruction given to an AI model.

A more capable system may place that model inside a loop. It attempts the task, inspects the result, revises its work, and continues until it reaches a stopping condition.

Graph engineering adds a larger structure around those loops. Instead of asking one agent to keep working until it is satisfied, the task is divided into connected parts.

In a graph, the parts are called nodes and the connections between them are edges. A node might be a researcher, a calculation, a database search, a verification step, or a human approval. The edges determine what happens next and what must be true before the work can continue.

Consider a system built to produce a research report.

One part could search academic sources while another checks internal files. Their findings could flow to a claim extractor and then to a separate verifier. If a claim fails verification, only that part returns for more research. Verified material moves to the writer, and the finished draft stops for human review before publication.

The work can branch, happen in parallel, merge again, or move backward when something fails. That is what makes it a graph rather than a longer checklist.

The structure carries judgment

A useful graph does more than divide work into smaller pieces. It also captures decisions about how the work should be done.

It can separate creation from evaluation so the same agent is not automatically approving its own output. It can prevent writing from starting before the evidence has been checked. It can also reserve human attention for decisions that actually require judgment.

Telling a capable system to “complete the task” leaves many choices unstated. The system must decide what to do first, what to trust, when to retry, and when it is finished.

Sometimes that freedom is useful. In other situations, those are the decisions that should be designed beforehand.

The same problem appears outside AI.

A project plan can list every activity while hiding the dependencies between them. A review process can require several approvals without defining what each person is responsible for checking. A team can work sequentially even though several parts could have started at the same time.

A list is good for making sure everything gets done, but a graph is more effective at doing it efficiently and to a higher standard.

Better questions for complicated work

When a task becomes difficult to coordinate, asking “What are the steps?” is only the beginning.

It also helps to ask:

  • What must be true before each part can begin?

  • Which parts can happen in parallel?

  • Where should the work be checked?

  • What happens when a check fails?

  • Which decisions require a person?

These questions make bottlenecks, unnecessary handoffs, missing checks, and unclear ownership easier to see.

They can also make changes easier to manage. If one source or assumption changes, you should be able to update the parts that depend on it without rebuilding everything else.

Not every task needs a graph

There is an obvious risk of overengineering this.

A task that one person can complete correctly in ten minutes probably does not need multiple agents or branching logic. Every additional node creates another handoff that must be defined and maintained.

Graph engineering is most useful when the work has real dependencies, parallel paths, specialized roles, or meaningful failure states. For simple work, a clear instruction or short checklist is usually better.

The broader lesson is that complicated work improves when its structure is made explicit.

Whether the workers are AI agents, software tools, or people, it helps to design how information moves, where judgment belongs, and what should happen when reality does not match the plan.

That’s all for now!

Got a second? Give some feedback on today’s article so we can keep making improvements to The Manifold.

Keep building,
Max

PS — If this seems overwhelming, just think of it like an interconnected flow chart instead of a bulleted list.

FROM OUR SPONSORS

Learn how to code faster with AI in 5 mins a day

You're spending 40 hours a week writing code that AI could do in 10.

While you're grinding through pull requests, 200k+ engineers at OpenAI, Google & Meta are using AI to ship faster.

How?

The Code newsletter teaches them exactly which AI tools to use and how to use them.

Here's what you get:

  • AI coding techniques used by top engineers at top companies in just 5 mins a day

  • Tools and workflows that cut your coding time in half

  • Tech insights that keep you 6 months ahead

Sign up and get access to the Ultimate Claude code guide to ship 5X faster.