Notes on letting agents act
What we learn building the layer between AI agents and the accounts they act in: approvals, limits, credentials, receipts, and the incidents behind them.
2026
15 posts
Govern the MCP tools your agents call
Put a remote MCP server behind Anlyon. It lists the tools and adopts none. Each tool a person adopts gets approvals bound to the exact request and the reviewed definition, and a receipt. A tool that changes is refused until someone adopts it again.
Introducing secure agent access in Anlyon
Approvals in Slack on the exact request, roles per environment, SSO and SCIM, an audit record written with each change, secrets read from your own vault, and an OpenAPI import that suggests risk. Plus anlyon.dev, an MCP risk index.
OWASP Top 10 for Agentic Applications (2026), mapped to code
All ten OWASP agentic risks, ASI01 to ASI10, each with a code-level mitigation, and a plain statement of which ones Anlyon enforces for the actions routed through it and which it does not.
Why human approval prompts become a rubber stamp (and what to do instead)
Approval fatigue, approving a summary instead of the request, and requests that change between review and execution. Why AI agent approval prompts stop protecting anything, and four controls that keep a human yes meaningful.
What happens when an AI agent retries a payment that already succeeded
An agent requests a refund, Stripe executes it, and the response times out. The agent retries. Here is why an idempotency key alone does not save you, what Anlyon records instead of guessing, how an unknown outcome settles, and where the design stops.
What happens when an AI agent's API call times out
A timed-out refund may already have happened. Why retrying an agent's side effects is dangerous, failed versus unknown, and how idempotency keys make it safe.
An AI agent kill switch: what it has to stop, and what it can't
How to build a kill switch that stops an AI agent in production, including queued work and approved calls. What a real halt must reach and what it can't recall.
AI agent staging and production isolation: why the key must pick the environment
Keep an AI agent's staging key away from production data and side effects: bind the environment to the credential, remove every fallback, and test the boundary.
How to add human-in-the-loop approval to AI agent tool calls
Pause an AI agent's tool call until a human approves, with the agent unable to approve itself and every decision recorded. Two ways to build it, in TypeScript.
How to let an AI agent call the Stripe API without giving it your key
Let your AI agent issue Stripe refunds without holding the secret key. The agent names an action. Anlyon resolves the credential and makes the call.
EU AI Act Article 14 for engineers: what "human oversight" means in code
EU AI Act high-risk obligations apply from 2 December 2027. Articles 12 and 14 mean logging and a human who can override and halt, mapped to what you build.
An agent deleted a production database in nine seconds
The PocketOS incident had three missing guardrails. What each is, why the system prompt didn't help, and how to add them before your agent finds the gap.
We shipped an idempotency bug that ran your side effects twice
Our idempotency layer had a check-then-act race, in a product built to not do things twice. The bug, the fix, the test that proves it, and what else we found.
The TypeScript SDK for agents that do things
One typed TypeScript client for letting an AI agent act on production: invoke an action by name, Anlyon holds the credential, and risky calls wait for a human.
Your agent's first side effect: a Stripe refund without the Stripe key
Let an AI agent issue a real refund without holding the credential. Define the call once, the agent invokes it by name, and Anlyon makes it after a human approves.
