AI skills for everyday life and work

Writing tasks for agents

The four parts of a good agent task: input, result, limits and what to do when unsure.

2 min36 / 48
After this lessonYou write agent tasks that lead to usable results without surprises.
PartQuestionExample
InputWhat does the agent work with?“The folder Invoices-copy”
ResultWhat exactly should come out?“A table: date, supplier, amount, file name”
LimitsWhat must it not do?“Do not delete or send anything, no logins”
When unsureWhat 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

1. Why ask the agent for a log at the end?

Tip: use ← and → to move between lessons.