Power Platform

Plan then run, or think, act, observe?

Two of the harnesses in Copilot Studio make decisions in very different ways. Which one you want depends on who should deal with it when something goes wrong halfway through the job.

One question is worth asking about any agent before anything else: when something goes wrong halfway through the job, who deals with it, you or the agent? That question sits underneath the biggest difference between two of the harnesses in Copilot Studio. A harness is the vehicle built around the AI model, with the model as the engine and the harness as the chassis, steering and body. There are three, and we've written a separate guide to picking one. This piece looks under the bonnet of the standard harness and the GitHub Copilot harness.

The short version: the standard harness plans every step up front and then runs it. It's quick, predictable and easy to inspect, but if the plan falls over, you handle it. The GitHub Copilot harness works in a loop of think, act, observe and decide, so it copes with errors and change at the cost of more turns. On Power Platform, most processes want mostly plan, with the loop only where judgement is needed.
Slide comparing orchestration: the standard harness plans then runs - intent, plan, execute - and the GitHub Copilot harness loops through thought, action, observe and decide around the latest state
Plan then run on the left, the think-act-observe loop on the right.

Agent comes from agency

The clue is in the name. If you have agency over something, you can make decisions and take actions within a particular domain. Think of owning a dog: you choose when to walk it and what to feed it, and inside a few guardrails the calls are yours.

Agentic automation works the same way. We give an agent tools and instructions, and the agency to choose how it carries out those instructions with those tools. The two harnesses use that agency differently. One decides everything at the start, and the other keeps deciding the whole way through.

The standard harness: plan, then run

The standard harness starts with intent: what's being asked, whether it arrives through a chat, the agent's instructions or another system calling it through an API. The harness writes every step of the plan up front, then runs it.

If the plan falls over partway through, the harness doesn't stop and rethink. You handle that ahead of time with fallback topics, the catch-all paths for when the agent can't match what someone asked, and with error handling. The answer to who deals with it is you, back when you built it.

For some work that's a weakness. It's also why the standard harness is so good at what it does. There's less replanning, so the response is quick, and every step was written down before it ran, so it's easy to inspect. For turn-based conversation, where a person wants a fast response down a path you control, that's exactly right. It's like printing your directions before you leave home, which works well on a route you know.

The GitHub Copilot harness: think, act, observe, go again

If you've used a deep-thinking mode in a chat assistant, you've watched it reason before it answers. The GitHub Copilot harness, which despite the name has nothing to do with the GitHub Copilot coding assistant, works in much the same way.

Everything revolves around the latest state: where the job is up to, what's been done and what came back. From there it goes around a loop:

It holds on to that state the whole time, so each trip builds on the last. That's why it handles errors better. If a step comes back wrong it notices and can retry or take another route, and if conditions change halfway through it reacts to what's in front of it.

The best fit is a problem too broad to map up front. Our demo firm, Hartley Hale & Marsh (made up for the talk), had one. Working out who was really behind one of its contracts, when a third company name turned up on the deposit receipt, needed some cognition, though not much, the kind of step our piece on rule steps and reasoning steps sets aside for an agent. Writing an if-then-else for every way that can happen would never end, which makes it work for the loop.

The loop takes more turns, so give it less to loop over

Every trip around the loop is a turn, and every turn uses the model again, with your instructions sent each time. The loop takes more turns to reach the same place, and you can't always say in advance how many. An agent might go off in one direction for a while and then come back.

The loop buys resilience and pays for it in turns, credits and predictability. The plan gives you speed and control, and pays for it when something unexpected turns up.

You don't have to pick one end. In the new harness, workflows run alongside the agent and take the deterministic steps, the if-this-then-that work where input and output are both clear. They transform, calculate, look things up and route, call the agent only where reasoning is needed, and can pause for a person with a human review step.

The firm's solution was built that way. The agent does three jobs, and the deposit, the price and the GST lookup are workflow steps. When one buyer wasn't registered for GST, a plain conditional step in the workflow caught it and the agent never got involved.

The Hartley Hale and Marsh contract process colour-coded: three agent steps in pink, nine workflow steps in green and one person deciding in blue
The Hartley Hale & Marsh contract process: pink steps run on the agent, green steps on a workflow.

Fewer steps inside the loop means fewer turns, tighter instructions and less variation between runs, and keeping the loop small is the most direct way to make the cost of a run predictable. Our piece on credits puts illustrative numbers on it.

How to choose between the plan and the loop

Set the harness names aside and look at the shape of the work:

Most real business processes end up with a bit of both: mostly plan, with a loop at the two or three steps that need judgement.

To try it, take one process you're thinking of automating and draw it out, one box per step. Next to each box write "plan" if you could describe it completely before it starts, and "loop" if you couldn't. If most boxes say loop, look again, because in our experience many of them turn out to be rules. The handful left over are where the GitHub Copilot harness earns its place.

Want a second opinion on where the loop belongs?

Send us the boxes you've marked loop and we'll look for the ones that are really rules.