Skip to content
mentoor

Topic 5 of 5 · 4 min read

Procedures an AI agent can follow

Goal: Convert a human SOP into agent instructions with explicit inputs, allowed tools, approval points and a stop rule.

An agent follows an SOP only as far as it is explicit, so rewrite the human steps to state the inputs, the allowed tools, the points that need a person's approval, and what to do when unsure.

Check yourself · 1 of 3

Why can a human SOP be risky if you give it to an AI agent unchanged?

Choose one answer

Why it matters

A person reading an SOP can ask a colleague, notice something odd and pause. An AI agent, meaning a model that can use tools and take actions, usually carries on. It will fill gaps with a guess and may act on it: send the email, issue the refund. So a human SOP handed to an agent as it stands is risky. The agent needs the unwritten parts spelled out, especially the limits.

Packaging matters too. Agent skill formats, such as Anthropic's Agent Skills and the open Agent Skills format, store a procedure as instructions the agent loads when a task matches. The idea is the same in any tool: a short, clear brief the agent can read at the moment of work.

How to do it

  1. State the goal and the trigger. One sentence on what the agent achieves and when to use this procedure.
  2. List the inputs. What the agent receives: a ticket id, a customer email, a file. Say what is required and what to ask for when it is missing.
  3. Name the allowed tools. For example: read the order system, draft a reply. Say what is not allowed, such as sending, deleting or changing a record.
  4. Mark approval points. Any step that spends money, contacts a customer, changes data or cannot be undone stops for a person's yes. Say who approves and what the agent shows them.
  5. Write the stop rule. "If the order is not found, the rule is unclear or two sources disagree, stop and report what you found. Do not guess."
  6. Define the output. A draft reply and a short note of the steps taken, so a person can audit.
  7. Test it with the dry-run method, including cases where the right move is to stop.

Before and after

Before: "Handle the refund request and let the customer know."

After: "Goal: prepare a refund decision. Input: ticket id. Tools: read orders, read policy, write a draft reply. Not allowed: issue refunds or send messages. If the order is over 30 days old or not found, stop and say why. Show the draft and the evidence to the support lead for approval."

What goes wrong

  • Approval points are missing, so the agent takes an action no one reviewed.
  • The instructions say "use judgement" with no limit, which invites guessing.
  • The agent has more tool access than the procedure needs. Give the minimum.
  • The stop rule is vague, so the agent never stops, or stops on everything.

Examples

Approval point for a refund

Human SOP step: "Issue the refund." Agent version: "Prepare the refund details and show them to the support lead: order number, amount, reason and the policy line applied. Wait for a yes. Do not call the payment tool." The agent's work ends at a draft; the person acts.

A stop rule

"Stop and report if: the customer cannot be matched to an account; the amount is above 200 dollars; the policy and the ticket disagree. In your report state what you found and what you need. Do not continue with a best guess."

Key points

  • An agent carries on where a person would pause, so the SOP must state the limits that people leave unwritten.
  • State the goal, the trigger, the inputs and what to do when an input is missing.
  • List allowed tools and say plainly which actions are not allowed.
  • Any step that spends money, contacts a customer, changes data or cannot be undone needs a named human approval.
  • A stop rule tells the agent to report and wait when sources conflict or the rule is unclear, instead of guessing.

Common mistakes

  • Pasting the human SOP into an agent unchanged.
  • Leaving out approval points for actions that cannot be undone.
  • Writing use your judgement without limits.
  • Giving the agent more tool access than the procedure needs.

Check yourself · 2 of 3

In agent instructions for a refund process, which step should need a person's approval?

Choose one answer

Check yourself · 3 of 3

Which stop rule is best for an agent following a support SOP?

Choose one answer

Practice items, not counted towards your mastery.

Start here