How to scope an AI agent task

I turn a loose request such as “Fix the page” into a brief with an outcome, edges, permissions, proof and stop points. The brief grows with the risk, from a few lines for a reversible edit to tighter authority and stronger proof for a production change.

A copper drafting frame holding a single clean sheet of ivory paper
Illustration: a copper drafting frame holding a single clean sheet of ivory paper.

Scoping an AI agent task means writing down five decisions before the agent acts. They cover the outcome to reach, what is in and out of the job, which actions the agent may take, what counts as proof, and when it must stop.

“Fix the page.” “Research this.” “Make it better and ship it.” Between two people who share the context, each of these is clear enough. For an agent that can read files, call tools and change external systems, each one can be an unsafe instruction, because it leaves the shape of the task undefined. More background does not always fill that gap. Writing those decisions down gives the agent room to reason without guessing where its authority ends.

Scope before you optimise the prompt

Polishing the prompt cannot supply a decision boundary that is missing. A well-worded request can still leave the agent unsure whether to diagnose or fix, or whether to edit one page or every related page. It may not know whether to publish or prepare a draft, or whether “done” means a changed file or a result a user can see working.

Published guidance points the same way. The NIST AI Risk Management Framework starts by mapping purpose, context, requirements, scope and human oversight, before measurement and management. OpenAI’s practical guide to building agents treats clear instructions, defined tools, guardrails and handoff conditions as the foundations for reliable action. This note applies those system-level ideas to a single task. An AI readiness assessment asks the same questions of the whole organisation.

Start with an observable outcome

“Review the navigation” describes effort. “A first-time reader can reach the guide library from the header and every destination resolves” describes a state anyone can check.

I give each task one main outcome. Supporting checks can be plural, but several competing outcomes usually mean the request should be split into separate tasks. A single clear result also lets the agent report partial completion plainly: which part became true and which part did not.

Draw the boundary in both directions

“Only change the article ending” is stronger than “work on the article” because it names what is included. The matching exclusion, “do not alter the global navigation or visual system”, stops a small local task from turning into a site-wide redesign.

A practical boundary has three parts:

  • In scope: the pages, sections, records or decisions this task owns.
  • Out of scope: adjacent work that is tempting to touch and should stay unchanged.
  • Authoritative sources: the documents, manifests, live states or rules that outrank assumptions.

Authoritative sources belong in the scope because two correct edits to two different copies can still produce the wrong result. If the agent cannot find the authoritative source cheaply, finding it becomes the first subtask.

Separate scope from authority

Scope says what the task concerns. Authority says which actions the agent may take. An agent can be allowed to inspect a whole system and still be authorised to edit only one file. It can prepare a release and still have to ask before publishing it.

I write authority as verbs:

  • May: read, compare, edit, build, test, draft.
  • Must ask before: deleting, spending, publishing, messaging, or changing an irreversible external state.
  • Must not: expose private material, invent facts, broaden the request, or bypass a failed safety check.

Not every action needs permission. Writing the boundary that matters into the task lets the agent move quickly inside it and pause at the edge.

The five-part task boundary

Loose request: “Improve this page and ship it.”

  1. OutcomeWhat observable state should become true?
  2. BoundariesWhat is in, out, and authoritative?
  3. AuthorityWhich actions are allowed, gated, or forbidden?
  4. ProofWhat must exist before the task counts as complete?
  5. StopsWhen should the agent pause, return, or escalate?

Scoped task: enough freedom to act, and enough structure to know when to stop.

The task is scoped only when all five decisions agree. The proof confirms the outcome, and the stop conditions hold the boundary.

Choose the proof before the work starts

If the proof is decided after the work, it tends to favour whatever the agent already produced. I decide the claim and its proof together. A content change may need the rendered page and working links. A data change may need a count and a sample. A behaviour change may need a real interaction rather than a source-code assertion.

I work through claim → proof → method in order:

  1. State what must be true.
  2. Name what a reviewer would accept as proof.
  3. Choose the lightest reliable way to produce that proof.

The verification checklist helps define that relationship and keeps the first check on the path that changed.

Write stop conditions for uncertainty

An agent needs a success condition, and it also needs a defined way to stop short of success. Without one, uncertainty can turn into confident improvisation: the wrong source gets edited, a missing fact gets invented, or a release goes ahead after a required check fails.

Good stop conditions are specific and recoverable:

  • stop if two authoritative sources conflict;
  • stop if the only fix would expand beyond the named scope;
  • stop before a gated external action;
  • stop after a defined number of failed attempts;
  • return the evidence gathered so far, the blocker, and the smallest decision needed next.

A good stop keeps the progress made so far. It leaves a clear decision point that a person or another agent can pick up.

Match the brief to the risk

A reversible wording edit may fit in five lines. A task that touches money, personal data, production state or external communication needs tighter authority, stronger proof and earlier confirmation from a person.

Brief emphasis and typical stop, by task shape.
Task shapeBrief emphasisTypical stop
Read-onlyQuestion, sources, output formatEvidence is incomplete or sources conflict
Reversible editExact surface, acceptance claim, related checksThe change requires broader ownership
External actionAuthority gate, recipient or destination, final previewPause immediately before the action
High-impact changeRisk owner, rollback, independent evidenceAny safety or approval condition fails

The brief gets more precise as reversibility falls and impact rises. It can stay short, provided it states all five decisions explicitly.

Turn one loose request into a runnable task

Take the request “Improve the documentation landing page and publish it.” The intent is clear, but the task has no edges yet. A runnable version might read:

Outcome
A first-time visitor can choose between setup, reference, and troubleshooting from the landing page.
Boundary
Change the landing page and its data record; keep article URLs and the global design system unchanged.
Authority
Edit and test locally, prepare a draft, ask before production publication.
Proof
All three routes render and every new destination resolves on mobile and desktop.
Stop
Pause if the existing information architecture cannot support the three routes without changing other pages.

This version does not prescribe every implementation step, so the agent keeps room for judgement. It still makes completion, drift and escalation visible.

Assemble the brief from the right existing tools

I do not write a new template for every variation of the method. I combine the existing templates that match the uncertainty in front of me:

Authority and stop conditions go straight into the task. If the same addition keeps working across several tasks, it may deserve a standing project rule instead of another near-duplicate public template.

When a task boundary should become a project rule

Once a boundary works repeatedly, copying it into every prompt creates a maintenance problem. That leaves an open question: when should a task boundary that works become a standing project rule?

I have recorded the question here without queueing a page for it. It becomes a page only if repeated work shows that readers need the line between one-off task scope and lasting operating context.

Suhail Mohebi · published 15 July 2026 · the cover is a generated illustration

Use this

Agent task scope cardMarkdown · v1.0 · 2 Oct 2026 · 8 KB
Download the template (.md) ↓

More on Direct the work

All Direct the work notes →

Want this inside your team’s workflow? The Verified AI Operations Sprint tests one workflow in ten working days. See the sprint →

Scope before you optimise the prompt
  1. Scope before you optimise the prompt
  2. Start with an observable outcome
  3. Draw the boundary in both directions
  4. Separate scope from authority
  5. Choose the proof before the work starts
  6. Write stop conditions for uncertainty
  7. Match the brief to the risk
  8. Turn one loose request into a runnable task
  9. Assemble the brief from the right existing tools
  10. When a task boundary should become a project rule