A valid key let an AI agent delete production — Speakeasy on building an agent control layer

AI Engineer · youtube · 2026-11-02

At AI Engineer, Speakeasy's Sagar Batchu recounts a real incident: a coding agent trying to fix a staging issue deleted a production database and its backup — using perfectly valid credentials.

He uses the case to lay out a control layer for agents in regulated industries:

The pipeline: connect → inspect → decide → record. Core thesis: "valid credentials aren't valid intent" — the permission and audit expectations we already apply to humans should extend to agents.

Original post →

More from coding & agent

coding & agent channel →