Skip to main content

agentic-evalkit

agentic-evalkit grades AI agent output against checks you define, and writes up the evidence behind each score.

Use it from the command line or Python to run repeatable evaluations, apply objective checks, compare results, and generate reports for review. It can evaluate Python code, command-line programs, and HTTP services without tying them to a specific AI framework.

Objective checks run before optional model-based judging. The package includes tested support for calibrated judge evidence while leaving model-provider selection to the caller. The built-in reference judge always returns the same verdict for the same input, and it's advisory only; it cannot approve a release.

Why not promptfoo, Inspect, DeepEval, Braintrust, or LangSmith? Those tools handle the workflow side of evals — running lots of prompts, wiring checks into CI, tracking experiments over time. Use one of them for that. This package solves a narrower, stricter problem: trusting the result you get, and these are the controls agentic-evalkit itself enforces to do it, shipping as of the current release (0.4.1 on PyPI):

  • An AI judge has to prove it agrees with real human-labeled answers before it's allowed to approve anything
  • Two runs are only compared once we can prove they ran under matching conditions
  • A bug in your own code is never confused with the AI simply getting the answer wrong
  • A fuzzy AI opinion can never override a hard requirement like "the code must compile"
  • On grounded-citation tasks, a planted marker echoed back in an answer is caught before it inflates a score

A documentation review of promptfoo, Inspect, DeepEval, Braintrust, LangSmith, MLflow, and Langfuse's own primary docs (most recently 2026-08-04) found that none of them documents an equivalent control as a core concept. Exactly what was checked, on what date, what was not tested (no source audit was performed on any competing project), and where each of those tools is the better choice instead: docs/prior-art.md.

Start with the quickstart guide. Design boundaries: architecture specification.

Quickstart

pip install agentic-evalkit
agentic-evalkit doctor
agentic-evalkit init --preset gsm8k --output eval.yaml
agentic-evalkit run eval.yaml --limit 5 --yes

This resolves the curated GSM8K preset from Hugging Face, runs five samples through the packaged smoke target, grades them with a normalized exact-match grader, and writes a canonical JSON report. No importer code, manual dataset download, datasets, pyarrow, or Docker is required.

The run reports passed=0 failed=5 — that's expected, not a bug. The packaged demo target (zero_target) always answers "0", so it always fails GSM8K grading; the point of this walkthrough is to verify the pipeline — live dataset resolution, target execution, objective grading, and report generation — before you wire in a real system under test. See docs/guides/quickstart.md for the full walkthrough, including the standalone report command that regenerates a self-contained HTML report from that JSON. To see the report shape before installing anything, a real evaluation run's checked-in JSON/HTML/Markdown reports are at scripts/reports/2026-07-26-agent-workflow-eval/.

Python API

The CLI is built on a small, curated Python API for integrations that need more than the built-in presets: wrap your own system as a target, then describe a run with a typed manifest.

from agentic_evalkit import CallableTarget, DatasetRef, EvalRunManifest, EvalRunner

def my_system(sample_input: dict) -> dict:
    return {"answer": solve(sample_input["question"])}

target = CallableTarget(my_system, name="my-system")
manifest = EvalRunManifest(
    run_name="quickstart", adapter="gsm8k@1", grader="normalized-exact@1",
    target_name="my-system", dataset_ref=DatasetRef(provider="huggingface", dataset_id="openai/gsm8k"),
)

This snippet is abbreviated for brevity — it omits the catalog, adapter, grader, and artifact-store wiring a real run needs. See the HTTP agent example for the complete, runnable Python-API script.

EvalRunner(...).run(manifest) then drives dataset resolution, execution, and grading end to end. CallableTarget satisfies ExecutionTarget — agentic-evalkit's only system-under-test boundary — which is also exported at the top level for anyone implementing a custom target. Everything else — additional targets, graders, reporters, dataset providers, benchmark adapters, and statistics — is one import away under its own subpackage (agentic_evalkit.graders, agentic_evalkit.reporters, and so on).

Optional extras

agentic-evalkit declares four optional extras; the base install still ships without Docker or any model-provider SDK — see ADR-0009 for the extras policy.

  • swebench (pip install agentic-evalkit[swebench], pulling in swebench>=4.1,<5 and docker>=7.1,<8) backs SweBenchDockerHarnessExecutor, the container-based SWE-bench Verified harness executor landed in ADR-0014: with the extra installed and a reachable Docker daemon, swebench-harness@1 grades a real resolved/unresolved verdict instead of reporting unavailable.
  • claude (pip install agentic-evalkit[claude], pulling in claude-agent-sdk) backs ClaudeAgentTarget (ADR-0025), which grades Claude itself through a Claude subscription sign-in rather than an API key.
  • mlflow and langfuse (pip install agentic-evalkit[mlflow] or agentic-evalkit[langfuse]) back the calibration-gating bridges in the MLflow & Langfuse guide (ADR-0022).

Documentation

  • Quickstart — install to first report
  • CLI reference — commands, options, offline behavior, and exit codes
  • Providers — local formats, Hugging Face auth, cache/offline
  • Graders — objective-first order, hard gates, calibrated judges
  • Targets — callable, subprocess, HTTP, MCP-stdio, and Claude Agent SDK execution targets
  • SWE-bench — preview/prediction workflow and the harness boundary
  • HTTP agent example — evaluating a real HTTP agent endpoint
  • MLflow & Langfuse bridge — gate judge authority in MLflow and Langfuse without leaving either platform
  • Example report — a real 48-case run's write-up, with the canonical JSON/HTML/Markdown reports it came from

Repository boundary

This project imports no host-repo internals — systems are reached only through the public ExecutionTarget protocol (callable, subprocess, HTTP, MCP-stdio, or Claude Agent SDK adapters); see ADR-0001 and ADR-0006.

Metadata

Release files for agentic-evalkit 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agentic-evalkit 0.4.1
File Size Uploaded Provenance
agentic_evalkit-0.4.1.tar.gz 1.5 MB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for agentic-evalkit 0.4.1
File Interpreter ABI Platform
agentic_evalkit-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 1.9 MB

Release files / agentic_evalkit-0.4.1.tar.gz

Download URL agentic_evalkit-0.4.1.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
62336fca632c36a3713b49f16b89d8b9eefe916f0883e57b6ca3d989dbe7b7e8
BLAKE2b-256 checksum
How to use checksums
81c9dbff450577afc629d62d521ea3d09206ad50c240f9a6dba06e8582e73300
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Release files / agentic_evalkit-0.4.1-py3-none-any.whl

Download URL agentic_evalkit-0.4.1-py3-none-any.whl
Size 325.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
87abbbfd39f0c5d41644e84f8f74a0f997c691add7c90d146d55be5eaacc28bf
BLAKE2b-256 checksum
How to use checksums
33144ed704d8aa3c071f7dae4895b862e34d4c849e8559aeb30707e6f5da7ba8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

Security for agentic-evalkit 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for agentic_evalkit-0.4.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page