Skip to main content

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.
ArkSim Workflow

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…
Think of a scenario as answering three questions: Who is this user? What do they want? What do they know?

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.
For the full scenario schema (all fields and types), see Schema Reference.

Full Example


Writing Scenarios

You can write scenario files manually. The required fields are scenario_id, user_id, goal, agent_context, and user_profile:
Tips
  • Write goal in second person (“You want to…”) so it reads naturally as a simulator instruction.
  • knowledge can be omitted if the simulated user has no specific background information.
  • origin can be omitted for hand-authored scenarios.

Multi-Knowledge Scenarios

A scenario can include multiple knowledge items by adding additional entries to the knowledge 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.

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.