Skip to content
← Blog Comparisons · Field note

Agent Evaluation Frameworks Compared: DeepEval 4.0 vs RAGAS vs Braintrust vs promptfoo — 2026

Trajectory scoring, red-teaming, CI/CD gating, production monitoring — we compare 7 agent evaluation frameworks with a decision matrix that matches your architecture, not your GitHub stars.

Balys Kriksciunas · · 10 min read
Split-screen illustration of a code terminal with passing test results next to a futuristic dashboard showing AI agent trajectory scoring graphs

The agent evaluation landscape shifted twice in 2026. First, DeepEval shipped 4.0 in May, reframing itself as an “eval harness for vibe coding agents.” Then OpenAI acquired promptfoo in March, absorbing the open-source red-teaming tool into its Frontier platform. Meanwhile, AWS quietly released Strands Evals, and LangChain split its eval surface into two purpose-built libraries: openevals and agentevals.

If you’re evaluating your agent with a single assert on the final answer, you’re doing it wrong. Agents produce trajectories — chains of reasoning, tool calls, and intermediate states — and two runs of the same task can take completely different paths and both be correct. The tools below are built for that reality.

We tested seven frameworks across four axes: agent trajectory scoring, CI/CD integration, production monitoring, and red-teaming. Here’s what we found.


The short version

Your situationPick
You need pytest-style CI gates for agents and RAG, with 50+ metrics out of the boxDeepEval 4.0
You’re evaluating a retrieval-heavy RAG pipeline and need paper-backed metricsRAGAS
You want a full platform: shared dashboards, production monitoring, human review, release gatingBraintrust
Security and red-teaming matter as much as correctnesspromptfoo
You built on LangChain and only need trajectory + tool-call scoringagentevals
You want automatic root-cause analysis on agent traces, not just scoresStrands Evals
You want composable primitives to build your own pipelineArize phoenix-evals

If you’re running a production RAG agent with CI/CD, you’re almost certainly running DeepEval in pytest + RAGAS on sampled production traces — and possibly Braintrust or LangSmith as the observability layer underneath.


What changed in 2026

DeepEval 4.0: the vibe-coder harness

DeepEval 4.0 (released May 2026) is the biggest shift. It added CLI commands explicitly designed for coding agents — deepeval generate to auto-synthesize datasets from your codebase, deepeval test run to execute suites, and a local file storage system that coding agents like Claude Code and Cursor can read to close the iteration loop. It ships SKILLs files for Claude Code, Codex, and Cursor, so your coding agent doesn’t guess what to improve — DeepEval tells it.

The core remains the same: 50+ metrics (G-Eval, hallucination, faithfulness, bias, toxicity, task completion), native pytest integration, and multi-turn conversational testing. But 4.0 makes it a scaffolding layer for vibe-coded agents, not just a test runner. DeepEval docs: Vibe Coder Quickstart

What it doesn’t do: Results live in terminal output or JSON files unless you adopt Confident AI, the paid platform built by the same team. No built-in production monitoring, no shared dashboards, no non-engineer collaboration UI in the open-source layer.

promptfoo joins OpenAI

OpenAI acquired promptfoo in March 2026 — the deal was reported by CNBC. The tool remains open-source (MIT), and its red-teaming module now scans for 50+ vulnerability types including prompt injection, jailbreaks, PII leaks, and tool misuse, aligned with OWASP and NIST presets. But the acquisition raises a legitimate question for teams that want vendor-independent security tooling: will promptfoo’s roadmap tilt toward OpenAI’s stack? So far, it hasn’t — but the risk is real.

Strands Evals: AWS enters the chat

Strands Evals (github.com/strands-agents/evals) is the newest entrant, released under Apache 2.0. It’s built around three concepts: a Case (input, expected output, expected tool trajectory), an Experiment (bundle of cases plus evaluators), and an Evaluator (LLM-as-judge). The differentiator: detectors that automate failure detection and root-cause analysis on execution traces. It reads OpenTelemetry traces, so it works on production runs as well as offline test cases. Small community, but the most opinionated about the full eval loop.


The framework-by-framework breakdown

DeepEval 4.0

Best for: Teams that want pytest-style CI gates and agent-native eval in a single Python library.

DimensionRating
Agent trajectory scoring✅ Strong — agent-specific metrics (task completion, tool correctness, planning quality, efficiency) since 4.0
CI/CD integration✅ Best in class — native pytest integration, deepeval test run CLI
Production monitoring❌ Not in open-source layer — requires Confident AI
Red-teaming⚠️ Via separate project (DeepTeam, 40+ vulnerability categories)
Non-engineer UX❌ Terminal/JSON only in OSS
PricingFree (OSS, Apache 2.0); Confident AI platform is paid

The code you’ll write:

import pytest
from deepeval import evaluate
from deepeval.metrics import TaskCompletionMetric, ToolCorrectnessMetric
from deepeval.test_case import ConversationalTestCase, LLMTestCase

def test_agent_tool_selection():
    task_completion = TaskCompletionMetric(threshold=0.7)
    tool_correctness = ToolCorrectnessMetric(threshold=0.8)

    test_case = ConversationalTestCase(
        turns=[
            LLMTestCase(
                input="What's the weather in San Francisco?",
                actual_output="Let me check that for you.",
                tools_called=["get_weather"],
                expected_tools=["get_weather"]
            )
        ]
    )

    results = evaluate(
        test_cases=[test_case],
        metrics=[task_completion, tool_correctness],
        run_async=False
    )
    assert all(result.success for result in results)

RAGAS

Best for: RAG-specific evaluation with audit-defensible, paper-backed metrics.

RAGAS (github.com/vibrantlabsai/ragas) provides 8 core metrics — faithfulness, context precision, context recall, answer relevancy, noise sensitivity, and more — each with a published academic methodology. It evaluates RAG systems without requiring ground-truth labels, which simplifies early dataset construction.

The catch: RAGAS is a metrics library, not an evaluation system. No CI orchestration, no production monitoring, no experiment tracking, no collaboration interfaces. It doesn’t evaluate agents at all — no trajectory scoring, no tool-call correctness. If your workload is pure retrieval-augmented generation, RAGAS is unmatched. If you’re building agents, you need something else alongside it.

DimensionRating
RAG evaluation✅ Best in class — paper-backed, no-ground-truth metrics
Agent evaluation❌ None — retrieval and generation scoring only
CI/CD integration❌ No built-in orchestration
Production monitoring❌ None
PricingFree (OSS, Apache 2.0)

Braintrust

Best for: Teams that want evaluation, observability, and human review in a single hosted platform.

Braintrust covers the full eval lifecycle: tracing, dataset management, experiment tracking, LLM-as-judge scoring, human annotation queues, and release gating. It’s the strongest all-in-one platform for teams that have outgrown terminal-based eval workflows. The pricing page starts at $0/month (Starter, 1GB processed data, 10K scores, 14-day retention) and scales to $249/month (Pro, 5GB, 50K scores, RBAC, priority support).

The autoevals library (github.com/braintrustdata/autoevals) provides open-source model-graded scorers for factuality, relevance, and safety — thin on their own, but a clean choice for drop-in scoring.

DimensionRating
Agent trajectory scoring✅ Via platform — custom scorers + LLM-as-judge
CI/CD integration✅ Release gating, experiment tracking
Production monitoring✅ Built-in — score live traffic, detect drift
Human review✅ Annotation queues, human review scores
Pricing$0 Starter; $249/mo Pro; Enterprise custom

promptfoo

Best for: Teams that treat security as a first-class eval dimension.

promptfoo (github.com/promptfoo/promptfoo) is CLI-first and YAML-driven. Its red-team module scans for prompt injection, jailbreaks, PII leaks, and tool misuse — aligned with OWASP LLM Top 10 and NIST AI RMF. It’s used by hundreds of thousands of developers and remains MIT-licensed post-acquisition.

The tradeoff: results stay local with no centralized experiment tracking, no shared dashboards, and no production monitoring in the core OSS offering.

DimensionRating
Red-teaming✅ Best in class — 50+ vulnerability types, OWASP/NIST presets
CLI/CI integration✅ Declarative YAML configs, npm & pip
Agent trajectory scoring⚠️ Limited — primary focus is security + correctness
Production monitoring❌ None in OSS
PricingFree (OSS, MIT); OpenAI Frontier integration TBD

agentevals (LangChain)

Best for: LangChain users who need trajectory and tool-call matching — and nothing else.

agentevals (MIT, Python & TypeScript) is a small, unopinionated library focused on a single job: judging an agent’s execution against an expected trajectory, either with an exact match or an LLM-as-judge. It’s the companion to openevals (github.com/langchain-ai/openevals), which handles general-purpose LLM evals.

Drop this in when trajectory scoring is the exact gap you need to fill. Don’t reach for it as a comprehensive eval solution — it’s a scalpel, not a Swiss Army knife.

Strands Evals (AWS)

Best for: Teams that want automated root-cause analysis from eval failures.

The newest entry (Apache 2.0, Python). Strands Evals reads OpenTelemetry traces and runs LLM-as-judge evaluators against expected tool trajectories. The killer feature: detectors that take you from “test failed” to “here’s what to fix” without manual trace reading. It’s the most opinionated tool about closing the eval → remediation loop, but the community is small and adoption is early.

Arize phoenix-evals

Best for: Teams that want composable eval primitives to build their own pipeline.

arize-phoenix-evals is a standalone, pip-installable library of lightweight evaluators — hallucination, relevance, toxicity, custom classifiers — with adapters for OpenAI, LiteLLM, and LangChain. It ships inside the Phoenix monorepo but is independent of the Phoenix observability UI. Choose it when you want building blocks, not a prescribed framework.


The cost reality

Most teams underestimate the judge-LLM cost. At 10,000 evaluations per day, DeepEval’s G-Eval metric (which calls an LLM as judge) costs roughly $150–$1,200/month depending on metric depth and model choice. RAGAS is comparable per-evaluation. The standard cost control is sampling: evaluate 1–5% of production traces rather than 100%.

Braintrust’s pricing is transparent: $0 Starter covers 10K scores/month, then $2.50/1K beyond that. At 300K scores/month (1% of 1M daily traces), you’re paying roughly $750/month for scoring alone — plus platform fees.

This is the hidden line item in agent infrastructure that most teams don’t budget for. If you’re evaluating every agent turn with an LLM-as-judge, your eval bill can exceed your inference bill. We covered this dynamic in depth in our inference cost paradox analysis.


How to choose

Don’t start with the tool. Start with the architecture.

  • If your agent is built on LangChain/LangGraph: openevals + agentevals slots in natively, and DeepEval integrates via the @observe decorator. You probably still want LangSmith or Braintrust as your observability layer. Our LangSmith vs Langfuse vs Arize comparison covers that decision.

  • If you’re vibe-coding agents with Claude Code or Cursor: DeepEval 4.0’s eval harness is purpose-built for this workflow. The SKILLs file + generate + test run CLI loop closes the iteration gap.

  • If you’re running a production RAG system: RAGAS for retrieval quality + DeepEval for CI gating is the standard combo. Add Braintrust or LangSmith for production monitoring.

  • If security is non-negotiable: promptfoo’s red-teaming module is the most mature open-source option. The OpenAI acquisition adds uncertainty, but the MIT license means you can fork if needed.

  • If you want a single platform: Braintrust is the most complete. DeepEval + Confident AI is the runner-up if you prefer the pytest-native workflow.


What nobody is doing well (yet)

There’s a gap in the market that none of these tools fill: continuous agent trajectory evaluation in production with automated rollback. Every platform can score traces and raise alerts. None can automatically compare a new agent deployment’s trajectory distribution against the previous version, detect statistically significant degradation in tool-call accuracy, and roll back — all without human intervention. This is the agent equivalent of canary deployments, and it doesn’t exist as a turnkey product in July 2026.

Strands Evals’ detectors come closest with their automated root-cause analysis, but they stop at diagnosis. The remediation step — rolling back, quarantining, or re-routing — is still manual everywhere.


The bottom line

Agent evaluation in 2026 is a multi-tool problem. You need trajectory scoring for your agent’s decision path, RAG metrics for retrieval quality, and either a platform or custom infrastructure to wire it into CI/CD and production monitoring. No single tool does all three well — and the ones that come closest (Braintrust, Confident AI) require paid plans to unlock the full loop.

Our take: start with DeepEval in pytest for CI gating, add RAGAS if you’re retrieval-heavy, and pick an observability platform (LangSmith, Braintrust, or Langfuse) for production. If security matters, add promptfoo. If you want automated root-cause analysis, watch Strands Evals — it’s early but opinionated in the right direction.

For a broader view of the agent infrastructure stack these tools plug into, see our complete guide to AI agent frameworks in 2026. And if you’re just getting started with agent evaluation in practice, our DeepEval + LangSmith tutorial walks through a production-ready eval pipeline.