Scenario YAML
Define what the actor is trying to accomplish — their first message, goals, success/failure criteria, and exit conditions.
A scenario file defines the conversation objective. The actor uses success/failure criteria to automatically determine when to stop.
Schema
Example — Billing dispute
Criteria evaluation
At the end of each agent turn, KyroActor checks the agent's response against the criteria lists using a case-insensitive substring match. The first criterion that matches terminates the scenario with the corresponding outcome.
ℹInfo
Criteria are checked after each agent message, not each actor message. The actor always gets to respond once before criteria are evaluated.