ExponenLabsExponenLabs
All of Pulse

Five layers that make AI stick: graph, loop, harness, context, prompt

ExponenLabsUpdated 2 min read
Five nested squares, worked from the outside in, next to a five-step chain that loops back to its first step.

Most AI projects start at the bottom. Someone finds a good prompt, connects a tool, adds some documents, and later wonders why it never became part of daily work.

We go the other way. We work through five layers from the top down, then loop back to the top. This is the method behind everything we do. It is why we call the result AI-native, not AI-assisted.

Key points in 30 seconds

  • Order matters. Map the work, measure it, add guardrails, add your knowledge, and only then write the prompt.
  • The prompt goes last. It is the cheapest layer to change and the least likely to be the real problem.
  • Each layer makes the next one cheap. If you skip one, the layers below must make up for it, badly.
  • Results feed back. What each cycle shows updates the map, so the process improves without a new project.
  • Design top-down, fix bottom-up. Both are true at once.

What are the five layers?

Tap a layer to see the question it answers, what goes wrong without it, and what you get.

then back to 1

Graph engineering

1. Map the work

How does work really flow? Which steps, decisions, hand-offs and owners?

Without it

You automate the wrong thing. A tool fixes one task, then the next step breaks, or work piles up at a person who was never told.

What you get

A list of steps, who owns each, where decisions sit and where work waits. It also shows steps that should not exist. Removing those is often the cheapest win.

Tap a layer. Each one makes the next one cheaper to get right.

The most common failure we see is a tool added to one task. It works. Then the next step breaks, because nobody checked what that step expected to receive.

Should I design from the top or the bottom?

It depends on the job. Our piece on harness, loop and graph engineering suggests the opposite order. That is not a contradiction. Switch the view below.

Start at the top. Know the work first.

  1. 1Map
  2. 2Measure
  3. 3Guardrails
  4. 4Knowledge
  5. 5Instructions

You must know what the work is before you decide what any agent should do.

What is the loop back to the top?

Every cycle, the measures show something. An exception an agent handled badly. A step that still waits on a person. A hand-off nobody needs now.

That finding updates the map. The change then flows down through the measures, guardrails, knowledge and instructions.

People call this recursive self-improvement. It sounds bigger than it is. In practice, it is a weekly meeting with a number on the screen and the power to change the map. Nobody has to start a new project. Your own team runs the loop.

What happens in the first 90 days?

  1. We join your standups and decisions, map how the work really flows, and write a plan and a cost the owner can defend.

Working with us

If the change is in how your business runs, this is what a fractional CAIO does with us. If it is in a product you build, it is the same method, led by a Forward Deployed CTO. The Method page shows what each layer leaves you with.

Not ready to talk? Get your free AI operating plan in two minutes. It is a first map of where AI fits in your business, and it runs in your browser.

Frequently asked questions

What does it mean for a business to be AI-native?

It means the business is designed so that AI agents do the repeated work and people make the decisions, with a measure on every process and a loop that improves it. It is not the same as everyone having an AI tool. A company can buy licences for every employee and still run exactly as it did before; an AI-native company has changed how the work flows.

Why start with graph engineering instead of prompts?

Because the prompt is the cheapest layer to change and the least likely to be the real problem. If nobody has mapped how the work flows, the agent is automating a step that may not need to exist, handing off to a step nobody owns, or waiting on a decision nobody wrote down. Mapping the work first tells you where AI belongs at all. Prompts are tuned last, once the layers above them exist.

What is the difference between context engineering and prompt engineering?

Context engineering decides what the AI knows when it does a piece of work: which documents, data, past decisions and memory it can reach, and in what shape. Prompt engineering decides how it is instructed to use that knowledge for one step. Good context with an average prompt usually beats a brilliant prompt with no context, which is why context comes first.

What does recursive self-improvement mean for a small business?

Nothing to do with runaway AI. It means the process improves itself in a plain, measurable way: every process has a measure, every cycle someone reads it, and what it shows updates the map, the agents and their instructions. After a few cycles the business runs better than it did when the work was handed over, without anyone starting a new project.

Do we need a software team to do this?

No. The first two layers — mapping the work and closing the loops — need no code at all. The harness, context and instructions can be built with off-the-shelf agent platforms for most operations work. You need someone who owns the result and understands how the layers fit together, which is the role a fractional Chief AI Officer plays.

Make your business AI-native, starting this month.

You speak to the senior lead who would do the work. If we are not the right fit, we will say so.