You cannot diff an agent's output against a golden file, because the output legitimately differs every run. AgentAssay tests the distribution instead of the sample: stochastic verdicts over repeated runs, with a sampling strategy that reaches a decision in a fraction of the tokens a naive repeat-and-compare would burn.
Our summary of the paper. The full abstract is on arXiv. Preprint, not peer reviewed.
Authors
Varun Pratap Bhardwaj
Cite this paper
@misc{bhardwaj2026agentassay,
title = {AgentAssay: Token-Efficient Regression Testing for Non-Deterministic AI Agent Workflows},
author = {Varun Pratap Bhardwaj},
year = {2026},
eprint = {2603.02601},
archivePrefix= {arXiv},
primaryClass = {cs.AI},
url = {https://arxiv.org/abs/2603.02601}
}
This fortnight a government switched off the most capable AI on Earth in hours, the market crowned its 'most reliable' vendor, and Nadella called AI 'token capital.' Three stories, one category error — and the architecture that fixes it.
I maintain 7 AI products, 4 websites, and active research for $24/month — under $1/day. Here's the exact four-CLI architecture with real benchmarks, free models, and the Qualixar tooling stack.
An ACL 2026 paper just proved RL-trained reasoning causally amplifies tool hallucination. Here's the mechanism, the math, and what AI Reliability Engineering does about it.
A viral Reddit thread proved agents ignore safety prompts in 15% of edge cases. Gartner says 40% of agent projects die by 2027. The fix isn't a better prompt — it's a runtime contract. Here's the AgentAssert + AgentAssay playbook.