Tests that live with your code
Test cases, providers and expectations are declared in configuration files in your repository and run from the command line, so evaluation changes are reviewed like code.
SERVICES / OPEN SOURCE
Independent design and implementation of AI agent evaluations with the open-source Promptfoo CLI: tool-call and trajectory assertions, simulated multi-turn conversations and CI release gates.
Test cases, providers and expectations are declared in configuration files in your repository and run from the command line, so evaluation changes are reviewed like code.
Every run is a matrix of prompts, models and test cases, viewed side by side. Model migrations and prompt changes are compared on the same cases.
The evaluation engine is open source under the MIT license. Commercial tiers exist, but the work on this page uses only the open-source tool.
Assertions check which tools the agent used, the arguments it passed, the order of calls and the number of steps, not only the final message.
A simulated user drives realistic conversations over several turns, so clarifying questions, memory and handoffs are tested end to end.
Exact checks such as valid JSON, required content, latency and cost sit alongside rubric-based, model-graded assertions for judgment calls.
We translate acceptance criteria into specific assertions, so a passing test means the agent actually did the right thing.
Representative, difficult and failure-prone scenarios, with expected tool calls and outcomes reviewed by your domain experts.
Model-graded assertions are pinned to a grader model and checked against expert labels before they are trusted as release gates.
Agreed suites run on pull requests or before release, with critical assertions failing the build.
Key scenarios run several times with pass thresholds, so variable agent behavior is measured rather than missed.
We train your engineers to add cases, maintain assertions and read results as the agent evolves.
If your team uses Promptfoo's commercial platform, see our Promptfoo evaluation platform services.
Explore serviceA baseline for one Promptfoo agent or workflow, with prioritized findings and a release recommendation.
Explore serviceMeasure how often your Promptfoo agent invents facts, policies or actions, and which fixes reduce it.
Explore serviceRepresentative tasks, expected outcomes, repository access, model and agent access, and a domain reviewer.
Versioned configurations, assertions, a baseline comparison, prioritized findings and a documented rerun process.
We can retest fixes, extend coverage to new Promptfoo workflows or move to recurring Managed Evaluations as your agent changes. Platform usage and licenses stay in your account.
Start with one workflow, clear success criteria, and an evaluation plan your team can use.