Judgeval

The continuous-improvement stack for agents — detect failures, triage root causes, and ship fixes backed by production data.

Stars
★ 1.1k
Last updated
1d ago v1.11.0
FARS reviewed
Nov 08, 2026 +10 new
License
Apache-2.0
Primary language
Python

At a glance

How it runs
Library / SDKCLIMCP server
Works with
Universal · cross-platformOpenAI API
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Python 3pipShell / CLINetwork access
Typical use
AI engineers building agents can detect production failures by using Judgeval's tracing to capture detailed logs and pinpoint root causes.
Not a fit if
  • Small projects that want to avoid OpenTelemetry concepts entirely
  • Organizations with compliance concerns about sending production traffic data to a third-party cloud
Website
judgmentlabs.ai ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-02latest release v1.11.0 (2026-12-02)

What does this agent do, and when should you use it?

Judgeval is an open-source Python SDK from Judgment Labs for agent improvement. It provides tracing and agent-judge evaluation for LLM-powered applications, helping you detect failures, understand root causes, and validate fixes against real production cases. Tracing is built on OpenTelemetry, using @Tracer.observe() to automatically capture function inputs, outputs, and token usage. Agent judges are prompt-based scorers that produce structured, scored labels for agent behaviors, accumulating into a searchable history. Online monitoring scores live traffic server-side with no latency impact and triggers Slack alerts on regressions. The SDK supports major model providers (OpenAI, Anthropic, Google GenAI, Together AI) and frameworks (LangGraph, OpenLit, Claude Agent SDK). It includes a CLI and MCP server for managing traces, judges, behaviors, and evals.

Judgeval provides a Python package installable via pip install judgeval, requiring environment variables JUDGMENT_API_KEY and JUDGMENT_ORG_ID. Core components: Tracer class initializes a project (Tracer.init(project_name=...)), @Tracer.observe() decorator captures function execution, and wrap() auto-instruments OpenAI clients. Users define prompt-based scorers ('agent judges') to evaluate agent behaviors, producing structured scored labels. JQL (Judgeval Query Language) allows querying traces via the Judgeval client, e.g., client.query(traces().where(eq("session", "session-123")).ids()). A CLI and MCP server enable terminal and AI-tool integration. The end-to-end flow: instrument code -> run agents -> traces captured -> define judges -> run evaluations online or on historical traces -> collect behavior signals -> trigger alerts or validate fixes.

  1. AI engineers building agents can detect production failures by using Judgeval's tracing to capture detailed logs and pinpoint root causes.
  2. Platform teams validating a new version can replay historical traces to confirm fixes work before deploying, avoiding regressions.
  3. Ops teams monitoring live traffic can set up Slack alerts to be notified when agent behavior deviates from expected norms.
  4. Data scientists analyzing agent behavior patterns can use JQL to query historical traces, filtering by session or other criteria.
  5. Developers using LangGraph or LangChain can enable auto-instrumentation without modifying business logic, gaining observability quickly.
  6. Organizations with existing OpenTelemetry-based observability stacks can integrate Judgeval due to its compatibility.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • pip install judgeval
Environment variables
JUDGMENT_API_KEY JUDGMENT_ORG_ID

How do you install or deploy this agent?

Install via pip:

pip install judgeval

Set environment variables:

export JUDGMENT_API_KEY=...
export JUDGMENT_ORG_ID=...

How do you use this agent?

Initialize the tracer and wrap OpenAI client:

from judgeval import Tracer, wrap
from openai import OpenAI

Tracer.init(project_name="my-project")
client = wrap(OpenAI())

Decorate functions to trace:

@Tracer.observe(span_type="tool")
def search(query: str) -> str:
    # ...
    return results

@Tracer.observe(span_type="agent")
def run_agent(question: str) -> str:
    # ...
    response = client.chat.completions.create(...)
    return response.choices[0].message.content

Run your agent; traces are automatically captured. Query with JQL:

from judgeval import Judgeval
from judgeval.jql import eq, traces

client = Judgeval(project_name="my-project")
result = client.query(traces().where(eq("session", "session-123")).ids())

Refer to the official docs for further use.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Built on OpenTelemetry, enabling seamless integration with existing observability infrastructure.
  • Automatic capture of LLM token usage and inputs/outputs with minimal code changes.
  • Provides JQL for flexible querying of traces and behaviors.
  • Online monitoring with Slack alerts detects production issues in real-time.
  • Supports major model providers and frameworks including OpenAI, Anthropic, LangGraph, and more.
Limitations
  • Requires a Judgment Labs cloud account and API keys, creating a cloud dependency.
  • Documentation is hosted externally, potentially lacking offline or community resources.
  • As a newer project, ecosystem and community support may be less mature.
  • Teams need to be familiar with OpenTelemetry concepts to fully leverage the SDK.
  • Automatic tracing may introduce performance overhead that needs evaluation.

How does this agent compare with similar options?

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Judgeval This agent 53 · Major gaps Library / SDKFree + model costs ★ 1.1k 1d ago Python OpenAI API
Beacon 79 · Good CLIFreemium ★ 3.7k 1d ago Go Codex · Claude Code
OpenTelemetry Agent Skills 76 · Good Agent plugin / skillFree ★ 127 1d ago Go Codex · Claude Code
NVIDIA NeMo Agent Toolkit 61 · Some gaps CLIFree + model costs ★ 2.7k 1d ago Python —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
53/ 100 5-point scale 2.7 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 10 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 13/29
Reliability 6/14
Adaptability 12/18
Convention 11/18
Effectiveness 7/13
Verifiability 4/8
Why each dimension lost points
Trust13 / 29 · 2.2/5

The README says tracing captures function inputs, outputs, and token usage, and that production traffic can be scored server-side. The SQL section describes organization and project scoping, read-only queries, and result limits, providing some visibility into data flow and ordinary access boundaries. Deductions: the packet does not show sensitive-field masking, retention, or deletion policies; confirmation for automatic tracing, scoring, and Slack alerts is unclear; dependencies use broad version ranges and no security review is shown; external effects and recovery or rollback are only lightly documented. The README and project metadata name Judgment Labs and maintainers, but publisher identity remains unknown under the prompt's rule.

Reliability6 / 14 · 2.1/5

The README, pyproject, and CI materials broadly agree on the Python SDK, CLI, integrations, and supported Python versions; CI configures tests across operating systems and Python versions. Deductions: dependency availability and pinning strategy are not adequately explained in the supplied material; the README mentions existing exception mapping but gives little troubleshooting or recovery guidance. Static evidence cannot establish runtime results.

Adaptability12 / 18 · 3.3/5

The README targets developers building LLM applications and describes tracing, evaluation, online monitoring, integrations, CLI, and MCP use cases. The SQL section specifies read-only behavior, query boundaries, row and byte limits, and integer representation; the Python minimum and main integrations are also stated. Deductions: guidance for different deployment environments, permission setups, and unsuitable use cases is limited.

Convention11 / 18 · 3.1/5

The README is organized into overview, quickstart, SQL, integrations, and tool links, with installation, credential setup, and practical examples. The SQL section lists several unsupported features and limits. LICENSE.md contains the Apache-2.0 text, and pyproject lists a version field, authors, and maintainers. Deductions: the version is 0.0.0 and the packet contains no changelog; maintainer contacts are present but update cadence and support policy are unclear; examples and FAQ coverage are limited.

Effectiveness7 / 13 · 2.7/5

The product description and examples show an SDK for tracing calls, running evaluations, and checking fixes against production data, with structured labels, query results, and alert signals. Deductions: the materials do not quantify benefits, operating costs, or costs at scale, and do not explain when the product may not be worthwhile.

Verifiability4 / 8 · 2.5/5

The README gives concrete SQL limits and response fields, while pyproject and CI can corroborate package name, Python requirements, dependencies, and test configuration. Deductions: implementation source and API models are absent from the supplied packet, so most behavioral claims cannot be cross-checked; CI configuration shows a test process but does not establish test results for this revision.

Risks and how to mitigate them
  • Tracing automatically captures inputs and outputs. Before sending production traffic, confirm whether those values may contain personal data, credentials, or other sensitive content, and review server-side retention and deletion rules.
  • The SQL documentation states that queries are read-only and scoped by organization and project with result limits; actual permissions and server execution behavior cannot be confirmed from this static packet alone.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision c0e453057197 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/judgeval.svg)](https://followagents.com/en/agents/judgeval)
<a href="https://followagents.com/en/agents/judgeval"><img src="https://followagents.com/badge/judgeval.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. v1.11.0
    Release notes excerpt
    You can find this package release on PyPI: https://pypi.org/project/judgeval/1.11.0/ What's Changed * test init asks for the baseline suite; run.py explains itself (JUD-12285) by @luna-jl in https://github.com/JudgmentLabs/judgeval/pull/880 * judgeval test run shows progress and a plain summary (JUD-12285) by @luna-jl in https://github.com/JudgmentLabs/judgeval/pull/879 * JUD-12284: judgeval test env status, and pull --force by @luna-jl in https://github.com/JudgmentLabs/judgeval/pull/876 …
    View on GitHub ↗
  2. v1.10.2
    Release notes excerpt
    You can find this package release on PyPI: https://pypi.org/project/judgeval/1.10.2/ What's Changed * Record earlier turns in Claude Agent SDK model inputs (JUD-12060) by @luna-jl in https://github.com/JudgmentLabs/judgeval/pull/865 * Deprecate forked and linked traces (observe fork, start_linked_trace) by @luna-jl in https://github.com/JudgmentLabs/judgeval/pull/866 * JUD-12251: Built-in test suite runner (test_runs.run, judgeval test init/run) by @luna-jl in https://github.com/JudgmentLabs/judgeval/pull/869 …
    View on GitHub ↗
  3. v1.10.1
    Release notes excerpt
    You can find this package release on PyPI: https://pypi.org/project/judgeval/1.10.1/ What's Changed * JUD-12049: Return a copy from canned_tool_result by @luna-jl in https://github.com/JudgmentLabs/judgeval/pull/862 Full Changelog: https://github.com/JudgmentLabs/judgeval/compare/v1.10.0...v1.10.1
    View on GitHub ↗

FAQ

What are the pricing and free tier for Judgeval?
The repository does not mention pricing; you should visit the Judgment Labs website or contact sales for details.
Can I self-host Judgeval without using the Judgment Labs cloud?
The repo does not provide self-hosting instructions; it appears to rely on cloud APIs, so offline or self-hosted use may not be supported.
Which model providers are supported?
The docs explicitly list OpenAI, Anthropic, Google GenAI, and Together AI, along with frameworks like LangGraph, OpenLit, and Claude Agent SDK.
How do I define custom scorers?
You can define prompt-based scorers to evaluate agent behaviors; detailed instructions are in the official documentation.
Is Judgeval fully compatible with OpenTelemetry?
Yes, tracing is built on OpenTelemetry, so it can integrate with other OTel tools, but specific compatibility may need verification.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts