Whenever you're ready, walk me through how you'd approach this.
You are building an agent that answers user requests by calling external APIs and composing results into a final response. The agent may need to plan, choose tools, validate outputs, and recover when API responses are missing, stale, or contradictory.
What strategies do you use to mitigate hallucination and ensure factual grounding when an agent interacts with external APIs?