Skip to main content

agentic-evalkit

agentic-evalkit evaluates whether an AI agent performed well enough — and produces the evidence for that verdict.

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 is deterministic and 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.

  • 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"
  • Test questions that leaked into the AI's training data get caught before they inflate a score

None of the tools above treat these as first-class problems. Full comparison and reasoning: 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. See docs/guides/quickstart.md for the full walkthrough, including the standalone report command that regenerates a self-contained HTML report from that JSON.

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"),
)

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); see the HTTP agent example for a complete, runnable Python-API script with the catalog/adapter/grader/ artifact-store wiring this snippet omits for brevity.

Optional extras

The swebench extra (pip install agentic-evalkit[swebench], pulling in swebench>=4.1,<5 and docker>=7.1,<8) is the only extra agentic-evalkit declares. It 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. The base install still ships without Docker or any model-provider SDK — see ADR-0009 for the extras policy.

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, and HTTP execution targets
  • SWE-bench — preview/prediction workflow and the harness boundary
  • HTTP agent example — evaluating a real HTTP agent endpoint

Repository boundary

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

Metadata

Release files for agentic-evalkit 0.3.0

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.3.0
File Size Uploaded Provenance
agentic_evalkit-0.3.0.tar.gz 877.3 kB With provenance Details

Built distribution (wheel)

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

Total release size: 1.1 MB

Release files / agentic_evalkit-0.3.0.tar.gz

Download URL agentic_evalkit-0.3.0.tar.gz
Size 877.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ee0daa014f80f0d745fa7b437862f857089081781df107249066a221fdb90f3a
BLAKE2b-256 checksum
How to use checksums
a0b9d6ea1b7433f64b26733cdb468e20ba87a18e747843f0ad3de8e69a71dc72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 24, 2026.

Transparency log

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

Download URL agentic_evalkit-0.3.0-py3-none-any.whl
Size 244.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0a16cefa704736acd611f1b2f48092f5db224fbcb1d45ff25f7c5a8d23844169
BLAKE2b-256 checksum
How to use checksums
61efc629f961e5e194b0d692b23b20278c449fc624808796a2d8b9ea091b35fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.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 Jul 24, 2026.

Transparency log

Security for agentic-evalkit 0.3.0

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.3.0.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 Jul 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