Wave Agency

AI and Technology

Writing Instructions an AI Agent Can Follow

An agent does exactly what its instructions say, gaps included. How to write the job, the steps, the limits and the examples so it does the work you meant.

Ask the person who has done a job for ten years how they do it, and you will get a two-minute answer. Watch them do it for a day, and you will see forty small decisions they never mentioned: the customer whose orders always need a second look, the supplier who only answers by phone, the form field everyone leaves blank on purpose.

A new hire picks those up by asking. An AI agent mostly cannot. It works from what it was given, and it fills any gap with a reasonable guess. Most of the time an agent that “got it wrong” was following its instructions exactly. The instructions just described a simpler job than the real one.

The good news is that writing instructions an agent can follow is a skill, not a talent, and it is the same skill as writing a clear handover for a person.

A prompt is a question. Instructions are a job description.

A prompt is something you type once to get one answer, and we covered how to write a good one in better prompts for everyday business work. An agent’s instructions are different. They are standing orders for work it will do hundreds of times, often with nobody watching in the moment. That means they have to cover the ordinary case, the common exceptions and what to do when neither applies.

A useful test: could a capable temp do the job from the same page on their first morning, without calling you? If not, the agent will not manage either.

The six parts of a good set of instructions

1. The job in one sentence. What the agent is for and what done looks like. “Answer new website inquiries within ten minutes, collect the details we need to quote, and book a call if they want one.” If you cannot write this sentence, the job is not ready to hand over.

2. What starts the work. A new email in a shared inbox, a form submission, a row added to a spreadsheet, a time of day. Be specific about where it looks and what counts as new.

3. The steps, in order. Write them the way the work actually happens, not the way the process chart says it happens. Name the systems: “look up the customer in the CRM by email address,” not “check our records.” Where a step depends on a choice, write the rule for the choice.

4. The decision rules. This is where the forty small decisions go. Phrase them as plain if-then lines:

  • If the customer has an open invoice over 60 days, do not book new work. Flag it for the office manager.
  • If the request is outside our service area, reply with the referral note and close it.
  • If the message mentions an injury, a lawyer or a cancellation, stop and hand it to a person.

5. The limits. What the agent may do on its own, what it drafts for a person to approve and what it never touches. Use numbers wherever a word like “small” or “urgent” would be tempting. We wrote a whole piece on what an agent should never do without asking, and those lists belong in the instructions, not in someone’s head.

6. What finished work looks like. The format of the reply, the fields to fill, where to file it and what to write in the log. An agent that knows what a good result looks like will produce more of them.

Show it, do not just tell it

Rules describe the job. Examples teach it. Two or three real cases, each with what came in and what a good response looked like, do more than a page of adjectives about tone.

Pick examples that show the edges:

  • One ordinary case, handled the normal way.
  • One case that looks ordinary but is not, and why.
  • One case the agent should hand over, with the note it should write when it does.

Take them from your own sent folder or job files, with personal details removed.

Write for the gaps

The most important line in any set of instructions is the one that says what to do when the instructions run out. Without it, an agent guesses. With it, the agent stops and asks.

Spell it out: “If a required detail is missing, ask the customer for it once. If you still do not have it, or the request does not fit any rule above, hand it to the office manager with a two-line summary of what you found.” That one paragraph prevents a lot of the mistakes people blame on the technology.

It also helps to say what the agent should not do, in plain words. “Do not offer discounts.” “Do not promise delivery dates.” “Do not reply to anything from our attorney’s office.” Clear negatives are easier to follow than vague cautions.

Test it before it goes live

Before an agent works on real customers, run the instructions against a batch of past cases where you already know the right answer. Twenty is a reasonable start. Compare what it did with what your team did.

Where it went wrong, look at the instructions before you blame the agent. Usually you will find one of three things:

  1. A missing rule. Your team knew something the page did not say. Add it.
  2. A vague word. “Priority customers,” “large orders,” “soon.” Replace it with a definition.
  3. Two rules that disagree. Decide which one wins and say so.

Then run the batch again. When it matches your team on the cases that matter, move it to live work with a person reviewing its output before anything goes out.

Keep the instructions alive

Instructions are never finished. Prices change, a supplier is replaced, a new kind of request starts arriving. Treat the page like any other operating document:

  • Give it one owner, usually the person who knows the job best. In our piece on the agent manager, this is the core of the role.
  • Date every change and note why it was made, so a mistake can be traced to the version that caused it.
  • Turn every correction into a rule. When someone fixes the agent’s work, ask whether the instructions should change so the fix is not needed next time.

A quick check before you hand it over

Read your instructions and ask:

  • Could a capable stranger do this job from this page alone?
  • Is every “small,” “urgent” or “important” replaced with a number or a definition?
  • Does it say what to do when nothing fits?
  • Are the never-do items written down?
  • Is there at least one example of a case to hand over?
  • Does one named person own the page?

How we help

When we build AI workforce agents, we train them on your own past work and test them on it before they touch anything live. We also train the person on your team who knows the job best to brief and review the agents, as part of every build. Our agent managers page covers how that retraining works.

Have a job you would like to hand to an agent? Book a call.

← Back to The Journal

Work With Wave

Put a good idea to work.

If something here is useful, let's talk about what it would look like for your business. A short call with a senior member of the team.

Book a Call