How I'd let AI agents touch production: short-lived credentials, a policy check on every action, and spend limits per agent.
The problem
Take a support agent that can read customer records, update tickets and issue refunds through Stripe. Usually it gets one API key that can do all three, it's wired straight into production, and nobody can say afterwards who asked it to do what. One malicious line hidden in a customer email is enough to get that agent to refund money it shouldn't.
The solution
So I sketched a control plane: a layer that sits between agents and everything they can touch, like databases, Stripe, internal APIs and third-party SaaS. Agents never talk to those systems directly. Each action goes down one path where it's tied to an identity, checked against policy, enforced at the resource and recorded in an audit log.
Core capabilities
No standing credentials
Agents have no permissions by default. For each task they request a token, a vault that holds the real secrets issues a short-lived credential, and it expires when the task ends. The agent never sees the actual keys.
A policy check on every action
A central policy engine decides allow or deny from who's asking, what they want to do, on which resource, and in what context. A risk score then decides whether it runs automatically, gets more checks, goes to a human, or is held for review.
Spend limits per agent
Token usage is tracked per agent and attributed to a team or project. Budgets have alerts and hard limits, and an agent that hits its limit gets throttled before it runs up the bill.
One audit trail, every region
Every decision, tool call and human approval lands in a log that can't be edited. Policies are the same in every region, and data stays in the region it belongs to.
Why this matters
What I wanted was to make saying yes to an agent in production a smaller decision. If access is scoped per task, risky actions wait for a person, and everything is on the record, security and finance can review the setup once instead of arguing about every new agent.