Gateway logs miss direct agent calls: the real gap in AI agent audit trails

Exotic-Border-5328 · reddit · 2026-10-08

After Air Canada was held liable for its chatbot's refund promise in 2024, insurers like Zurich, Lloyd's and AIG added clauses excluding AI-caused losses unless the agent acted within authorized scope. The author argues gateway tools (Langfuse, Portkey) only log what flows through them—direct Stripe SDK calls, Zapier triggers, or reused bot API keys never show up. A self-check: filter Stripe Events by bot key for 30 days and compare exactly against gateway logs. He is building a tool that pulls directly from downstream systems (Stripe, M365 audit logs) to verify actions against agent authorization.

Related event: AI agent auditing gaps: gateways miss direct API calls(2 posts)→

Original post →

More from coding & agent

coding & agent channel →