How to check what an AI agent leaked before its final answer The co-authors of the AgentLeak benchmark released AgentLeak, an open-source tool that inspects recorded AI agent runs to detect data leaked through channels beyond the final chat reply, such as tool calls and logs. The tool ships with synthetic scenarios, like a healthcare patient summary, that run without customer data, a hosted account, or an API key, and the authors recommend re-running a synthetic test on any channel of concern before each release. A clean report, they note, only means the enabled checks flagged nothing in the channels that were captured. A support agent can reply “Follow-up scheduled” without revealing anything in the chat. But what did it send to the scheduling tool? What did it write to its logs? Reviewing the reply alone won’t tell you. We built AgentLeak to inspect recorded runs. Start with a synthetic scenario so you don’t need customer data, a hosted account, or an API key: pip install agentleak agentleak run --scenario healthcare patient summary In the report, look for the channel where each finding appears. Separate places where the agent was allowed to receive a value from places where it shouldn’t have shared it. Once you’ve identified a channel you care about, use a synthetic test to check it again before each release. A clean report only means the enabled checks didn’t flag anything in the channels you captured. Follow the quickstart on AgentLeak.org https://www.agentleak.org/docs/getting-started?utm source=devto&utm medium=referral&utm campaign=agentleak quickstart . If you try it, I’d like to know which channel was hardest to capture in your stack. I’m a co-author of the AgentLeak benchmark. AI assisted with drafting this article.