The LLM Evaluation Framework
open coreApache-2.0self-hostablefreeMCP
DeepEval is Confident AI's Apache-2.0 framework for unit testing LLM applications the way Pytest tests code: you write test cases, pick metrics and run them with deepeval test run, locally or in CI. It has ready-made metrics for RAG (faithfulness, answer relevancy, contextual precision, recall and relevancy), agents (task completion, tool correctness, plan adherence, step efficiency), MCP use, multi-turn chatbots, voice agents and images, plus custom criteria with G-Eval and deterministic DAG judges, scored by any LLM or by local NLP models. Its Synthesizer generates single-turn and multi-turn test cases from your documents, contexts or from scratch, and it benchmarks models on MMLU, HellaSwag, GSM8K and others. Confident AI is the hosted platform it reports to: shared test reports, production tracing that clusters failing traces into failure modes and turns them into datasets, human annotation, and an MCP server, in the US or EU, or on premises for Enterprise.
Problems it solves
- write pytest-style unit tests that fail the build when my chatbot's answers start hallucinating
- score my RAG pipeline's retrieval for contextual precision and recall against expected answers
- check whether an agent called the right tools with the right arguments and finished the task
- define a custom LLM-as-judge metric in plain English for my own quality criteria
- generate test questions and expected answers from our PDFs so I don't have to write an eval set by hand
- evaluate a multi-turn support bot for knowledge retention and staying in role across a conversation
- simulate phone calls against my voice agent and score its latency, interruptions and transcription
- compare two prompts or models on the same eval suite before switching from OpenAI to Claude
- find failing production LLM traces nobody wrote a test for and turn them into a regression dataset
- measure how well an agent uses the MCP servers it has access to
- run MMLU, GSM8K or HumanEval against a model in a few lines of Python
- LLM evaluation platform with SOC 2 and HIPAA that can run on premises
Features
- RAG metrics: answer relevancy, faithfulness, contextual recall, precision and relevancy, and a RAGAS composite
- agent metrics: task completion, tool correctness, goal accuracy, step efficiency, plan adherence and quality, argument correctness
- multi-turn metrics: knowledge retention, conversation completeness, turn relevancy and faithfulness, role adherence
- MCP metrics: MCP task completion, MCP use, multi-turn MCP use
- voice agent metrics and call simulation with Vapi, ElevenLabs, LiveKit and Pipecat
- G-Eval and DAG custom metrics; hallucination, bias, toxicity, summarization, JSON correctness
- end-to-end and component-level evaluation with tracing
- Synthesizer: goldens from documents, contexts, scratch or existing goldens, with evolutions; conversational goldens
- benchmarks: MMLU, HellaSwag, DROP, BIG-Bench Hard, TruthfulQA, HumanEval, GSM8K
- prompt optimisation from evaluation results
View 2 more
- integrations: LangChain, LangGraph, Pydantic AI, CrewAI, OpenAI Agents, Google ADK, AI SDK, Mastra, LlamaIndex, AgentCore
- Confident AI: test reports, production trace evaluation, failure-mode clustering, annotation queues, MCP server
Ways to run it
DeepEval
Not included
- shared reports, production monitoring and annotation (Confident AI)
You arrange
- API keys for the judge LLM, or a local model
Confident AI
Free; Starter $200/month per organization; Team $2,000/month per organization; Enterprise custom3
Only in this edition
- shareable test reports
- evals on production traces and failure-mode clustering
- human annotation
- MCP server
- US or EU hosting
- SOC 2 and SSO (Team)
- HIPAA, on-prem deployment and custom data residency (Enterprise)
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has an MCP server | plan not known |
| Has official SDKs | plan not known |
| Has single sign-on | Team plan, $2000/month3 |
Alternatives
The same job
These do what DeepEval does.
- Ragas Objective metrics, intelligent test generation, and data-driven insights for LLM apps
- promptfoo Test your prompts, agents, and RAGs. Red teaming/pentesting/vulnerability scanning for AI
- Braintrust The active observability platform for agents
- LangSmith Observability, evaluation and deployment for LLM apps and agents, from LangChain
- Langfuse Open source AI engineering platform: AI Gateway, agent observability, evals, and prompt/skill management, built on OpenTelemetry.
- Arize Phoenix Tracing, evaluation and experiments for LLM applications and agents
