Playbooks / 4 chapters, 4 min

Never Let Your Agent Do This

How to give an AI agent real tools without letting it break things.

Chapter 1 of 4

Why agents break things

1 min read. Sample draft, updated November 2026.

Ask a desktop agent to free up disk space, and it will try to help. It finds a large folder, decides it looks unimportant, and reaches for the delete tool. The folder holds a week of your work.

Whether you lose that work depends entirely on decisions made before the agent ever ran. Can it delete at all? Does it have to ask first? Can you undo what it did? This playbook is about making those decisions well.

The problem#

A chatbot that gives a wrong answer wastes your time. An agent that takes a wrong action changes your files, your systems or your money. Models will get better, but they will never be perfect, so the safety has to live in the code around the model, not in the model itself.

“The model proposes. The code verifies.”

Who this is for#

  • Engineers building agents that call tools on real systems.
  • Anyone running local models who wants to let them do more than chat.
  • Teams deciding how much an agent should be allowed to do on its own.

What you'll learn#

  1. How to draw hard boundaries the agent can never cross.
  2. How to decide which actions need your permission and which don't.
  3. How to make every action reversible, so mistakes become cheap.
The running exampleThroughout this playbook we'll follow Pilot, a small desktop agent that can search, read, move and clean up files. Each chapter adds one layer of protection to Pilot until it's safe to trust with your machine.

Remember

  • Agents will make mistakes. Design for that, don't hope against it.
  • Put safety in the code around the model, not in the prompt.
  • The goal is cheap mistakes, not zero mistakes.