Judgeval
The continuous-improvement stack for agents — detect failures, triage root causes, and ship fixes backed by production data.
- Source repo
- JudgmentLabs/judgeval
- Stars
- ★ 1.1k
- Last updated
- 1d ago v1.11.0
- FARS reviewed
- Nov 08, 2026 +10 new
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 53/100 · Major gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformOpenAI API
- Cost
- Free software; you pay for model usage
- Setup effort
- Low · running in minutes
- You'll need
- 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)
- Source review
- 53/100 · Major gaps
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.
- AI engineers building agents can detect production failures by using Judgeval's tracing to capture detailed logs and pinpoint root causes.
- Platform teams validating a new version can replay historical traces to confirm fixes work before deploying, avoiding regressions.
- Ops teams monitoring live traffic can set up Slack alerts to be notified when agent behavior deviates from expected norms.
- Data scientists analyzing agent behavior patterns can use JQL to query historical traces, filtering by session or other criteria.
- Developers using LangGraph or LangChain can enable auto-instrumentation without modifying business logic, gaining observability quickly.
- 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_KEYJUDGMENT_ORG_ID
How do you install or deploy this agent?
Install via pip:
pip install judgevalSet 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.contentRun 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)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- 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.
- 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?
Why each dimension lost points
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.
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.
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.
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.
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.
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.
- 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.
Recent releases
Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.
-
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 ↗ -
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 ↗ -
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.1View on GitHub ↗
FAQ
What are the pricing and free tier for Judgeval?
Can I self-host Judgeval without using the Judgment Labs cloud?
Which model providers are supported?
How do I define custom scorers?
Is Judgeval fully compatible with OpenTelemetry?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.