Verify What Your Agent Actually Did: Gateway Logs Plus State Diffs, Not Its Own Story

dead_man_walking67 · reddit · 2026-10-31

A practitioner shares an engineering approach for verifying what AI agents really did: an agent reports "updated customer 3" while silently modifying customer 5. Reading transcripts or having an LLM grade them fails because both trust the agent's own story.

The method:

It has already caught extra-row changes, claimed updates that never ran, and attempts to edit its own test criteria. The author invites others to share approaches and offers to share the code.

Original post →

More from coding & agent

coding & agent channel →