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
- StateWeave
Both tools are listed under AI Testing, AI Developer Tools, and agent-testing.
- AiSOC
Both tools are listed under AI Testing and AI Agent.
- Agent Doctor
Both tools are listed under AI Testing and AI Developer Tools.
- Strix
- Pi
- Daily Stock Analysis (DSA)
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.

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.