Why Viteval
Test prompts and agents
against reference cases.
Run your prompts and agents against real cases. Score the answers and catch regressions before you ship.
Familiar tooling
Use your Vitest configuration
Keep native configuration, watch mode, retries, and CI exit codes. Import your application functions into an evaluation, then score their answers.
Write an evalYour criteria
Score exact answers and free-form responses
Use deterministic checks for exact answers and structured output. Add embeddings or LLM judges for free-form responses, or define a scorer for your own criteria.
Choose a scorerLocal by default
Inspect results locally
Start with JSON datasets and results in your project. Open the local dashboard to inspect inputs, reference answers, outputs, and individual scores.
Open the dashboardRun on your infrastructure
Run evaluations in CI
Run the same evaluations on your laptop, in CI, or on a runner you control. Return a nonzero exit code when a case fails its scoring threshold.