judgeval
The open source post-building layer for Agent Behavior Monitoring.
What it is and what it does
Judgeval is a Python SDK that instruments LLM-powered agents with OpenTelemetry-based tracing and evaluation. It captures function inputs, outputs, and token usage automatically via decorators like @Tracer.observe(), then runs prompt-based judges—custom scorers you define—to evaluate agent behaviors at scale. These judges produce structured, scored outputs that accumulate into a searchable record of how your agent behaved over time.
The package integrates with multiple LLM providers and frameworks out of the box. You can run judges against live production traffic server-side, or replay them on historical traces to validate fixes before shipping. It includes a CLI for managing traces, judges, and behaviors from the terminal, and an MCP server for querying traces and invoking judges from AI assistants or IDEs.
Use it for:
- Detect and triage agent failures in production by running judges on live traffic and surfacing regressions.
- Validate agent fixes by replaying judges against historical traces before shipping to production.
- Build a searchable record of agent behavior over time to understand patterns and recurring issues.
- Instrument custom tools and functions alongside LLM calls to trace end-to-end agent execution.
- Query and inspect agent traces from the CLI or MCP server without writing code.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Judgeval is an SDK for tracing and evaluating LLM-powered agents in production, capturing function inputs/outputs and token usage via OpenTelemetry, then running prompt-based judges to score agent behaviors and surface regressions.
Yes. Judgeval is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and solves a real problem—observing and improving LLM agents in production. It requires Python >=3.10 and API credentials (JUDGMENT_API_KEY, JUDGMENT_ORG_ID), which implies a hosted backend service. No known vulnerabilities. Install it if you need production tracing and behavior-based evaluation for agents.
Install
judgeval on PyPI
pip
pip install judgevaluv
uv add judgevalpoetry
poetry add judgevalInstalling judgeval
Before you install
Low friction: pure Python wheel with eight runtime dependencies. Active maintenance—last commit 2026-08-10, 1057 GitHub stars, released 2026-08-03.
License in practice
Apache-2.0 (permissive): you may use, modify, and distribute this package freely in commercial and private projects, provided you include the license notice and state significant changes.
Quickstart
pip install judgeval
from judgeval import Tracer
Tracer.init(project_name="my-project")
@Tracer.observe(span_type="agent")
def run_agent(question: str) -> str:
return "response"
Requires Python >=3.10; JUDGMENT_API_KEY and JUDGMENT_ORG_ID environment variables must be set to send traces to the Judgment backend.
Verify before relying
- Specific latency overhead of server-side scoring on live production traffic.
- Whether Slack alert configuration is built-in or requires external setup.
- Retention and query performance characteristics of the trace storage backend.
- Cost model for the Judgment backend service (API key required suggests hosted service).
- Auto-instrumentation behavior and token usage capture mechanics with specific LLM providers.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 8 — dotenv, httpx, opentelemetry-exporter-otlp, opentelemetry-sdk, orjson, packaging, pathspec, typer |
| Maintenance | actively maintained — 11 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 269,024/month — #8,265 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: judgeval-1.3.1-py3-none-any.whl
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
trulensTruLens instruments LLM applications to trace…
permissive · top 15,000 on PyPI
trulens-coreInstruments LLM applications with…
permissive · top 15,000 on PyPI
deepevalDeepEval is an LLM evaluation framework that…
permissive · top 5,000 on PyPI
harbor-rewardkitHarbor Rewardkit defines and runs verifiers for…
permissive · top 5,000 on PyPI
agentopsAgentOps provides observability and monitoring…
permissive · top 15,000 on PyPI
opentelemetry-instrumentation-openai-agentsAdds distributed tracing to OpenAI Agents…
permissive · top 5,000 on PyPI
opikOpik is an open-source LLM observability and…
permissive · top 5,000 on PyPI
openlitOpenLIT provides OpenTelemetry-native…
permissive · top 15,000 on PyPI
mlflowMLflow is an open-source platform for managing…
permissive · top 1,000 on PyPI
dreadnodeDreadnode is an SDK for building, testing, and…
unclear · top 15,000 on PyPI