EvalView is a regression testing tool for AI agents, with the core idea being snapshot testing: record the agent's current behavior and get notified when the behavior changes silently.
Purpose
An agent returns a 200 status code and appears normal on the surface, but a single model update, provider switch, or one-line prompt change can cause it to skip clarification steps, call the wrong tool, or silently degrade output quality. At that point the tests still pass, but users discover the problem before developers do. EvalView is designed specifically to address this kind of "silent behavior drift": it snapshots the agent's behavior—which tools were called, in what order, and what output was produced—and notifies the user the moment the behavior changes.
Main capabilities
- Snapshot and diff comparison: record the agent's current behavior as a baseline, then detect any drift from the baseline.
- Full trajectory comparison: compare the entire trajectory, including tool names, arguments, and order, not just the final string.
- Offline deterministic comparison: deterministic difference comparison of tools and sequences can run offline, with no API key required.
- Optional LLM judging: add LLM judging only when output quality scoring is needed.
- Snapshot acceptance: when the new behavior is correct, you can use
evalview snapshotto accept it as the new baseline, similar to updating snapshots in Jest. - CI regression gate: provide a comment on every PR containing the diff, cost/latency changes, and a pass/fail gate.
- Library usage: EvalView can also be used as a library, supporting multi-turn tests, statistics/pass@k runs, record/replay cassettes, model drift canaries, production monitoring with Slack alerts, and automatically generating regression tests from incidents.
How to use
The basic loop is snapshot and check.check returns results and compares the entire trajectory. Deterministic tool and sequence difference comparison runs offline with no API key required; LLM judging is added only when output quality scoring is needed. Running the agent itself may still incur backend API costs;--no-judge skips the judge, not those calls. Embedding-based semantic comparison is an optional feature.
If you do not have an existing agent, an official 30-second demo is provided, letting you see the effect without an API key.
Suitable scenarios
- Use it in CI as a merge-time regression gate to prevent behavioral regressions from entering the main branch.
- Use it together with observability tools (Langfuse, LangSmith) or metric scoring tools (promptfoo, DeepEval, Braintrust): the latter are for visibility, while EvalView is used as the gate.
- Supported tech stacks include LangGraph, CrewAI, OpenAI, Claude, Mistral, Ollama, MCP, and any HTTP API.
Limitations and caveats
- OpenAI adapter migration: OpenAI shut down the Assistants API on August 26, 2026. The latest released EvalView 0.8.1 still uses that API; the Responses API migration is currently unreleased source code. If you use
openai-assistants, please follow the migration guide before running tests. An assistant_id alone cannot preserve the agent's configuration. Other adapters are unaffected. - Running the agent may incur backend API costs.
- The project is relatively young and mainly built by one developer.
- Officially, Core Dogfood runs daily at 09:00 UTC, on PRs, and on pushes to main, covering the non-live test suite, type checking, local mock-agent snapshot/check,
evalview demo, end-to-end flows, andevalview monitorsmoke tests, without using paid API credentials and without making paid inference calls. Live Provider Checks test the real evaluator and chat assistant only when maintainers explicitly choose to use paid APIs on main, with no automatic schedule; a green core badge does not represent live provider health, nor can it rule out provider drift. - License: Apache 2.0.