← Back to Leaderboard
Asrpadmanabhuni

srpadmanabhuni/agentest

Deterministic trace checks for whether AI agents did what they claimed.

AI BenchmarkQuickstart ↓
Engineering Health (Methodology)
A+ · 92/100
Maintenance Activity
● Updated today
Latest Release
v3.8.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption17/25
Release Cadence20/20
License Clarity20/20
DockerCLI
Total Stars
★ 60
24h Growth
+1
7d Growth
+13
Forks
53

GitHub Star History

Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.

srpadmanabhuni/agentest Star History (2026-10-25 - 2026-12-04) DAILY STAR HISTORY (34-DAY D1 TELEMETRY) +59 in 40d · avg +1/day 64 32 0 2026-10-25: ★ 12026-10-31: ★ 22026-11-03: ★ 22026-11-06: ★ 22026-11-09: ★ 22026-11-12: ★ 22026-11-15: ★ 52026-11-18: ★ 132026-11-21: ★ 172026-11-24: ★ 352026-11-27: ★ 472026-11-30: ★ 532026-12-04: ★ 60 ★ 60 10-25 11-14 12-04

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

agentest evaluates recorded runs rather than orchestrating agents. Its Python CLI accepts OpenTelemetry GenAI traces as OTLP/JSON or JSONL, or converts saved framework logs via std import. In Python, agentest.record() captures tool calls, results, and the final reply for checks in the same process. The scorer applies rules to that evidence and returns pass, fail, or n/a without re-executing the agent.

The optional MCP tools/list JSON and A2A AgentCard supply declared context to the rules; neither is a live protocol connection. The pytest plugin is bundled with agentest-ai, and PyYAML (>=6.0,<7) is the sole required runtime dependency. This separates application instrumentation from evaluation: a CI runner can score exported artifacts without installing the agent framework that produced them.

Key Capabilities & Differentiators

The 165-check catalog covers issues such as unsupported completion claims, tool allowlist violations, missing approvals, retry storms, prompt-injection effects, and PII leaks. In bundled sample a22, the reply says a charger was added to the cart, but the recorded run contains no add_to_cart call; T1-018 flags the unsupported claim. The catalog size is not the number of checks that will run or apply to every trace.

Built-in import dialects include langgraph_msgs, openai_agents, autogen, smolagents, and n8n. Other integrations take different paths: CrewAI, for example, can use OpenTelemetry export or the generic steps dialect rather than a dedicated CrewAI dialect. Reports include Markdown for inspection and JUnit or SARIF for automation; pytest assertions let teams require specific check IDs to pass.

Trade-offs & Limitations

Compared with response-only LLM judges, fixed rules make instrumented behavior easier to audit and regression-test: the same trace produces the same verdicts, with evidence for findings. The rules are not a substitute for semantic evaluation or live end-to-end tests. They cannot recover tool outcomes or state changes that were never logged, and a passing trace does not establish that the same behavior will hold on future runs.

The main adoption cost is getting traces and declarations into a shape that the selected rules can use. Ubiquitous n/a results can make a green pipeline misleading: --strict exits 1 on fail, not on missing coverage. Use named assertions for requirements that must pass, and review which checks actually apply. Apache-2.0 permits commercial use, but offline scoring does not remove the need to protect potentially sensitive trace artifacts.

Hardware & Deployment Guide

Install on Python 3.11+ with pip install agentest-ai; both the import and CLI are named agentest. Start with agentest demo, then test a local artifact with agentest std run --otlp traces.otlp.jsonl --format junit --out agentest.xml --strict. Scoring needs no API key, model, or network; fetching installation packages and generating fresh traces are separate steps.

The Dockerfile builds from python:3.12-slim, installs the package from the checkout, and runs as a non-root user. Build locally with docker build -t agentest .; no registry image is published. The 3.8.0 release adds named pytest check assertions and a pinned OpenTelemetry GenAI compatibility matrix. The 3.7.0 release adds the opt-in alert-timing check NT-038 and a recorded refund-retry example.

Trace ingestion: std run --otlp reads OpenTelemetry GenAI OTLP/JSON or JSONL; std import converts recorded framework logs.
Protocol context: --tools accepts MCP tools/list JSON; --card accepts an A2A AgentCard. Neither requires a live endpoint.
Rule coverage: 165 checks in the full catalog; the bundled default demo runs 130. Checks can return n/a when required evidence is missing.
Trace assertions: agentest.record() captures calls, results, and replies in-process; agentest.assert_checks() names the failing check and its evidence.
CI integration: --strict exits 1 on a fail; JUnit and SARIF are available for machine-readable reporting.
Container runtime: The locally built image uses python:3.12-slim, runs as a non-root user, and uses agentest as its entrypoint.
Best For

Teams with recorded tool-using agent runs that want reproducible pytest or CI gates for task completion, approvals, and tool policy.

Skip If

You need a live agent runner, have no reliable trace instrumentation, or primarily need to judge open-ended response quality.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerCLI
pip install agentest-ai

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
agentest ★60+13PythonApache-2.0Deterministic trace checks for whether AI agents did what they claimed.
iFixAi47.6k+13PythonApache-2.0Python audit runner for AI agent behavior, with scenario fixtures and cross-prov
Head-to-head comparisons:agentest vs iFixAi →

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/srpadmanabhuni/agentest.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

srpadmanabhuni/agentest Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about agentest

How do I connect an existing agent to agentest?

Pass an OTLP/JSON or JSONL file to agentest std run --otlp. If you have framework logs instead, use agentest std import with a matching dialect or mapping. Add --tools for MCP tools/list metadata and --card for an A2A AgentCard. Checks that need missing declarations return n/a.

Do I need a GPU or a model endpoint in CI?

No GPU, VRAM allocation, or model endpoint is needed for scoring. The evaluator runs on Python 3.11+ with PyYAML as its only required runtime dependency. Size the CI job using representative trace volumes and the checks you select. If the same job generates the traces, budget for the agent's runtime separately.

Can we use it commercially and keep evaluations on our own infrastructure?

Yes. Apache-2.0 permits commercial use subject to its terms, including applicable license and notice obligations when redistributing. You can run the CLI or a locally built Docker image on your own infrastructure without sending traces to a scoring service. Apply your own access, redaction, and retention policies to traces and reports.

When should I choose agentest over an LLM judge?

Put explicit, observable requirements in agentest: a refund must be recorded as successful before the agent reports success, for example. Use human review or an LLM judge where the criterion is semantic and not captured by a rule, such as whether an explanation is clear and complete. A missing rule or missing evidence is not a pass.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining srpadmanabhuni/agentest? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature srpadmanabhuni/agentest on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare