AgentEvals Trace Evaluation
Evaluate AI agent behavior from existing OpenTelemetry traces without rerunning the agent.
- Source repo
- agentevals-dev/agentevals
- Stars
- ★ 172
- Last updated
- 1d ago v0.16.1
- FARS reviewed
- Nov 08, 2026 +8 new
- License
- Apache-2.0
- Primary language
- Python
- FA score
- 67/100 · Some gaps
At a glance
- How it runs
- Works with
- Universal · cross-platformCodex · Claude Code (Partial support)
- Cost
- Free, no paid service needed
- Integrations
- Runs as an MCP server per README
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- An agent team using OpenTelemetry wants deterministic tool-trajectory checks in CI, with the command exit code gating deployment.
- Not a fit if
- Teams needing end-to-end scoring of long coding sessions
- Teams requiring a stable release without breaking changes
- Website
- aevals.ai ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-12-01latest release v0.16.1 (2026-12-01)
- Source review
- 67/100 · Some gaps
What does this agent do, and when should you use it?
AgentEvals accepts OpenTelemetry data already produced by an agent and turns GenAI spans and log events into turns, tool calls, tokens, and answers. Evaluations can run through its CLI, web UI, REST API, gRPC API, or MCP server, while telemetry arrives over OTLP HTTP or gRPC. Built-in metrics cover tool trajectories, response matching, and LLM-based scoring; teams can add custom evaluators and rubrics. Results can be exported as gen_ai.evaluation.result log events parented to the evaluated span. It runs locally, in Docker, or on Kubernetes via Helm; Postgres is optional for persisted run history.
AgentEvals receives live telemetry over OTLP HTTP or gRPC and can read OTLP JSON, Jaeger JSON, or Collector file exporter output. It extracts turns, tool calls, tokens, models, and messages from invoke_agent, execute_tool, and model-call spans, as well as GenAI message attributes, span events, and log events, then compares them with a golden eval set. Users run agentevals run with built-in metrics, LLM judges, or custom evaluators; inspect span trees and live sessions in the web UI; or evaluate sessions through MCP tools and APIs. Results appear as CLI text or JSON and can be sent back to a telemetry pipeline as gen_ai.evaluation.result events with --emit-otel.
- An agent team using OpenTelemetry wants deterministic tool-trajectory checks in CI, with the command exit code gating deployment.
- Developers using Google ADK, Strands, LangChain, the OpenAI Agents SDK, or Pydantic AI want to score existing OTLP data without rerunning agent calls.
- Engineers need to inspect live agent sessions, tool inputs and outputs, and span trees through the included web UI.
- A team operating an OpenTelemetry Collector pipeline wants evaluation results returned as
gen_ai.evaluation.resultevents for backend queries or alerts. - A team with domain-specific scoring rules wants custom evaluators that exchange JSON scores through stdin and stdout, in any language.
- Operators deploying agent evaluation on Kubernetes want to use the Helm chart and optionally configure Postgres for run history.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
OTEL_EXPORTER_OTLP_ENDPOINT- Config files
samples/helm.jsonsamples/eval_set_helm.json
How do you install or deploy this agent?
Install the CLI; add the live extra if you need the MCP server. AgentEvals itself does not require a paid service or API key. For a source checkout, the repository documents uv sync, followed by running commands with uv run agentevals.
How do you use this agent?
Run a tool-trajectory metric against a recorded trace; JSON output and sending results back to OTLP are optional:
agentevals run samples/helm.json \
--eval-set samples/eval_set_helm.json \
-m tool_trajectory_avg_scoreStart the server to receive live agent telemetry, then point the agent's OTLP exporter at the default HTTP endpoint. service.instance.id distinguishes reruns, and agentevals.session_name names the session:
agentevals serve --devexport OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318
export OTEL_RESOURCE_ATTRIBUTES="agentevals.session_name=my-agent,service.instance.id=$(uuidgen)"
python your_agent.pyThe optional Python SDK can set an eval set in an AgentEvals session:
from agentevals import AgentEvals
app = AgentEvals()
with app.session(eval_set_id="my-eval"):
agent.invoke("Roll a 20-sided die for me")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.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
README-backed isolation & workflow protocols
What are this agent's strengths and limitations?
- Scores recorded telemetry without rerunning the agent, so the same run can be rescored without additional agent tokens.
- Accepts standard OTLP over HTTP and gRPC and documents integrations with multiple frameworks and Collector pipelines.
- Offers deterministic matching, LLM judges, rubrics, and custom evaluators written in any language.
- Emits standard
gen_ai.evaluation.resultevents linked to evaluated spans for existing telemetry backends.
- The project is under active development and warns that breaking changes may occur.
- Evaluation depends on telemetry containing recognizable GenAI spans or messages; coding sessions without suitable wrapper spans may not yield turns.
- End-to-end scoring of long coding sessions is outside its stated scope.
- Persisted run history requires Postgres; that storage layer is a preview and its schema may change between minor versions.
How does this agent compare with similar options?
The README compares AgentEvals with LangSmith, Langfuse, Opik, and Bedrock AgentCore evaluation, describing those alternatives as rerunning agents or requiring their own SDK and storage before scoring; AgentEvals scores existing OpenTelemetry data. It also contrasts ADK eval, which runs and scores an agent in one step, with AgentEvals, which scores telemetry only and uses ADK's metrics and eval-set format.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| AgentEvals Trace Evaluation This agent | 67 · Some gaps | CLIFree | ★ 172 | 1d ago | Python | — |
| reShapr | 71 · Some gaps | CLIFree | ★ 181 | 2d ago | Java | — |
| Tracely | 68 · Some gaps | — | ★ 847 | 25d ago | Python | Claude Code · OpenAI API · Claude API |
| agentest | 67 · Some gaps | — | ★ 59 | today | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The README describes offline evaluation from local files and OTLP ingestion; the SDK says it does not read other backends' OTEL exporter credentials, and CLI/API result export is explicitly enabled. This supports some privilege boundaries. Deductions: the service exposes UI, API, MCP, and OTLP receivers, while the supplied material does not document authentication or deployment access controls; uploaded telemetry may contain conversation and tool data, but no redaction or retention policy is shown; evaluation and result export have explicit switches, but there is no general side-effect confirmation or rollback mechanism. Dependency floors and lockfile CI checks help, but do not establish the risk status of the full dependency graph.
CLI options, README workflows, and entry points are broadly consistent; file formats, failure status, exit codes, and error explanations are concrete. CI config covers multiple Python versions, linting, builds, and tests. Deductions: the sample does not show every key implementation, and static material cannot establish runtime correctness or upstream service availability; while some migration failures include repair guidance, general failure-message quality cannot be fully assessed.
The README and skills cover offline traces, live sessions, CI, OTLP pipelines, custom evaluators, and several frameworks, and state limits for long coding sessions and producers lacking GenAI semantic conventions. Deductions: skills require specific inputs or a running development server; environment and production deployment boundaries are spread across guides, and the evidence does not include the complete deployment configuration.
The README provides a clear structure for installation, quick start, feature guides, examples, documentation, and FAQ; Apache-2.0 matches the LICENSE, and the Postgres preview and possible breaking changes are disclosed. Deductions: active development and possible breaking changes are noted, but the supplied material does not show a concrete migration history or responsible maintainer; the package name agentevals-cli differs slightly from the product name agentevals.
The tool turns recorded telemetry into per-metric, per-turn evaluation events and supports table/JSON output, CI thresholds, and custom evaluators. The value of avoiding reruns and the server-free CLI path are clearly explained. Deductions: judge metrics may involve model calls and costs, but the supplied material gives little cost estimation or usage-control detail; live ingestion, persisted history, and MCP add deployment complexity.
README claims are partially corroborated by CLI/API entry points, dependency declarations, skill workflows, and CI configuration; the skill explains how PASSED relates to the threshold and interprets scores. Deductions: examples and tests are repository evidence, not independently verified results; some performance, security, and compatibility claims are documented assertions, and the supplied packet is a sample rather than the complete implementation.
- Before exposing the service on a shared or public network, verify authentication and network isolation for the API, MCP, and OTLP receivers; the supplied evidence does not show these controls.
- Telemetry may contain prompts, tool arguments, and model responses. Confirm retention, access, and redaction practices, and enable result export and LLM judges deliberately.
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
What's Changed * docs: refresh stale docs, skills and examples after the OTel native and gRPC changes by @krisztianfekete in https://github.com/agentevals-dev/agentevals/pull/300 * fix: installable release wheel names, chart notes and stale serve CLI text by @krisztianfekete in https://github.com/agentevals-dev/agentevals/pull/301 Full Changelog: https://github.com/agentevals-dev/agentevals/compare/v0.16.0...v0.16.1View on GitHub ↗ -
Release notes excerpt
What's Changed * feat(chart): template allowlist entries and add image.digest for subchart use by @krisztianfekete in https://github.com/agentevals-dev/agentevals/pull/287 * docs(examples): move the kagent example to v1.x by @krisztianfekete in https://github.com/agentevals-dev/agentevals/pull/290 * docs: contribution guiderails by @krisztianfekete in https://github.com/agentevals-dev/agentevals/pull/291 * chore(deps): bump the github-actions group with 2 updates by @dependabot[bot] in https://github.com/agentevals-dev/agentevals/pull/292 …View on GitHub ↗ -
Release notes excerpt
Full Changelog: https://github.com/agentevals-dev/agentevals/compare/v0.15.0...v0.15.1View on GitHub ↗
FAQ
Does evaluation use additional agent model tokens?
Do I need to run a server or database?
Can it evaluate a complete Claude Code or Codex coding session?
Which agent frameworks and telemetry transports work?
How do I gate a CI deployment on evaluation?
agentevals run trace files, an eval set, metrics, and a threshold. The CLI can use its exit code as a deployment gate and supports machine-readable output with --output json.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.