Attest

attest-framework.github.io

Open-source Python/TypeScript framework to test what AI agents say, do and change, with record-and-replay in CI.

Pricing
Open source
Published
Nov 16, 2026

Next steps

What it does

Attest is an Apache-2.0 testing framework for AI agents in Python and TypeScript. With pytest or Vitest you can check a reply, a sequence of tool calls or a change to external state. Its rec, replay, gate loop captures an incident trace and model exchanges with redaction and drafts contracts, replays your agent's real code against recorded model responses through a local proxy in CI (no live model calls for matching requests), and gates the merge on the results. Deterministic assertions come first and an LLM judge is used only where needed. Install from PyPI as attest-ai; a refund-desk demo shows the workflow.

Attest · Image from the official website
Image from the official website

Use cases

  • Turn a production agent incident into a regression test by capturing its trace and model exchanges
  • Replay recorded model responses in CI so agent tests run without live model calls
  • Assert on tool-call sequences and external state changes, not just the final reply

Frequently asked questions

What is Attest?
Attest is an open-source testing framework for AI agents in Python and TypeScript that checks what an agent says, which tools it calls and what state it changes, using pytest or Vitest.
How does replay work?
attest capture records a trace and model exchanges with redaction; strict replay then runs your agent's real code against the recorded responses through a local proxy, with no live model calls for matching requests.
Does it use LLM-as-judge?
Deterministic checks come first; a model judge is only added for criteria those checks cannot express.
Is it free?
Yes. It is Apache-2.0 licensed and published on PyPI as attest-ai.
Log in to join the discussion