the short answer
Use DeepEval if you want a local-first library: pytest-style tests, ready-made LLM-as-a-judge metrics for agents, RAG and multi-turn chat, any judge model, and results that stay on your machine unless you log in to Confident AI. Use judgeval if you are adopting the Judgment Labs platform: it traces your agent over OpenTelemetry and sends the data to hosted judges and production monitoring. Both are Apache-2.0.
- judgeval
- Apache-2.0, about 1,100 GitHub stars. Tracing SDK and client for the hosted Judgment platform.
- DeepEval
- Apache-2.0, about 18,300 GitHub stars. Pytest-style framework with ready-made metrics; optional Confident AI platform.
- Where results go
- judgeval: the Judgment platform. DeepEval: your machine, or Confident AI if you log in.
What Each Library Actually Is
judgeval is the open-source Python SDK of Judgment Labs. Its README describes four things. OpenTelemetry-based tracing, where @Tracer.observe() "automatically captures inputs, outputs, and LLM token usage". Agent judges: "prompt-based scorers to evaluate agent behaviors at scale" that produce structured behaviors, meaning scored, labelled outputs. Online monitoring that scores "live production traffic server-side with no latency impact". And auto-instrumentation for OpenAI, Anthropic, Google GenAI and Together AI, with framework support for LangGraph, OpenLit and the Claude Agent SDK. You configure a JUDGMENT_API_KEY and JUDGMENT_ORG_ID, and the data goes to the Judgment platform for storage and analysis.
So the library is the client and the judging happens on the platform. Judgment Labs' docs describe two judge types there - Agent Judge, which follows a natural-language rubric, and Code Judge, which runs your Python - usable online, offline against a dataset, or on demand. The platform is hosted and not open source, and its docs list self-hosting as coming soon. The README does not list a catalogue of prebuilt metrics.
DeepEval works like Pytest for LLM apps: you write test cases and assert on metric scores. It ships ready-to-use metrics: agentic ones (Task Completion, Tool Correctness, Goal Accuracy, Step Efficiency, Plan Adherence, Argument Correctness), RAG ones (Answer Relevancy, Faithfulness, Contextual Recall, Precision and Relevancy), multi-turn ones (Knowledge Retention, Conversation Completeness, Role Adherence and more), MCP and multimodal metrics, general checks such as Hallucination, Bias, Toxicity and JSON Correctness, and G-Eval and DAG for custom criteria. Its docs say almost all predefined metrics use LLM-as-a-judge, and every metric returns a score between 0 and 1 with its reasoning. Confident AI, from the same team, is the optional hosted platform for reports and production monitoring.
Side by Side
| judgeval | DeepEval | |
|---|---|---|
| License | Apache-2.0 | Apache-2.0 |
| GitHub stars, September 2026 | About 1,100 | About 18,300 |
| Install | pip install judgeval | pip install -U deepeval |
| Tracing | @Tracer.observe(), OpenTelemetry-based | @observe decorator; spans run locally |
| Prebuilt metrics | None listed in the README | Agentic, RAG, multi-turn, MCP, multimodal, safety |
| Custom criteria | Prompt-based scorers; Agent Judge and Code Judge on the platform | G-Eval, DAG, custom metrics |
| Judge model | Not stated in the README | Any LLM - OpenAI, Anthropic, Gemini, Ollama, LiteLLM and others |
| Test runner | Offline tests on the Judgment platform | deepeval test run, a native pytest integration |
| Production monitoring | Server-side scoring on the Judgment platform | Through Confident AI |
| Where results go | Judgment platform (API key and org ID) | Local by default; Confident AI if you log in |
The shape of the table is the shape of the decision. DeepEval is a complete tool on its own, and a platform is something you can add later. judgeval is half of a product; the other half is a hosted service you buy from Judgment Labs, which publishes no pricing as of September 2026.
Where DeepEval Is Stronger
- It works with nothing else. Per its tracing docs, spans, test cases on spans, metadata and token costs "run entirely locally"; data leaves your machine only if you log in to Confident AI.
- Metrics on day one. Tool Correctness, Task Completion, Faithfulness and the rest are imported, not written. A team without an evaluation specialist gets a first score the day it installs the package.
- Any judge model. The docs say "You can use ANY LLM judge", naming OpenAI, Azure OpenAI, Ollama, Anthropic, Gemini and LiteLLM, or your own model wrapped in
DeepEvalBaseLLM. A local model through Ollama keeps judge calls on your own hardware. - CI by default.
deepeval test runis a native pytest integration, so an eval suite fails a build the way a unit test does. - Component-level evals. Test cases attach to individual spans - an agent, a tool, a retriever - and are scored separately, without restructuring the app.
- Adoption. Roughly seventeen times judgeval's GitHub stars, and listed integrations for LangChain, LangGraph, Pydantic AI, CrewAI, OpenAI Agents, Google ADK, LlamaIndex, Mastra and others.
Where judgeval Is Stronger
judgeval's strengths are the platform's strengths, reached through the SDK. Both libraries need a hosted service for continuous production scoring - Judgment for judgeval, Confident AI for DeepEval - so the fair comparison is between those services' approaches.
- Judging built around agent behavior. Judges produce labelled behaviors rather than only a column of numbers, and the platform tracks detection rates, alerts, webhooks and dataset actions on them.
- Rubric judges for long trajectories. Agent Judge reasons over a whole trace against a natural-language rubric, the problem Judgment Labs wrote about in its May 2026 post on long-context evaluation.
- Discovery. Behavior Discovery and AutoRubrics look for failure patterns you have not named, where a metric library measures the things someone already thought to measure.
- SDKs beyond Python. judgeval-js, judgeval-go and judgeval-java sit beside the Python library, for teams whose agents are not all Python.
- Server-side, no latency. Online monitoring runs on Judgment's side, so production scoring adds no work to your request path.
One RAG Support Agent, Both Libraries
A support agent answers billing questions from a retrieved policy document and can call a lookup_invoice tool. You want to know whether it answers from the policy, calls the tool when it should, and gets worse after changes.
DeepEval: tests first
Write test cases from real tickets - the input, the agent's answer, the retrieved context - and attach Faithfulness, Answer Relevancy and Tool Correctness with thresholds. Run
deepeval test runin CI. Decorate the retriever and the tool call with@observeto score them separately. Nothing leaves the machine unless you log in to Confident AI for reports and production traces.judgeval: platform first
Instrument the agent with
@Tracer.observe()and the provider auto-instrumentation, set the API key and org ID, and traces flow to Judgment. Write an Agent Judge rubric for "answers only from the retrieved policy" and a Code Judge for the invoice lookup; run them offline against a dataset, then online on sampled production traffic, alerting on the detection rate.What you have after a week
With DeepEval: a CI gate on standard metrics, and production monitoring only if you adopt Confident AI. With judgeval: production judging and behavior tracking, and a commercial relationship with Judgment Labs, since the platform is sold by demo.
In both cases the metric or the rubric is the hard part. A Faithfulness score is only as good as the context you hand it, and a rubric is only as good as the people who agreed on what it means.
Cost and Lock-in
Both libraries are free; the costs sit elsewhere. DeepEval's LLM-as-a-judge metrics call a model you choose, so the judge bill is yours and visible on your provider invoice. Confident AI, if you add it, is a separate product with its own pricing, not covered here. judgeval's cost is the Judgment platform, which publishes no prices as of September 2026.
Lock-in follows the same line. DeepEval test cases and metrics are Python files in your repository, and you can keep them if you drop the platform. judgeval tracing is OpenTelemetry-based, so the traces are portable, but the judges, behaviors and monitoring rules live on the Judgment platform and do not travel with the SDK.
Neither README describes stopping an agent action before it executes. judgeval's online monitoring scores traffic server-side after the fact, and DeepEval's metrics score test cases and spans that have already run. Both are measurement tools, and that is the right scope for a library: the thing that blocks an action has to live in the agent or its harness, not in the evaluation code.
Both also leave the hardest decision to you: what to measure. DeepEval's ready-made metrics make it easy to measure something on day one, which is not the same as measuring the right thing. A Tool Correctness score tells you whether the agent called the tools you expected; it does not tell you whether the refund it issued was allowed. That question needs a criterion written for your domain - a G-Eval or DAG metric in DeepEval, an Agent Judge rubric in Judgment - and a few dozen human labels to check the judge agrees with the people who own the policy.
A practical order for a small team: start with two or three ready-made metrics and one custom criterion, run them in CI on fifty real cases, and only then decide whether you need a hosted platform for production. If the answer is yes, the platform choice matters more than the library choice.
A fair middle path exists for teams that like both ideas: DeepEval in CI for the known cases, and a production judge - on Judgment, Confident AI or a platform of your own - for the unknown ones. What matters is that someone owns the rubric in both places.
Which to Choose
- Choose DeepEval when you want evaluation as code in your repository: ready-made metrics, pytest in CI, any judge model, and no platform until you decide you need one.
- Choose judgeval when you are buying Judgment Labs for its agent judges and behavior monitoring, and want the SDK that feeds them.
- Choose Failproof AI if the question is not only how good the answer was but whether a tool call should run at all: its policies deny actions at the agent hook layer before they execute, and it runs your evaluations in the cloud, so a DeepEval suite or any other eval set you already have comes in as it is and reports its score beside the trace.
FAQ
Is DeepEval free?
The DeepEval library is open source under Apache-2.0 and free to use, and its tracing and metrics run locally. Its LLM-as-a-judge metrics call a judge model, which you pay your model provider for. Confident AI, the platform from the same team, is optional and adds reports, production traces and online evals.
Does judgeval work without the Judgment platform?
The README configures judgeval with a JUDGMENT_API_KEY and JUDGMENT_ORG_ID and describes data going to the Judgment platform for storage and analysis; its judges and online monitoring run there. Treat judgeval as the client for that platform rather than a standalone evaluation library. The platform is hosted, and its docs list self-hosting as coming soon.
Which has more built-in metrics, judgeval or DeepEval?
DeepEval. Its README lists ready-made metrics across agentic, RAG, multi-turn, MCP, multimodal and safety categories, plus G-Eval and DAG for custom criteria. The judgeval README lists no prebuilt metrics; it centres on prompt-based scorers you define, with Agent Judge and Code Judge running on the Judgment platform.
Can I run DeepEval in CI?
Yes. deepeval test run is DeepEval's native pytest integration, documented for running evals in CI/CD pipelines. Set metric thresholds so a failing score fails the test. Keep the suite small enough to run on every pull request, since each LLM-as-a-judge metric is a model call with a cost and a latency.
Get Started
Failproof AI is free to start. It finds recurring failure modes across agent sessions using code-based and LLM-based evaluations, groups the evidence into findings, and recommends fixes. Bring the eval suite you already have, alert the right owner when behavior drifts, and turn a tested fix into a policy that prevents the failure from recurring. See pricing for the tiers.
Sources
Checked against each vendor's own site and docs on 2026-09-14. Products change; if a detail here is out of date, tell us at support@befailproof.ai.
- judgeval on GitHub (README)
- judgeval on PyPI
- Judgment Labs docs: Judges
- Judgment Labs docs: Self-hosting
- DeepEval on GitHub (README)
- DeepEval docs: Metrics introduction
- DeepEval docs: LLM tracing