Skip to main content
All chapters

Chapter 7 of 15 · Debug

Diagnose and fix what the agent breaks

Everything real breaks, and panic is the expensive response. This part is the calm playbook: read the error, find the cause, and undo the damage safely, whether the bug is in the code or in the agent itself.

By the end of this part, you can:

  • Read a stack trace and find where it actually broke
  • Break an agent stuck in a loop and get it moving
  • Bisect a regression down to the change that caused it
  • Roll back safely when a fix makes things worse
Done:Amplify·You are here: Debug·Next:Test

Your progress

0%

Begin at the introduction

No signup, nothing to buy.

Start reading

Search the book

Found this handbook useful?

It's free to read. A coffee or sponsorship helps me keep writing.

Know someone learning to build?

Share this handbook with them.

Want help while vibe coding?

I can help you apply these principles to your project.