How to create evaluation datasets for AI agents

By the Ground team

Represent each test as a starting state, user task, allowed tools and independently checkable expected outcome. Include cases where one small state change should alter the correct action.

Design the state and policy

Record the relevant entities, timestamps and policy. Use a stable case ID and a specific decision cutoff to avoid leaking future evidence.

Example request

Create paired billing cases where a refund is pending in one snapshot and settled in the other, with expected action and evidence IDs.

Specify grading

Check action correctness, amounts and evidence IDs separately. Treat unexpected side effects as failures. Run the agent against a sandbox or read-only replay rather than production tools.

Use a public fixture

Ground Billing Replay offers a worked synthetic billing fixture and verifier. Its public answers make it suitable for development; use fresh held-out cases for credible model comparisons.

Common questions

Can an LLM grade its own answers?

It can help review ambiguous cases, but deterministic assertions or independently reviewed labels are stronger when available.

Try it with your own dataset

Get started, see pricing or use the API.

Review security and privacy when evaluating Ground for your team.

Related guides