AISim › Chapter 5: Advanced
The agent goes public
Chapter 5 boss. Free signups, an inbox full of strangers, and one right answer per invoice.
Your inbox agent is opening to the public with a free tier. It reads incoming emails, pulls totals out of invoices and sends replies on users' behalf. Scripts are already signing up by the hundred, and some emails are written to hijack it. Launch without a single forwarded invoice.
Goals
- hijacked actions at most 0.2%
- error rate at most 1%
- accuracy at least 78%
- cost per 1,000 requests at most $45
Concepts: Indirect injection, Abuse limits, Temperature.
Hint
Who is sending traffic, what is the agent reading, what is it allowed to do without asking, and how random should an invoice total be?
What you learn
Public agents need defence in depth: limits per user so scripts can't swamp you, untrusted content marked as untrusted, approval before anything leaves, and deterministic settings where there is one right answer.
More in this chapter
- The walkie-talkie (Level 21)
- One user, half your bill (Level 22)
- Same question, different answers (Level 23)
- The evals say it's fine (Level 24)
- The email that hijacked the agent (Level 25)
This interactive level needs JavaScript. Built by Joshua Paul (cybernerdie).