Skip to main content
A persona is the simulated user who talks to your agent in a drill. It has goals, constraints, a communication style and facts it knows. Firedrill plays the persona. Your agent only sees the persona’s messages.

Example

persona.json

Save it

The command prints the persona’s resource ID and version ID. Scenarios refer to the version, so you can keep improving a persona without changing scenarios that already use it. To update an existing persona, pass its resource ID and the revision you are replacing:

Fields

All fields are required. Lists may be empty.

Tips

  • Write goals as outcomes: “Get a refund”, not “Ask about refunds”.
  • Use constraints to cover edge cases, such as a user who refuses to share an order number.
  • Use memory_facts for details your agent should ask for or remember.
  • Keep secrets and real personal data out. Text that looks like a credential is refused.

Find and reuse personas

library fork copies a version so you can change it without affecting the original. In the web app, personas are under Personas.

Scenarios

Put a persona into a situation.

Evaluations

Decide what a good answer looks like.