Before you begin
- Python 3.11 or 3.12.
- Credentials for the LLaDAR model provider, in
.envor the process environment. - A clone of this repository for the included demo Agent.
The demo Agent itself needs only Python. Dataset generation, evaluation, and reporting use your configured provider.
Optional: plan the test first
If you know what you want to investigate but are unsure which LLaDAR stages or inputs are needed, use the interactive planner:
lladar plan "Check whether my support Agent follows the refund documents" --debugThe planner asks only for missing information, then produces a validated plan and the commands for the requested workflow. It does not call the target Agent and does not run dataset generation, testing, evaluation, or reporting.
By default, the plan is saved under runs/plan-YYYYMMDD-HHMMSS/. Inspect plan.md and plan.json before running the suggested commands. A ready plan passed static checks; it does not prove that the target is reachable or that a test will succeed. See the plan command reference for options and status details.
1. Install LLaDAR and obtain the demo
git clone https://github.com/stoday/LLaDAR.git
cd LLaDAR
python -m pip install -e .2. Create questions from the support policy
lladar create test-dataset --knowledge examples/support-demo-agent/knowledge.md --output demo-dataset.jsonlThis creates questions and expected answers based on the policy.
3. Run the demo Agent
lladar run-agent demo-dataset.jsonl --project examples/support-demo-agent --no-interactive --output demo-responses.jsonlLLaDAR finds the demo Agent's public entry point, checks that it can use it, and records the responses.
4. Evaluate answers and create a report
lladar eval demo-responses.jsonl --output demo-evaluation.json
lladar report demo-evaluation.json --output demo-report.mdWhat success looks like
| File | What it shows |
|---|---|
demo-dataset.jsonl | The questions and expected answers. |
demo-responses.jsonl | The Agent's answer for each question. |
demo-responses.jsonl.run.json | How LLaDAR reached the Agent and whether the replay worked. |
demo-evaluation.json and demo-report.md | Per-question judgments and a readable summary. |
Next path: multi-turn situations
To observe behavior across a conversation without a required knowledge file, follow the copyable situation example. It creates a configuration, calibrates a session adapter, saves transcripts, and evaluates the completed turns.