LibreAI / AI Agents / deepeval
// agents · confident-ai/deepeval

deepeval

Unit tests for LLMs — evaluate before you ship.

★ 18.7k stars⑂ 2.0k forksApache-2.0updated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

deepeval is an open-source ai agents project by confident-ai (confident-ai/deepeval on GitHub). It has 18,695 GitHub stars and 2,032 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 7 October 2026.

GitHub stars
18,695
Forks
2,032
License
Apache-2.0
Last updated on GitHub
7 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Start with a use case

    Pick one concrete task so you can judge whether the project fits.

  2. Fetch the source

    Clone the repo and check the prerequisites listed in the README.

  3. Set up the environment

    Install what it needs and configure credentials or model access.

  4. Try the sample workflow

    Run a minimal example end to end before wiring it into your stack.

// features

Why people love it

LLM metrics

A library of evaluation metrics for model outputs.

Python-native

Integrates with pytest-style workflows.

Regression testing

Catch quality drops between model versions.

Confident AI backing

Maintained by confident-ai with docs and cloud options.

Open source

Apache-2.0 licensed.

CI-friendly

Designed to run in automated pipelines.

Advertisement
// run it

Run it yourself

  1. Step 1 — Install

    Install DeepEval from PyPI.

    pip install deepeval
  2. Step 2 — Write a test

    Define metrics over your model's outputs in a test file.

    # see README for metric examples
    # test_example.py
  3. Step 3 — Run it

    Execute the evaluation suite.

    deepeval test run test_example.py
// use cases

What you can build

Advertisement
// faq

Questions, answered

Who maintains DeepEval?

It is maintained by confident-ai at confident-ai/deepeval, with 2,032 forks.

Is DeepEval free to use?

The open-source framework is free under Apache-2.0; a cloud tier also exists.

Do I need a paid API to use it?

Core evals run locally; some metrics may call models through your own API keys.

How does it compare to other eval frameworks?

Compare with Ragas, LangSmith evals, and others on metrics coverage and workflow fit.

How do I get started?

Install the package, write a test file with your metrics, and run it.

// keep exploring

Similar tools

Agents

deepteam

Open-source red-teaming framework that stress-tests LLMs and AI agents.

★ 3.0k starsApache-2.0
View guide →
AI Agents

guardrails

Put guardrails on LLMs: validate outputs before they reach users.

★ 7.5k starsApache-2.0
View guide →
AI Agents

helicone

Open-source LLM observability: monitor, evaluate, and experiment.

★ 6.2k starsApache-2.0
View guide →
AI Agents

AgentBench

A rigorous benchmark for LLMs acting as agents.

★ 3.8k starsApache-2.0
View guide →
Agents

AI-fundamentals

Chinese-language course on AI basics: GPU architecture, CUDA, LLMs, and agents.

★ 2.9k starsApache-2.0
View guide →
AI Agents

jadx-ai-mcp

JADX plugin + MCP server that lets LLMs analyze Android APKs live — decompile, review, find vulnerabilities

★ 2.9k starsApache-2.0
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if deepeval is not the right fit.

Get deepeval

Free and open — grab the source, star the repo, and start creating.