This is the written version of my talk at the Agentic AI Summit in London. If you've come from the QR code, hi, and thanks for listening!

The short version: don't force a probabilistic agent to be deterministic. Let it work freely, and be strict where its actions get costly.

The switch

I studied electrical engineering, so I lean on one idea from it. Electricity is dangerous, and we learned to live and even thrive with it. It wasn't always like that. When the White House got electric lights in 1891, President Harrison and his wife were too scared to touch the switches, so staff turned the lights on and off for them (US Department of Energy).

A lot of people feel that way about AI today. We didn't make electricity less dangerous. We put simple, predictable devices where it meets us, and a fuse costs pennies. I think agents need the same.

Your agent

Maybe you've built an agent that works great on your laptop, but it isn't connected to anything that matters yet, like your inbox, your customer data or your payments. Connecting it is when the second thoughts start. Or maybe you never built it at all, because the privacy and control risks felt too big.

I get it. I spent years in banking and payroll tech, working on people's money and salaries, and you build instincts to be really careful. It can feel like you have to pick between being too cautious to innovate and having no safeguards. Jim Collins calls the way out the genius of the AND. You don't have to pick one.

Checking each step isn't enough

Take a customer support agent. Can it read customer data? It needs to. Can it reply to a support ticket? Yes. Each one is fine on its own.

Now imagine a ticket hides an instruction asking for customer data. That's prompt injection. Both steps were allowed, and together they leak data. Researchers showed this exact pattern with Supabase's MCP server, and no permissions were violated (General Analysis).

So my approach is to let the agent work freely, right up to the point where its actions get costly: sending an email, paying, deleting data, publishing. That's where the rails go. Three have helped me run agents safely.

1. Check what it's done, not just each step

The safety switch in your fuse box (the RCD) compares the current going out with what comes back. The moment they stop matching, it trips, because current is leaking somewhere.

I use the same pattern on ngelections.com, a side project that helps people see who's actually on the ballot in Nigeria's 2027 elections. An agent keeps around 20,000 candidacies up to date, mostly overnight while I sleep, and if it gets something wrong, everyone sees it.

It only moves forward through checks:

  • Gates. Simple rules, like "a candidate can't run before they were born". Fail one, and the reason goes back to the agent so it can try again.
  • Compare. Its changes get checked against what's already live, to catch regressions.
  • Judge. Only then does an LLM judge look at it. It publishes, rejects, or escalates to me if it's unsure.

The judge can never override a gate, because anything that fails a gate never reaches it. An LLM can tighten a rail, never loosen it. It's the maker-checker idea from banking: the one doing the work is never the one checking it.

When something gets through that shouldn't, it becomes a new rule. As luck would have it (I promise I didn't plan this), while writing the talk I found a mistake my gates missed. A party in one field didn't match the bio. So now there are two more gates, one that checks party against bio and one that checks past races. You don't finish the rails. Every miss tells you where the next one goes.

2. Keep an off switch the agent can't touch

The main switch in your house sits outside every appliance. For agents, an off switch that's really a message in the chat is only a request.

It also only works if the agent has its own identity. If it runs as you, you can't switch it off without switching yourself off. So give it its own narrow identity, and keep the keys with a person or the organisation, never the agent.

Here's what that looks like, using an agent I built for my own bank statements:

  • Encrypt what it reads, and keep the key somewhere it can't reach. Revoke the key, and every read stops, whatever the agent is doing.
  • Use one key per kind of data, so you can switch one off and keep the agent running. Like a fuse box with a main switch and one per circuit.
  • Limit where data can go. An off switch can't pull back data that's already left. Mine runs a local model with no network, so when I flip the switch, nothing's already out there.

At Lovable, bring your own key, now in private preview, gives customers that same switch over their data.

3. Make mistakes cheap to undo

Your agent will be wrong sometimes. Every action has a point of no return, and for an email it's the moment you press send. Add a short window where it's still a draft, and being wrong is cheap until then. Most of us have used undo send. Same with payments you can cancel until cut-off, and keys you can rotate. Banks have worked like this for decades.

This matters more than it looks. If a mistake is cheap to undo, it isn't costly any more, so you don't need to be strict there. Cheap undo buys your agent more freedom.

Undo also needs a record. At a previous role, a misconfigured workflow got us into a mess. Fixing it by hand didn't work, but replaying the recorded events did.

Where this stops working

  • Rules can't see intent. A polite email to a real supplier can still be fraud.
  • Approvals wear down. Anthropic cut Claude Code's permission prompts by 84% with sandboxing, partly to fight approval fatigue (Anthropic). In a 2017 US study of table saw injuries, the blade guard wasn't in use in about 89% of cases (CPSC). Safety that slows people down gets taken off.
  • Open-ended agents are harder. My pipeline is a fixed workflow, so precise checks are easy. A browser agent isn't. Where you can, narrow the job into a workflow with an agent inside it.

Try it

Pick the agent you'd be nervous to give production access. Check what it's done, give it an off switch it can't touch, and make its mistakes cheap to undo. Then connect it.

I'd genuinely love to hear what you build, so please share it with me on LinkedIn (Yinka Omole). And if you'd like the next post, you can subscribe at yinka.dev.