← All topic guides

Topic Guide

Running Agents Against Production Safely

An agent that can only suggest is safe by construction. An agent that can write to production needs something more than a risk label, it needs a gate that is tested, not just defined. This hub is every real decision made while giving agents more reach on a live system: what they're allowed to touch, what they have to preview first, what identity they run as, and what happens when two of them want the same resource at once.

The pattern that repeats is a kill switch that ships on day one instead of after the incident, and a hard boundary between analysis and persistence: an agent can look, it can suggest, it can draft, but writing the record is a separately authorized step. Some posts are pure infrastructure, an environment variable that gives an LLM feature a no-downtime rollback, a hash-chained manifest that makes tampering visible, the single most locked-down component in a pipeline being the one that writes the final output. Others are the harder discovery that a gate you defined and tested green had never actually been wired into the code path that mattered, caught only because a second review looked for the wiring instead of the test result.

If you're giving an agent more autonomy this week, the throughline is this: a capability is not the same thing as a policy that grants it, and a policy that grants it is not the same thing as a runtime check that enforces it. Each of those needs its own verification, and skipping one is how a gate that passed every test still lets the wrong thing through.

20 posts in this guide, by DX

Start here

Capability Gates Beat Risk Labels in Autonomous Agent Design

I defined a five-lane capability model for an autonomous agent's dispatch policy, watched the tests go green, and read that as proof the gate was live. A same-day Codex and Manus review found the dispatcher never called it.

· 4 min read

Kill switches and safe rollback

The suggestion/action boundary

Read before write, on your own infrastructure

Lock down the component that writes the output

Give the agent an identity before you give it capability

Record integrity: make tampering visible

A capability gate you never tested isn't a gate

Pipeline mechanics deserve their own review too

Hitting one of these walls in your own codebase or your own machine? Talk it through with us, or read the rest of the Build Log.