We Built an AI Agent... Then Realized We Had No Idea What It Was Doing

Our AI agent was writing code, running tests, and opening pull requests, but I had absolutely no idea why some runs took 8 seconds while others took 45.

Was the LLM thinking too long?

Was it stuck retrying a failing shell command?

Was Docker slow?