An AI agent fails, so you add a few log statements: console . log ( ' starting agent ' ); console . log ( ' tool result ' , result ); console . log ( ' final answer ' , answer ); That works until the agent calls tools in parallel, retries one of them, falls back to cached data, and makes several model calls for different purposes. The terminal still contains the events, but it no longer explains the run. The limitation is not console.log() ...