# Agent scope doc

A one-page template for defining an AI agent's world, written before the PRD. Copy it, fill it in, keep it to one page.

From Matt Alcock, https://mattalcock.com/ideas/agent-scope-doc. Free to copy and adapt. The full argument is in "Your PRD template is wrong for agents", https://mattalcock.com/blog/prd-for-ai-agents.

An agent scope doc is one page, written before the PRD, that defines an AI agent's world. It says what the agent can see, what it can do, what it must never do, when it must stop and ask, and how we'll know it's good.

| | |
|---|---|
| Agent | |
| Owner | |
| Date | |
| PRD link | |

## 1. What can it see?

Which data, which tools, which history.

| Source | What it can read | Notes |
|---|---|---|
| Data | | |
| Tools | | |
| History | | |

## 2. What can it do?

Every action, with the rung of earned autonomy each starts on (https://mattalcock.com/ideas/earned-autonomy). The rungs are suggest, prepare, act and tell, act and summarise, act and escalate.

| Action | Starting rung | One-way or two-way door? | Notes |
|---|---|---|---|
| | | | |
| | | | |
| | | | |

A two-way door is easy to undo. A one-way door can't be undone and needs far more evidence before it climbs (https://mattalcock.com/ideas/one-way-two-way-doors).

## 3. What must it never do?

The short list that matters most.

1.
2.
3.

## 4. When must it stop and ask?

The triggers for handing back to a person.

| Trigger | Who it hands back to | How |
|---|---|---|
| | | |
| | | |

## 5. How will we know it's good?

An eval set. Real examples with acceptable and unacceptable answers, run before every change.

| Example input | Acceptable answers | Unacceptable answers |
|---|---|---|
| | | |
| | | |
| | | |

The number to watch is often a failure rate, like confident wrong answers or actions taken that shouldn't have been.

| Failure rate | How we measure it | Limit |
|---|---|---|
| Confident wrong answers | | |
| Actions taken that shouldn't have been | | |

## Is it finished?

- [ ] There's an eval set.
- [ ] There's a "must never" list.
- [ ] There are triggers for stopping to ask.

If any box is empty, the spec isn't finished. Those three sections are where agent products succeed or fail.
