Writing tasks for agents
The four parts of a good agent task: input, result, limits and what to do when unsure.
After this lessonYou write agent tasks that lead to usable results without surprises.
| Part | Question | Example |
|---|---|---|
| Input | What does the agent work with? | “The folder Invoices-copy” |
| Result | What exactly should come out? | “A table: date, supplier, amount, file name” |
| Limits | What must it not do? | “Do not delete or send anything, no logins” |
| When unsure | What if something is unclear? | “Mark it in the table and continue; ask me at the end” |
Agent task template
Task: [goal in one sentence]. Input: [files, websites, data]. Result: [format, columns, file name, where to save]. Limits: Do not [send, buy, delete, log in, change settings]. Stop before any payment or submission. When unsure: [mark and continue / stop and ask]. At the end: short log of what you did, what was unclear and what you skipped.
The log at the end is your most important checking tool.
Try it now: Write an agent task with the template for one of your “good” tasks from lesson 8.3. You do not have to run it yet.
Check yourself
Tip: use ← and → to move between lessons.