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

@show

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

TL;DR Attest 1.1.0 is a testing framework for AI agents in Python and TypeScript that runs through pytest or Vitest. It checks replies, tool-call sequences and external state changes, starting with deterministic checks and adding a model judge only where those cannot express the criteria. The page uses a synthetic incident (a support agent refunding a customer twice after a payment timeout) to walk through capture, strict replay and CI gating.

  • attest capture records the agent's trace and model exchanges, applies redaction and drafts behavior 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 via 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 with a reason; failed tests block by default, while not_evaluated only warns unless the policy sets it to block.
  • Deterministic assertions and replay are free and need no API key; semantic checks (output_similar_to, passes_judge) need an embedding or judge provider configured.
  • Adapters cover OpenAI and Anthropic (stable in both languages), plus Gemini, Ollama, LangChain, CrewAI, OpenTelemetry, Google ADK and LlamaIndex at beta or experimental tiers, with some missing in TypeScript.
  • 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.

Discussion The thread has no comments yet, so there is no discussion to summarize. The submission has 3 points.

#aiAgents #testing #pytest #vitest #llmEvaluation #showHN