Tool menus and features change. This guide teaches tool-independent skills; check any product-specific detail against that tool's current documentation.
01 — Quick answer
What should an AI agent's job description include?
An agent is a model with tools and permissions, given a goal instead of steps. Before building one, write its job description: one job, what starts it, what it reads, what it may and may never do, what done looks like, when it hands off to a human, and its limits. Study real examples first and grant minimal access.
02 — Outcome
What will you have when you finish?
A one-page agent job description built from real examples of the work, a permissions list matched to it, a set of test cases including hand-off situations, and a decision on whether the job really needs an agent or a simpler routine.
03 — Who it's for
Who is this for?
Good fit: People ready to build or buy an AI agent: a lead researcher, a customer-question responder, a feedback router, a meeting-prep assistant. You should already be comfortable with instruction files, permissions and scheduled routines.
Not the best fit: if the task follows the same steps every time, a routine is simpler, cheaper and more predictable. This guide includes a check for that.
04 — Time needed
How long does it take?
Estimates for this guide.
- Active work: about 60 minutes
- Waiting or processing: none
- Testing: about 30 minutes
- Total: about 90 minutes
05 — Before you begin
What do you need first?
Terms used in this guide
- Agent
- An AI given a goal and tools that chooses its own next steps, rather than following a fixed list. A chatbot waits for you; an agent does work you hand it.
- Harness
- The software around a model that gives it tools, memory and channels. Think engine (model) and car (harness).
- Escalation (hand-off)
- When the agent stops and passes the case to a human, with enough context that the human doesn't start from scratch.
- SMART
- LCGIS's order for building an AI brain: Scope, Monitor, Archive, Retrieval, Trigger. This job description covers all five.
06 — Steps
How do you write the job description?
Step 1: Check whether you need an agent at all
Objective: choose the simplest design that works.
Ask: can I write the exact steps down before the work starts? If yes, build a routine or instruction file instead; it will be cheaper and more predictable. Use an agent only when the next step depends on what it finds (research that branches, triage across many kinds of request, troubleshooting). If part of the job is fixed, keep that part as a routine and give only the variable part to the agent.
Why this matters: agents are flexible but cost more and are less predictable. Using one where a routine works adds risk for nothing.
Step 2: Study real examples of the work
Objective: base the design on what actually happens.
Read 10 to 30 real examples. Sort them: what kinds of request come in, how often, which ones are routine, which need a human, what information is needed to handle each. If someone does this job now, ask them what they check that isn't written down. Note the cases that went wrong in the past.
Example prompt
Example of analyzing examples before designing
Written for this guide, not taken from any source. It shows the context to give the AI for this step and why; replace every [bracket] with your own details.
Below are [number] anonymized examples of [type of request] we receive. Sort them into categories and for each category give: how many, what a good response requires, what information is needed, and whether a human should handle it (and why). List any examples you couldn't categorize. Don't design anything yet; just describe the work. [paste examples]
Customize: the type of request.
How to judge the result: the categories should match your experience; anything surprising deserves a second look.
Adapting to other tools: any assistant.
Why this matters: agents designed from imagination break on the first real request. The examples reveal the hand-off cases you would forget.
Step 3: Write the scope: one job, and what it is not
Objective: a narrow, testable job.
Write: the agent's name (by job, not tool), its one job, who it serves, what success looks like, and an explicit "not your job" list. Give it a definition of done with evidence ("done means a draft reply exists, every fact is cited to the knowledge files, and anything uncertain is listed").
Why this matters: narrow agents are reliable; agents with vague, broad jobs drift. Several narrow agents beat one that does everything.
Step 4: Define triggers, sources and permissions
Objective: the agent knows when to work, what to read and what it may do.
Triggers: what starts it (a new message in a channel, a form, a schedule, a request). Sources: the specific knowledge files and data it may read. Permissions: start from no access; grant each tool and action deliberately, using allow / ask first / block. Default to drafts. Anything involving money, customers' accounts, publishing or deletion is ask-first or blocked.
Why this matters: think of it as onboarding a new employee: you wouldn't give a new hire every key on day one.
Step 5: Write the hand-off rules
Objective: the agent knows exactly when to stop and pass to a human.
List the situations that always go to a human (from step 2: complaints, refunds, legal or safety issues, anything off-catalog, angry customers, the agent's own uncertainty). Define the hand-off: who receives it, through which channel, and what context the agent must pass along (summary, what it already tried, what it needs), so the person doesn't ask the customer to repeat themselves. Write the exact message the agent uses when handing off.
Why this matters: agents work best with humans overseeing them. A clean hand-off is what keeps customers and teammates trusting the system.
Step 6: Set limits, memory and reporting
Objective: bounded behaviour and a record you can review.
Set a cap on attempts ("stop after three failed tries and explain"), on time, and on spend. Decide what it remembers (cases handled, decisions made and why) and where that's stored. Define a short report format: what it did, what it couldn't do, what it handed off, and why it stopped. Require it to say what it couldn't verify rather than present everything as finished.
Why this matters: unbounded agents loop and spend. A report lets you monitor quality and spot drift.
Step 7: Test with real cases, including hand-offs
Objective: prove the job description before deployment.
Pick 10 examples from step 2 that the agent hasn't seen: mostly routine, at least two that must be handed off, and one ambiguous. Run them in a test setting with drafts only. Score: correct handling, correct hand-off, nothing outside its permissions, honest about uncertainty. Fix the job description where it failed and rerun. Then deploy with drafts only and watch the first weeks closely; widen autonomy only on a track record.
Why this matters: the hand-off cases are where agents fail publicly. Testing them first is cheap.
07 — Test it
How do you know it worked?
What to test: scope boundaries.
How: send the agent a request that is clearly outside its job, one that should be handed off, and one that tries to get it to take a blocked action.
Success looks like: it declines the out-of-scope request politely, hands off the second with context, and refuses the blocked action.
If it fails: tighten the "not your job" list, the hand-off triggers or the permissions (in settings, not only in instructions).
08 — Troubleshooting
What usually goes wrong?
| Problem | Possible cause | Fix | How to verify |
|---|---|---|---|
| Agent drifts into other work | Vague scope | Narrow the job; add a "not your job" list | Out-of-scope test declined |
| Doesn't hand off when it should | Missing or vague hand-off triggers | List specific situations from real examples | Hand-off test cases escalate |
| Humans have to ask customers to repeat | No context passed on hand-off | Add a context checklist to the hand-off | Hand-off message contains summary and what was tried |
| Loops or runs up costs | No attempt or spend limits | Cap attempts, time and spend | Stops and explains after the limit |
| Invents answers | Knowledge gaps; no "say when not covered" rule | Fill gaps; add the rule; require citations | Uncovered questions get "not covered" |
| Unpredictable on routine work | An agent used where a routine would do | Move fixed parts into a routine | Routine parts produce identical output |
09 — FAQ
Common questions
Do I need to code to build an agent?
Not always; many tools let you describe an agent in plain language. The job description is the hard part either way, and it works the same whatever tool you build in.
Can several agents work together?
Yes, but start with one. When you add more, give each a narrow job, clear ownership, a short message format for talking to each other, and a rule that a message from another agent is never a human's approval.
How long until I can trust it to act without approval?
There's no fixed time. Widen one action at a time, after you've seen it done right many times, and keep anything involving money, customers' accounts or publishing behind approval.
10 — What next
Where do you go from here?
Build the agent from the job description in your chosen tool, deploy in draft mode, and review its reports weekly. Every correction becomes a rule. This guide applies SMART in order: Scope the job, Monitor with a human in the loop, Archive what it learns, make sure it can Retrieve the right knowledge, and define the Trigger with a human taking the final action.
Related guides
Sources
Based on my notes from reviewing public AI training material (free written guides and YouTube lessons by several creators), expanded with my own explanations, examples, steps and checks, and reorganized into an independent LCGIS guide. Example prompts were written for this guide. Tool names appear only as examples; check any product-specific detail against that tool's current documentation.
- Learn AI With Mariah (free guide): How I Build My AI Agents: Context, Connections, Workflows, Memory
- Learn AI With Mariah (free guide): ChatGPT Launched AI Agents: Workspace Agents Explained
- Learn AI With Mariah (free guide): The Agent Guardrails Template (Steal Karpathy's 4 Rules)
- Learn AI With Mariah (free guide): Meta Just Gave You A Free Employee: How to Set Up the Meta Business Agent
- Learn AI With Mariah (free guide): How to Structure Your AI Agents: JPMorgan's Framework
- Learn AI With Mariah (free guide): Claude Sessions Can Message Each Other: The Team Setup
- Learn AI With Mariah (free guide): Build Your First AI Agent With One File
- Learn AI With Mariah (free guide): Agent vs Workflow in Claude Code: When to Use Which
- Learn AI With Mariah (free guide): Anthropic's Human-Agent Team Playbook: 4 Rules To Steal
- Vaibhav Sisinty (YouTube): Set Up the AI Agents the Top 1% Use Before You Open ChatGPT Again. His $10B Company Uses Them Daily.
- Vaibhav Sisinty (YouTube): Forget Prompt Engineering - This Is What Actually Matters in AI
- Vaibhav Sisinty (YouTube): How To Build Your First AI Agent In 13 Minutes (No Coding, Full Tutorial)
- Vaibhav Sisinty (YouTube): How To Build AI Agents With Claude: I Built 3 in 12 Minutes (Full Beginner Tutorial)
- Vaibhav Sisinty (YouTube): How OpenAI Uses Codex Agents To Build Anything: Full Workflow Interview
- Outskill (YouTube): I Built My Own Jarvis with Claude Code (No Code Setup)
- Outskill (YouTube): Build Your Own AI Employee that replaces you at Work!!