Writing a job description for an agent
The brief you would give a new hire is the best prompt you'll ever write. A practical template, with examples.
Kofi Mensah
Solutions Engineer · Oct 14, 2026 · 3 min read
On this page
Most agent instructions read like a config file. The ones that work read like a note to a capable colleague on their first week: what the job is, what good looks like, and when to ask.
We've reviewed a few hundred agent briefs with customers over the past year. The best ones were rarely the longest. They were the ones written by someone who had done the job themselves and could explain it to a new hire in ten minutes.
Four parts, in this order
- The outcome: one sentence about what is different when the job is done.
- The inputs: where the work arrives and what the agent can read.
- The judgement calls: the two or three places a person would pause.
- The hand-off: who to ask, and how to phrase the question.
Notice what is missing: step-by-step instructions. If you find yourself writing those, the job is probably a workflow, not an agent, and that is fine too.
The outcome
Start with the end state, not the activity. "Answer refund tickets" is an activity. "Every damaged-parcel ticket is either refunded or handed to a lead with a recommendation, within an hour" is an outcome. The agent can check its own work against the second one.
The inputs
List what the agent can see, and be honest about what it can't. If the order history only goes back twelve months, say so. An agent that knows where its information ends will ask instead of guessing.
The judgement calls
This is the part people skip, and it's the part that matters most. Think about the last month of this work and write down the moments where a person stopped to think. They usually look like this:
- The customer is asking for more than the policy allows, but they've been with you for years.
- Two sources disagree, like a delivery scan that says delivered and a photo that shows a crushed box.
- The request is fine, but the tone of the message suggests something else is going on.
You don't need to resolve each one. You need to name it, and say whether the agent should decide or ask.
The hand-off
Tell the agent who to ask and what a good question looks like. "Escalate to a lead" is vague. "Post in #support-leads with the order number, what the customer wants, what the policy says, and your recommendation" gives the lead everything they need to answer in one message.
An example, start to finish
Here is a brief one of our customers uses for damaged-parcel refunds, lightly edited:
Outcome: every damaged-parcel ticket is refunded or handed to a lead within an hour.
Inputs: the ticket, the customer's order history, the carrier's delivery scan and any photos attached.
Judgement calls: refunds over $150, customers with more than three refunds this year, and any ticket where the scan and the photos disagree.
Hand-off: post in #support-leads with the order, the request, the policy and your recommendation. Never refund while a lead is reviewing.
It fits on one screen. Every sentence is something the agent can act on, and every judgement call has an owner.
Rehearse before you ship
Run the brief against last week's real cases and read every decision. You will find one case the brief didn't anticipate. Add a sentence for it, run again, and stop when two rehearsals in a row produce nothing new.
Most briefs settle after three or four rounds. If yours is still changing after six, the job is probably two jobs, and splitting it into two agents with two short briefs will work better than one long one.
Written by
Kofi Mensah
Solutions Engineer at Loopline