00Book · Software engineering · AI

The Michelin Kitchen for Agents

Building software environments where AI agents write code you can trust. For people who run software and platform teams and want agents to do more, without a person checking every line by hand.

  • Free on Shift while in review
  • English and Portuguese
  • Every source cited
Book cover: The Michelin Kitchen for Agents, Building software environments where AI agents write code you can trust, by Wagner Souza. A black and white photo of Wagner, lit from the side, with one amber line.

01The story

Eleven times in one evening.

The agent wrote the code, ran the plan and opened the PR. I ran the apply on my machine, checked it, and went back to the chat to say: applied, you can merge it. I was not writing code. I was working as a network cable.

One month later, fifteen agent sessions worked on the same repo, and none of them started with a message from me. This book is about the road between those two evenings: what has to exist around the agent for the second one to be safe. And where I have not arrived yet.

It is my experience, my research and my opinion, with every source cited.

02The trust ladder

You trust what surrounds the agent.

Autonomy is given per area of the code and per type of change, not to the agent as a whole. Three things move a team up one step.

  • 01

    A cheaper, more reliable check

    If checking is expensive, you stay on the lower step.

  • 02

    A smaller blast radius

    If a mistake hits very little, you can let go more.

  • 03

    A faster undo

    If going back takes a minute, trying gets cheap.

None of the three is "the model got smarter". The step is earned in the environment.

03Inside

Six parts, one road.

From the first evening to the second. Every chapter has a section for people who work in infrastructure, cloud and platform teams.

  • Part I

    The bottleneck

    Why being the agent's middleman wears you out, and why more agents is not more speed.

  • Part II

    The track

    Context for intent, control for the rules: code, lint rules and types that make the wrong code fail to build.

  • Part III

    The inner loop

    How the agent checks its own work: eyes and hands on the running app, and checks it cannot edit.

  • Part IV

    The outer loop

    Agents that coordinate other agents, take bugs from the team's channels, and know when to queue and when to page.

  • Part V

    Earned autonomy

    Agents that merge on their own in narrow lanes, and the person who moves from reviewing everything to reviewing a sample.

  • Part VI

    The organization

    Build the platform, then change the org chart.

04The author

Written from the ops side.

Wagner Souza, black and white portrait

Wagner Souza comes from operations: infrastructure, cloud and platform teams. Today he works with AI agents on software and infrastructure teams. He also wrote Beyond the Code, a practical handbook for engineering managers.

This book was written with the help of AI. It was my ghostwriter, and the introduction says how. Research agents kept the link to every fact. A final check refused any number with no source. The argument and the stories are his.

The book was written using the same techniques I present in it.

05How it comes out

Read it while it is in review.

The book comes out in the open on Shift, my newsletter, one part at a time, in Portuguese and in English. Each part goes out when it passes my review. While the book is in review, everything is free.

  • 01 · Now

    One part at a time, free

    Each chapter is a post on Shift, with the Portuguese and the English edition. A part goes out only when its chapters passed my review, so there is no date per part.

  • 02 · Help me review it

    Find a mistake, get the book

    If you find a mistake, a weak source or a hole in the argument, comment on the chapter post. Comments need a free subscription. Anyone who helps goes into the acknowledgements, if they want, and gets the book as PDF and EPUB when it is done, with a month of paid Shift.

  • 03 · When the review ends

    The chapters move to paid Shift

    Paid subscribers get the chapters, the PDF and the EPUB of this book and of my next ones. Then the book goes on Amazon, in print and Kindle. The emails you already got stay yours.

06Read it free

Start with the introduction.

The introduction tells how this book was written: the research agents, the skill with my voice, the final check and my review. The parts follow, one at a time.

Live now: Introduction · Chapter 1: the meat proxy · Chapter 2: more agents is not more speed.

All my books, and what comes next: Books.

Também em português: A cozinha Michelin dos agentes.