confident-ai /deepeval

The LLM Evaluation Framework

★ 19,492⑂ 2,207👁 64⑃ 2,750● 814▤ 64
PythonApache-2.0Created 2023-08-10deepeval.com
下载:Introducing Jev in DeepEvalpython-v4.2.4 ↓4.2.42026-09-22
+13
日增长
19,492
stars
2,207
forks
64
watchers
2,750
prs
814
issues
64
releases

README

The LLM Evaluation Framework







    
        
    
    
        
    



    
        Documentation |
        Metrics and Features |
        Getting Started |
        Integrations |
        Confident AI
    



    
        
    
    
        
    
    
        
    
    
        
    



    
    Deutsch | 
    Español | 
    français | 
    日本語 | 
    한국어 | 
    Português | 
    Русский | 
    中文


DeepEval is a simple-to-use, open-source LLM evaluation framework, for evaluating large-language model systems. It is similar to Pytest but specialized for unit testing LLM apps. DeepEval incorporates the latest research to run evals via metrics such as G-Eval, task completion, answer relevancy, hallucination, etc., which use LLM-as-a-judge and other NLP models that run locally on your machine.

Whether you're building AI agents, voice agents, multi-turn chatbots, RAG pipelines, or anything else, implemented via LangChain or OpenAI, DeepEval has you covered. With it, you can easily evaluate:

- LLM apps end-to-end as black boxes
- Complete AI agent trajectories across every decision and action
- Individual AI agent steps such as LLM calls, tool use, retrieval, and sub-agent handoffs

Use these evaluations to determine the optimal models, prompts, and architecture to improve your AI quality, prevent prompt drifting, or even transition from OpenAI to Claude with confidence.

 Jev is now available in DeepEval, both in existing metrics and the latest JevEval.

 [!IMPORTANT]
 If you're already in production, Confident AI surfaces failing traces before anyone has written an eval for them, clusters them into failure modes, and turns them into your next eval.

 !Demo GIF



 🔥 Metrics and Features

- 📐 Large variety of ready-to-use LLM eval metrics (all with explanations) powered by ANY LLM of your choice, statistical methods, or NLP models that run locally on your machine covering all use cases:

  - Custom, All-Purpose Metrics:

    - JevEval — a custom metric scored by Jev, a System One model that answers your questions with calibrated probabilities instead of generated text
    - G-Eval — a research-backed LLM-as-a-judge metric for evaluating on any custom criteria with human-like accuracy
    - DAG — DeepEval's graph-based deterministic LLM-as-a-judge metric builder

  - 
    AI Agent Metrics

    - Task Completion — evaluate whether an AI agent accomplished its goal
    - Tool Correctness — check if the right tools were called with the right arguments
    - Goal Accuracy — measure how accurately the agent achieved the intended goal
    - Step Efficiency — evaluate whether the agent took unnecessary steps
    - Plan Adherence — check if the agent followed the expected plan
    - Plan Quality — evaluate the quality of the agent's plan
    - Tool Use — measure quality of tool usage
    - Argument Correctness — validate tool call arguments

    

  - 
    Voice Agent Metrics

    - Agent Responsiveness — check whether the voice agent answered when it w

Top issues

Discussions

Latest release

Introducing Jev in DeepEval python-v4.2.4 2026-09-22
New to deepeval? Get started here.

 🧠 Introducing Jev: System One for LLM Evals

Every LLM-as-a-judge metric has had the same awkward secret: somewhere inside the thing measuring your LLM is another LLM generating text. Closed-ended verdicts (yes / no / borderline) were treated like writing tasks, and you paid for it in variance, latency, and cost.

deepeval 4.2.2 introduces support for Jev, TypeSafe AI's System One model. Jev is not a language model. It does not generate text. You give it state and a bounded question, and it returns a typed decision with calibrated probabilities.

Th

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON