Attest Framework
Attest Framework: test what AI agents do - replies, tool calls, state changes - replayed and enforced in CI.
Working when we checked on .
What is Attest Framework?
Attest Framework is a testing framework for AI agents, available in Python (pytest) and TypeScript (Vitest). It targets engineering teams that need to verify what an agent says, which tools it calls, and what it changes before merging code. The workflow records agent traces, replays recorded model responses in CI with zero live model calls, and gates merges with pass/fail policies. It offers six check layers, from free deterministic schema and trace checks to embedding similarity and LLM-as-judge, plus plugin support for custom assertions.
Attest Framework pricing
Pricing model: Freemium
Attest Framework pros
- Runs inside existing unit-test runners: pytest and Vitest
- Strict replay removes live-model variability with zero live model calls for matching requests
- Six check layers, most deterministic and free (schema, constraints, trace, pattern matching)
- Ten Python and seven TypeScript provider/framework adapters, including OpenAI and Anthropic (stable)
- Merge gating blocks failed tests by default via CI policies and branch protection
- Optional local judge: a local ACP agent or OpenAI-compatible local endpoint avoids paid judge APIs
Attest Framework cons
- Many adapters beyond OpenAI, Anthropic and Manual are beta or experimental and can change or be removed
- Replay removes live-model variability only; tool dependencies and test isolation still need control
- The gate covers only the contracts and baselines supplied, not every possible regression
- No pricing or plan information is documented on the page
Frequently asked questions about Attest Framework
What is Attest?
Attest 1.1.0 is a testing framework for AI agents in Python and TypeScript. It checks replies, tool-call sequences and changes to external state with pytest or Vitest, combining deterministic checks with optional model judging.
How does the rec → replay → gate workflow work?
`attest capture` records the trace and model exchanges and drafts contracts. Strict replay then runs the agent's real code against recorded responses through a local proxy with zero live model calls. Finally, the gate reports pass, fail or not_evaluated, blocking failed tests by default.
Which languages and test runners does Attest support?
Attest provides SDKs for Python and TypeScript. Python tests run with pytest, and TypeScript tests run with Vitest.
Which provider and framework adapters are available?
Adapters include OpenAI, Anthropic and Manual (stable), plus Gemini, Ollama, LangChain, CrewAI, OpenTelemetry, Google ADK and LlamaIndex at beta or experimental maturity. CrewAI and Google ADK are Python-only; LlamaIndex is Python-only.
Does Attest require live model calls in tests?
No. Strict replay runs the agent's real code against recorded model responses through a local proxy with zero live model calls for matching requests, and the example tests run with sample data and no API key.
What check layers does Attest provide?
Six layers: schema validation, constraint checks (cost, token, latency, step count), trace and behavioral checks, content pattern matching, embedding similarity, and LLM-as-judge. The first four are free; the last two depend on the provider.
Is LLM-as-judge supported?
Yes, as layer 6. It scores output against a rubric with a judge model. OpenAI, Anthropic and Gemini judges are paid, while a local ACP agent or an OpenAI-compatible local endpoint is not.
Who is Attest for?
It is for engineering teams building AI agents who want to verify agent behavior — replies, tool calls and external state changes — and enforce those checks in CI before merging.
Does Attest support multi-agent testing?
Yes, in beta. It can trace delegation chains and check parent-child relationships, ordering and cross-agent data flow.
Can Attest monitor agents in production?
Yes, experimentally. Continuous Evaluation samples application traces and alerts on hard failures or score drift through Slack or webhooks.