What is a Scenario?
A scenario is a test case that describes who the simulated user is, what they want to accomplish, and what they already know going into the conversation with the agent.The Three Core Pillars
Goal
Describes the user’s objective, guiding their actions and decisions throughout the conversation.Plan a purchase of a service robot, focusing on delivery timelines and suitability for commercial use.
User Profile (Persona)
Defines who the simulated user is — their personality, demographics, and behavior — as a natural-language description written in second person.You are Alex, a 26-year-old operations analyst at a mid-sized logistics company in Chicago. You are analytical, detail-oriented, budget-conscious, and risk-aware.
Knowledge
Provides context that shapes the simulated user’s questions and expectations. Also used during evaluation to check whether the agent’s responses were accurate and consistent with the source.
home_insurance_overview.md
The service robot is a 40 kg payload autonomous service robot with 8-hour battery life and $70,000 price…purchase_options.pdf
The payment plans include full purchase, 12-month leasing, and vendor financing…
Why ArkSim Scenarios?
ArkSim Scenarios let you test and evaluate your agent using realistic, profile-driven simulations of user interactions. Each scenario is built around clearly defined goals and behaviors, enabling structured performance evaluation without requiring a real-world dataset. By using synthetic users, you can run consistent and reproducible tests across a wide range of interaction types, making it easy to scale evaluations and understand how your agent performs before deploying it to real users.Scenario File Structure
A scenario file is a single JSON document containing a list of scenario objects. Each scenario represents one simulated user and one conversation session.Full Example
Writing Scenarios
You can write scenario files manually. The required fields arescenario_id, user_id, goal, agent_context, and user_profile:
Tips
- Write
goalin second person (“You want to…”) so it reads naturally as a simulator instruction. knowledgecan be omitted if the simulated user has no specific background information.origincan be omitted for hand-authored scenarios.
Multi-Knowledge Scenarios
A scenario can include multiple knowledge items by adding additional entries to theknowledge list. These items are directly injected into the simulated user’s context — there is no retrieval step or external knowledge base involved.
How Fields Are Used Downstream
Understanding how each field is used helps you decide what to include.| Field | Used By | Description |
|---|---|---|
goal | Simulator & Evaluator | Directly used in the simulator prompt; the most important field. |
knowledge[].content | Simulator & Evaluator | Provides simulated user’s background knowledge for the conversation. |
user_profile | Simulator | Used as-is in the simulated user prompt to define the persona. |
knowledge[].metadata | Not used by ArkSim | For labeling and traceability only. |
origin | Not used by ArkSim | Tracks scenario provenance; reference only. |
Next Steps
Once your scenario file is ready, you’re ready to run your scenarios and review the results.Simulations →
Execute your scenarios and simulate conversations for review and analysis.