Skip to main content

Prerequisites

Get started

1

Install ArkSim

pip install arksim
2

Set your API key and config

Set your API key:
export OPENAI_API_KEY="your-api-key"
3

Run Simulation & Evaluation

Download the examples, then run simulation and evaluation via CLI, Python, or the web UI.Download examples: From your project directory, run:
arksim examples
This creates an examples/ folder with three projects you can experiment.
From the bank-insurance example directory run:
cd examples/bank-insurance
arksim simulate-evaluate config.yaml
This uses the example’s config.yaml (OpenAI) and scenarios.json. Ensure OPENAI_API_KEY is set from Step 2.
You can run e-commerce and openclaw the same way from examples/e-commerce and examples/openclaw. See the example guides in Next Steps below.
4

View Results

Open final_report.html or evaluation.json in your results/evaluation directory for metrics and failure analysis.Use these to see how your agent performed and where it failed or could be improved.

Next Steps

Now that you’ve run your first simulation and evaluation, here’s where to go next.