Paths Subjects Questions Quizzes Pricing Search
Advanced Open Pro

A ReAct Agent's Grounding Broke Silently

Your internal ReAct-style agent answers questions like "how many open P0 incidents does the payments team have right now?" by calling a real incident-tracking API. After a refactor, the API client's error handling changed: on a timeout or 5xx, the client now returns an empty JSON object {} instead of raising an exception. Nobody noticed for two weeks. During that time, the agent kept producing confident, plausible-sounding numeric answers to incident-count questions — including on requests where the API had actually failed.

  1. Explain exactly how this bug defeats the purpose of the ReAct pattern, mechanistically.
  2. Why didn't anyone notice from the agent's output alone? What would have had to be true about the outputs for someone to notice earlier?
  3. Design the fix, including both the immediate bug and the more general architectural gap it reveals.

Share this question

← Back to Advanced Prompting Techniques practice

We use cookies for product analytics to improve OmniAtlas. See our Privacy Policy.