Last updated November 1, 2026. Versions, metrics, prices, and repo activity were checked against each project’s docs, GitHub, PyPI, and npm on that date, and all three frameworks were installed and run on one machine.
In the DeepEval vs Ragas vs Promptfoo choice, DeepEval is the best pick for Python teams testing agents in CI, Promptfoo is the best pick for YAML-driven prompt and model tests in any language, and Ragas is now a narrow pick for RAG metrics that needs a pinned dependency to install. All three are free and open source.
Each one grades LLM output, yet they come from different places: DeepEval from pytest-style unit tests, Ragas from retrieval research, and Promptfoo from a command line that runs prompt by model matrices. This comparison sits in our AgentOps hub and the agent evals section, next to our wider AI agent evaluation tools roundup.
We installed the latest release of each on November 1, 2026, scored the same 20 canned agent replies with deterministic checks in all three, logged every host each one looked up, and tried an LLM-judged metric with no API key. No vendor paid for placement or reviewed this page, per our editorial standards and disclosure policy.
TL;DR
- DeepEval is the best default for agent teams. It ships 60 metric classes, including tool, plan, and task completion checks, and runs as pytest in CI.
- Promptfoo is the best pick outside Python. It has 68 built-in assertion types, a YAML config, and red teaming in the same CLI, and it now belongs to OpenAI.
- Ragas still has the deepest RAG metric heritage, but its upkeep has stalled. Its repo had zero commits in the last 30 days, and a clean install failed to import until we pinned
langchain-communityto 0.4.1. - All three scored our 20 test cases the same way. Each matched our hand count on exact answers, order ID patterns, and tool calls, so the choice comes down to workflow and upkeep.
- Two of the three phone home by default. DeepEval and Promptfoo send usage telemetry until you set an opt-out variable; none of them send prompts or outputs.
DeepEval vs Ragas vs Promptfoo at a Glance
DeepEval and Promptfoo are both active, well-funded projects with weekly releases, while Ragas has not shipped a release since January 13, 2026. DeepEval fits Python codebases and agent metrics, Promptfoo fits config-driven tests across models and languages, and Ragas fits teams that already depend on its RAG metrics and can pin its dependencies.
| DeepEval | Ragas | Promptfoo | |
|---|---|---|---|
| Latest release | 4.3.2, Oct 27, 2026 | 0.4.3, Jan 13, 2026 | 0.125.1, Oct 25, 2026 |
| License | Apache 2.0 | Apache 2.0 | MIT |
| Language | Python | Python | Node.js CLI, YAML config |
| Built-in checks | 60 metric classes | 37 metrics | 68 assertion types |
| GitHub stars | 19,213 | 16,194 | 26,674 |
| Commits, last 30 days | 136 | 0 | 452 |
| Downloads, last 30 days | 2.58M (PyPI) | 1.05M (PyPI) | 3.34M (npm) |
| Owner | Confident AI | Vibrant Labs | OpenAI |
| Paid platform | Confident AI, from $0 | None | Promptfoo Enterprise, custom |
Decision kernel: pick the framework whose test format matches how your team already ships code, then check upkeep before you commit. A Python agent repo with pytest points to DeepEval, a polyglot team with prompts in config points to Promptfoo, and an existing Ragas pipeline points to pinning it and planning an exit.
How We Tested DeepEval, Ragas, and Promptfoo
We built 20 canned replies from a fictional order support agent and scored them in all three frameworks with checks that need no model: exact answer match, an order ID regex, and a tool call match. We seeded wrong wording, dropped IDs, wrong tools, and wrong arguments, so the true counts were 13, 17, and 16 passes.
Each framework ran on an 8-vCPU Linux box with Python 3.13 and Node 22.23. We used DeepEval’s ExactMatchMetric, PatternMatchMetric, and ToolCorrectnessMetric, Ragas’ ExactMatch, a @discrete_metric regex, and ToolCallAccuracy, and Promptfoo’s equals, regex, is-json, and javascript assertions with the echo provider.

All three matched our hand count on every check. DeepEval and Ragas finished in about 1.5 seconds including startup, and Promptfoo took about 3.1 seconds across its two config runs. A Python getaddrinfo hook and a Node dns.lookup hook logged every hostname each process resolved.
We then asked each framework for an LLM-judged metric with no API key set. All three failed fast with a clear missing key error, so none of them quietly skips a judged metric and reports a pass. DeepEval raised on construction, Ragas required an llm argument, and Promptfoo marked the test as an error at grading time.
DeepEval: Best for Python Agent Tests in CI

DeepEval is the strongest choice for Python teams that want agent and RAG evals to run like unit tests, with 60 metric classes and a pytest runner. The DeepEval package is Apache 2.0, maintained by Confident AI, and shipped 55 releases in 2026, five of them since October 1.
Its metric catalog covers RAG faithfulness and relevancy, G-Eval and DAG custom judges, multi-turn conversation metrics, and a long list of agent checks: task completion, tool correctness, argument correctness, plan quality, plan adherence, step efficiency, goal accuracy, loop detection, and MCP use. Exact match, pattern match, and JSON correctness run without a judge model.
from deepeval import assert_test
from deepeval.metrics import ToolCorrectnessMetric
from deepeval.test_case import LLMTestCase, ToolCall
def test_cancel_tool():
case = LLMTestCase(
input="Cancel order ORD-100237",
actual_output="Order ORD-100237 is cancelled.",
tools_called=[ToolCall(name="cancel_order")],
expected_tools=[ToolCall(name="cancel_order")],
)
assert_test(case, [ToolCorrectnessMetric()])
Run that file with deepeval test run and it behaves like any pytest suite in CI. One snag in 4.3.2: ToolCorrectnessMetric builds a judge model on construction, so it demanded OPENAI_API_KEY even for a purely deterministic check. A placeholder key worked, and our DNS log showed no request to OpenAI.
- Best for: Python teams testing agents, tools, and RAG pipelines in CI
- Runs as: Python library and pytest plugin; results can sync to Confident AI
- Pricing (November 2026): Free; Confident AI Free tier, Starter $200 a month, Team $2,000 a month, Enterprise custom
- Watch out for: Default PostHog telemetry, and judged metrics default to OpenAI models
Ragas: Best for RAG Metrics, With Caveats

Ragas is the framework that made faithfulness and context precision standard RAG metrics, but in November 2026 it is a maintenance risk. Its team emerged as Vibrant Labs on November 19, 2025 to build RL environments for agents, and the Ragas repo has not had a commit since February 24, 2026.
A fresh pip install ragas on November 1, 2026 installed 0.4.3 and then crashed on import ragas with ModuleNotFoundError: langchain_community.chat_models.vertexai. The cause is langchain-community 0.4.2, which removed that module in May 2026. Issue #2741 has been open since May 24, and three fix pull requests are still unmerged.
# Ragas 0.4.3 fails to import with langchain-community 0.4.2+
pip install ragas "langchain-community==0.4.1"
python -c "import ragas; print(ragas.__version__)" # 0.4.3
Pinned that way, Ragas worked well. Its 37 collection metrics include faithfulness, context precision and recall, answer accuracy, noise sensitivity, tool call accuracy, tool call F1, and agent goal accuracy, plus non-LLM BLEU, ROUGE, and string checks. Its test set generator for RAG is still one of the better ones.
- Best for: Teams with an existing Ragas pipeline or a research focus on retrieval quality
- Runs as: Python library; no hosted platform
- Pricing (November 2026): Free and open source
- Watch out for: Stalled upkeep, a 771 MB install, and a dependency pin you must carry
Promptfoo: Best for Prompt and Model Matrix Tests

Promptfoo is the best pick when tests live in config and run across many prompts, models, and languages, with red teaming in the same tool. Promptfoo reads a YAML file, crosses every prompt with every provider and test case, and grades the outputs with 68 built-in assertion types, each of which you can negate with a not- prefix.
prompts: ["{{output}}"]
providers: [echo]
tests:
- vars: {output: "Order ORD-100200 has shipped and arrives Tuesday."}
assert:
- type: regex
value: "ORD-\\d{6}"
- type: llm-rubric
value: "Confirms the shipping status politely"
The assertion list spans string and JSON checks, BLEU, ROUGE, and METEOR, cost and latency limits, RAG context checks, G-Eval, agent trajectory checks for tool sequence and goal success, and trace span checks. Custom graders run in JavaScript, Python, or Ruby, so non-Python teams are first-class users.
OpenAI agreed to acquire Promptfoo on March 9, 2026, and the repo still says it is MIT licensed and open source. The CLI now needs Node 22.22 or newer; on Node 20 its SQLite dependency tried to compile from source and failed on our box.
- Best for: Polyglot teams, prompt and model comparisons, and security testing in one CLI
- Runs as: Node.js CLI with a local web viewer; config in YAML
- Pricing (November 2026): Free Community edition with 10,000 red team probes a month; Enterprise and on-premise pricing is custom
- Watch out for: A 732 MB install, Node 22.22+, and telemetry on by default
Metrics and Assertions Compared
DeepEval has the widest set of agent metrics, Promptfoo has the widest set of output assertions, and Ragas has the deepest RAG metrics. Every framework covers exact match, regex or string checks, tool call checks, and LLM-as-judge rubrics, so coverage alone rarely decides the choice. Check the agent rows below against what your agent does.
| Check | DeepEval | Ragas | Promptfoo |
|---|---|---|---|
| Exact and pattern match | Yes, no judge | Yes, no judge | Yes, no judge |
| Tool call correctness | Tool and argument correctness | Tool call accuracy and F1 | Trajectory and tool call assertions |
| Plan and step quality | Plan quality, adherence, step efficiency | Agent goal accuracy | Trajectory step count and goal success |
| RAG faithfulness and context | Yes | Yes, the core strength | Yes |
| Custom LLM judge | G-Eval and DAG | Discrete and numeric metric decorators | llm-rubric and g-eval |
| Multi-turn conversations | Yes, 15+ metrics | Yes | Conversation relevance |
| Red teaming | Separate DeepTeam package | No | Built in |
| Synthetic test data | Yes | Yes, RAG test sets | Yes, via red team generators |
Install Size and Project Health
DeepEval was the lightest install by far at 174 MB, while Ragas and Promptfoo each pulled more than 700 MB onto disk. Ragas brings pyarrow, scipy, pandas, and a LangChain stack, and Promptfoo installs 617 npm packages. Install time tracked size: 10.6 seconds for DeepEval, 15.4 for Promptfoo, and 28.5 for Ragas.

Project health tells a sharper story. Promptfoo merged 452 commits in 30 days and DeepEval 136, while Ragas merged none. Downloads have not caught up with that shift yet, and Ragas still pulled 1.05 million PyPI downloads last month, mostly from pipelines that pinned it long ago.

Pricing and Paid Platforms
All three frameworks are free to run locally, and you pay only for the judge model tokens your metrics use. The paid layers differ: DeepEval sells a hosted platform with published prices, Promptfoo sells custom-priced enterprise and on-premise editions focused on security, and Ragas has no paid product at all.
| Free option | First paid step | Top tier | |
|---|---|---|---|
| DeepEval / Confident AI | Library free; cloud Free tier with 2 seats, 1 project, 5 test runs a week | Starter, $200 a month per organization | Team $2,000 a month; Enterprise custom |
| Ragas | Library free | None | None |
| Promptfoo | Community edition, 10,000 red team probes a month | Enterprise, custom quote | On-premise, custom quote |
Judge tokens are the real running cost. A 500-case suite with three judged metrics can make 1,500 or more model calls per run, so set a cheap default judge model and keep deterministic checks for anything a regex or JSON check can catch.
Telemetry and Privacy Defaults
DeepEval and Promptfoo both send anonymous usage telemetry by default, and both document an environment variable to turn it off. In our runs DeepEval resolved PostHog’s host once, Promptfoo resolved three of its own hosts, and Ragas’ direct metric calls resolved none. Neither vendor’s docs say prompts or outputs are sent.
| Default | Opt-out variable | After opt-out in our test | |
|---|---|---|---|
| DeepEval | PostHog events: metric names, event names | DEEPEVAL_TELEMETRY_OPT_OUT=1 | Zero lookups |
| Ragas | Usage tracking to its own endpoint | RAGAS_DO_NOT_TRACK=true | Zero lookups (none before either) |
| Promptfoo | Command and assertion type events | PROMPTFOO_DISABLE_TELEMETRY=1 | One lookup per run |
Promptfoo’s leftover lookup comes from its own code: with telemetry disabled, it still records a single telemetry disabled event per run. Teams in locked-down networks should block promptfoo.app at egress as well as set the variable, per the telemetry docs and the DeepEval data privacy page.
Which One Should You Pick?
Choose DeepEval for Python agent tests in CI, Promptfoo for config-driven tests across models or languages, and keep Ragas only where its RAG metrics already run and you can carry the pin. Many teams run two: DeepEval or Ragas inside the Python app, and Promptfoo for prompt comparisons and red team scans in CI.

Your agent is a Python service
Use DeepEval. Its agent metrics map to tool calls and plans, and the pytest runner drops into the CI job you already have. Pair it with an observability tool from our open source LLM observability guide to feed failing traces back into test cases.
Your prompts live in config and many models compete
Use Promptfoo. One YAML file crosses every prompt with every model, and the web viewer makes side by side review fast. Our Promptfoo vs Garak vs PyRIT comparison covers its red team side in depth.
You already run Ragas in production
Pin langchain-community==0.4.1, freeze the rest of the lockfile, and plan a move. DeepEval covers faithfulness, contextual precision, and contextual recall with similar definitions, so most RAG suites port with modest effort.
When to skip all three
If you want a hosted product with datasets, human review, and dashboards out of one vendor, start with a platform from our Braintrust vs Maxim vs Galileo or Langfuse vs LangSmith vs Braintrust comparisons. Open-source frameworks give you the scoring engine; platforms add the workflow around it. If you want a hosted platform rather than a framework, our Braintrust alternatives guide compares eight eval and tracing tools.
Frequently Asked Questions
Which is better, DeepEval or Ragas?
DeepEval is the better choice for most teams in 2026. It ships 60 metric classes with strong agent coverage, releases several times a month, and installs at 174 MB. Ragas has fine RAG metrics, yet its repo had no commits in 30 days and its latest release failed to import until we pinned langchain-community to 0.4.1.
Is Promptfoo still open source after the OpenAI deal?
Yes. OpenAI agreed to acquire Promptfoo on March 9, 2026, and the GitHub repo still carries the MIT license and says the open-source suite will be maintained. Version 0.125.1 shipped on October 25, 2026, and the project merged 452 commits in the 30 days before November 1, 2026.
Can DeepEval, Ragas, and Promptfoo run without an API key?
Yes, for deterministic checks such as exact match, regex, JSON, and tool call comparisons. All three scored our 20 test cases with no model calls. LLM-judged metrics need a model, and each framework stopped with a clear missing key error. DeepEval’s ToolCorrectnessMetric asked for a key even in deterministic mode.
Why does pip install ragas fail to import?
Ragas 0.4.3 imports a VertexAI module that langchain-community 0.4.2 removed in May 2026, so a fresh install raises ModuleNotFoundError on import. Install it with langchain-community pinned to 0.4.1 to fix the error. The upstream issue, number 2741, has been open since May 24, 2026.
Do these eval frameworks send data to the vendor?
DeepEval and Promptfoo send anonymous usage telemetry by default, such as event names and metric or assertion types, and neither documents sending prompts or outputs. Set DEEPEVAL_TELEMETRY_OPT_OUT=1 or PROMPTFOO_DISABLE_TELEMETRY=1 to stop it. Ragas has a RAGAS_DO_NOT_TRACK switch, and our direct metric calls made no lookups.
Related Guides
Keep going with the agent evals section, our AI agent evaluation tools roundup, the AI agent testing tools guide, and the Promptfoo vs Garak vs PyRIT comparison. For security testing of the same agents before launch, see the AI red teaming tools list.
More context sits in our prompt management tools guide, the AgentOps tools overview, and the AgentOps hub.
The Bottom Line
Pick DeepEval if your agents are written in Python and you want evals as unit tests, pick Promptfoo if your tests live in config and span models or languages, and treat Ragas as legacy until its maintainers ship again. All three gave identical scores on our deterministic checks, so workflow fit and upkeep should decide.
Run your own 20-case smoke test before you commit, with the opt-out variables set if your network is locked down. Send corrections or your own results through our contact page.

