Promptfoo, DeepEval, OpenAI Evals, or LangSmith? Choose by Test Boundary
The wrong evaluation tool can produce a perfectly green dashboard for the wrong system boundary.
I do not choose an eval framework by counting metrics. I start with a harder question: what exactly must fail before this change may ship? A prompt-model pair, an application behavior, a reusable benchmark, and a production trajectory are different test objects. Treating them as one object creates impressive reports and weak release gates.
This is not a ranking. Promptfoo, DeepEval, OpenAI Evals, and LangSmith have different centers of gravity. The useful comparison is not “which has more features?” but “which boundary does each make easiest to own?”
The four boundaries
| Tool | Natural test object | Best fit | Main caution |
|---|---|---|---|
| Promptfoo | declarative matrix of prompts, providers, test cases, assertions | fast model/prompt comparison, CI checks, red-team suites | a passing matrix does not prove that a stateful application behaves correctly |
| DeepEval | Python test case, metric, agent step or trajectory | application-level regression tests inside a Python test workflow | judge-based metrics remain evaluators with their own variance and model dependencies |
| OpenAI Evals | eval specification plus dataset/registry entry | reusable model or system benchmarks and private eval datasets | registry-oriented evaluation is not production observability |
| LangSmith | dataset experiment or traced application run | offline/online evaluation connected to traces and operational debugging | a hosted trace platform changes data-custody, cost, and vendor-boundary decisions |
The matrix is deliberately about architecture, not popularity. Repository stars and feature lists change. The ownership boundary changes much more slowly.
Choose Promptfoo when the matrix is the product
Promptfoo is strongest when the question is rectangular:
prompts × models × fixtures × assertions
Its declarative configuration, CLI, provider adapters, caching, CI integration, and red-team surface make it useful when a team wants to compare alternatives without first building an evaluation application. This is the shortest path from “we changed the prompt or provider” to a reviewable matrix.
The boundary matters. Promptfoo can call arbitrary providers and applications, but its natural artifact is still the evaluation matrix. If the defect lives in session state, a tool side effect, a delayed callback, or a multi-step recovery path, the matrix needs a harness that exposes those facts. Otherwise the test silently collapses an application into a string response.
Choose DeepEval when evals should behave like tests
DeepEval describes itself as Pytest for LLM applications. That framing is useful. A Python team can keep fixtures, custom metrics, application calls, agent trajectories, and assertions close to the code under test. Its documented metrics cover RAG, conversations, tool correctness, task completion, and individual agent steps.
I would choose this boundary when the evaluation belongs in the application repository and must evolve with its code. It is especially useful when a failure should look like a failed test, not merely a lower dashboard score.
But assert score >= 0.8 is not deterministic just because it is written in Python. If an LLM judge supplies the score, pin the judge model where possible, preserve its rubric and inputs, repeat unstable cases, and separate deterministic checks from semantic judgments. The test runner gives a familiar control surface; it does not remove evaluator uncertainty.
Choose OpenAI Evals when the benchmark is reusable
OpenAI Evals combines a framework with a registry of evals and datasets. Its repository supports custom evals, model-graded templates, private datasets, and completion functions for more advanced systems. That makes it a reasonable fit when the durable object is a benchmark definition that should run across model versions or implementations.
This boundary is narrower than application assurance. A benchmark can reveal regression in a modeled capability while missing authentication, state migration, permission checks, retries, or side effects around the model. I would use it to answer “did this model or completion function regress on this corpus?”—not “is the whole agent safe to deploy?”
Choose LangSmith when the trace is part of the evidence
LangSmith’s evaluation model connects datasets and evaluators to experiments and traced runs. Its advantage appears when a failing score must lead directly to the execution trace that produced it, or when offline suites and sampled production evaluation belong in one operational workflow.
That is a different product boundary. The trace is no longer debugging exhaust; it becomes evidence. This fits teams already using LangChain tracing or willing to adopt a managed evaluation and observability plane.
The trade-off should be explicit. Trace payloads may contain prompts, retrieved documents, tool arguments, and user data. Before adopting any hosted platform, decide what may leave the system, what must be redacted, how long traces live, and whether the release gate still works if the service is unavailable.
My minimum stack is smaller than the market map
Most teams do not need four platforms. They need four artifacts, even if one tool produces several of them:
- A versioned fixture set with stable inputs and expected invariants.
- Deterministic assertions for schema, permissions, tool arguments, and forbidden outcomes.
- A bounded semantic evaluator for qualities that cannot be reduced honestly to exact matching.
- A failure bundle containing the input, output, evaluator identity, rubric, trace reference, and changed dependency.
Start with the smallest tool that makes those artifacts reviewable in CI. Add a trace platform only when traces improve diagnosis or production feedback. Add a benchmark registry only when benchmark reuse is a real requirement. Tool sprawl is not evaluation maturity.
This is also why I separate the layer an agent is missing from the tool selected to test it. A harness tests; a runtime owns effects and recovery. Evaluation can block a release, but it cannot make an unsafe side effect reversible. For that, the system still needs explicit effect identity and recovery semantics.
A five-question decision gate
Before adopting an eval framework, answer these in writing:
- What is the test object: response, application run, trajectory, or benchmark corpus?
- Which failures are deterministic, and which require a judge?
- What exact artifact blocks the pull request or deployment?
- Can a reviewer reproduce a failure without the original dashboard?
- Does the tool receive data that the application is not allowed to export?
If those answers are unclear, another framework will not fix the evaluation design. It will only give the ambiguity a better interface.
My default is simple: choose Promptfoo for a declarative comparison matrix, DeepEval for code-adjacent Python regression tests, OpenAI Evals for reusable benchmark definitions, and LangSmith when trace-linked evaluation is itself an operational requirement. Then keep the release contract above the vendor: fixtures, evaluator identity, thresholds, evidence, and failure artifacts must remain understandable outside any one UI.