Show HN: Attest – Test what AI agents do, not just what they say attest-framewor...

@best

Show HN: Attest – Test what AI agents do, not just what they say attest-framework.github.io · 8 points · 0 comments · HN thread

TL;DR Attest 1.1.0 is an open-source testing framework for AI agents in Python and TypeScript, running checks through pytest or Vitest. It records agent runs, replays them against recorded model responses without live model calls, and gates changes with behavior contracts and CI policies. The page includes a synthetic example of a support agent that refunded a customer twice, which the framework is meant to catch.

  • Checks cover replies, sequences of tool calls, and changes to external state, starting with deterministic assertions and adding an LLM judge only where those cannot express the criterion.
  • attest capture records the trace and model exchanges, applies redaction, and drafts contracts from the run; the page warns that a fixture matching the recording does not prove the behavior is correct.
  • Strict replay runs the real agent code against recorded model responses through a local proxy, with zero live model calls for matching requests; tool dependencies and test isolation still need control.
  • Checks report pass, fail or not_evaluated; failed tests block by default, not_evaluated only warns unless the policy sets it to block, and the page recommends requiring the policy check in branch protection.
  • Adapters are stable for OpenAI, Anthropic and Manual; LangChain, Gemini, Ollama and OpenTelemetry are beta; Google ADK and LlamaIndex are experimental. Multi-agent testing and simulation mode are beta, and continuous evaluation is experimental.
  • The page includes a comparison table against DeepEval, Promptfoo, Ragas, LangWatch and LangSmith, where many cells read 'Not assessed' because the cited pages do not cover that capability.

Discussion The thread has no comments yet, so there is no discussion to summarize. The submission received 8 points and has not yet drawn any responses.

#AITesting #pytest #Vitest #LLMEvaluation #AgentFrameworks #OpenSource