Diego Urquijo
Artificial Intelligence

The Agent's Keys

By · · 6 min read

When an AI agent makes a mistake, how much damage it does almost never depends on how smart it is. It depends on which doors it had open.

Nearly all the talk about adopting artificial intelligence is about the model: which one is best, which one reasons better, which one writes more naturally. That's a fair question, but it's not the one that sets the risk. The one that sets the risk is much simpler, and almost nobody answers it in writing: what can this agent touch?

The risk lives on the key ring, not in the model

If an agent that can only read makes a mistake, the cost is a bad answer that someone corrects. If an agent that can send messages to customers, change a price, or delete records makes a mistake, the mistake is no longer an answer. It's an action. It's the same model with the same instruction, but the consequences are completely different.

In our companies we run agents that respond to leads and dashboards that update on their own. Over the years I've learned what decides whether that feels like peace of mind or like constant vigilance. It isn't the technology. It's how the permissions were designed from day one.

Think about how you bring a new person onto the team. You don't hand them the checkbook, the bank password, and admin access at nine o'clock on Monday. You give them what they need to do their job, you stay close, and you give them more access as they prove good judgment. With an agent the logic is the same, with one advantage: you can define each permission with a precision that would feel awkward with people.

Four kinds of keys

To decide what to hand over, it helps to split permissions into four levels, from lowest to highest consequence:

  1. Read. Look things up in the CRM, check a dashboard, search internal documents. The risk is low as long as the information isn't sensitive.
  2. Write as a draft. Prepare a reply, a quote, or a record that stays pending. The agent does the work, and a person approves it.
  3. Write for real. Send the message, update a customer's status, book the appointment. Here, whatever the agent does goes out into the world.
  4. Commit. Charge, refund, change prices, delete data, accept terms. Anything that can't be undone with a click.

The rule is simple: every agent starts at the lowest level that still lets it be useful. You'd be surprised how much value fits in the first two keys. An agent that reads everything and leaves flawless drafts is already giving the team hours back, and in the worst case you're left with a draft nobody sends.

Before you grant any level three or level four permission, ask yourself one question: if this goes wrong in the early hours of a Sunday, who finds out, when, and how much does it cost to undo? If you don't have a clear answer for each part, that key doesn't get handed over yet.

Each agent gets its own identity

The most common mistake isn't giving too many permissions. It's giving them through the wrong account. The agent gets connected with the owner's login, the admin password, or the general API key because it's the fastest way. From then on, everything the agent does looks like a person did it, and there's no way to take away the agent's access without taking it away from that person too.

The healthy approach is to treat the agent as one more member of the digital org chart:

Limits are what people forget most, and they're what protects you most. An agent with a badly written instruction and no limit can repeat the same mistake hundreds of times before anyone notices. With a limit, the mistake stops on its own.

Everything it does gets written down

The other half of the design is memory. Every action the agent takes should leave a trail: what it did, when, on what data, and with what reasoning. Not out of distrust, but because without a log there's no way to learn.

When something goes wrong, the log turns an argument into a review. Nobody has to guess or defend themselves. You read what happened and fix the instruction or the permission. When things go right for weeks, that same log is the evidence that justifies handing over the next key.

You don't hand an agent trust, you hand it keys. Trust comes later, when the log backs it up.

The off switch goes hand in hand with the log. Anyone responsible for the process should be able to shut the agent down or take away a key within minutes, without asking anyone's permission and without depending on whoever set it up. If shutting it off takes a meeting, you don't really have a switch.

What you can do on Monday

You don't need a forty-page policy. A spreadsheet and one focused afternoon are enough:

  1. Take inventory. Write down every agent, automation, and integration that touches your systems today, including the ones someone connected just to test and never disconnected.
  2. Assign the level. Next to each one, write down which keys it holds today, using the four levels.
  3. Flag what's urgent. Highlight every level four key that has no limit and no human approval. That's your list for the week.
  4. Downgrade the excess. If an agent has permissions it doesn't use, take them away. If nobody misses them in two weeks, they were never needed.
  5. Schedule the review. Once a month, go over the keys the same way you go over your bank transactions.

Designing permissions with good judgment doesn't slow down AI adoption, it speeds it up. The team stops fearing the agent once they know exactly what it can and can't do. The owner stops checking everything once they know nothing serious can happen without a human signature. That peace of mind is what lets you truly delegate.

Start with the inventory. Chances are you'll find an open door nobody remembers opening. Close it before you connect the next agent.

Every week I publish three pieces: building companies, practical philosophy and applied technology.

Join the newsletter to get them.