AI EngineeringInterview preparation
Advanced·Scenario·2 min read

An agent keeps repeating search. How do you fix it?

Practice this question
  • I inspect whether the goal and completion conditions are clear and whether tool results are usable.
  • I add repeated-query/progress detection and strict budgets, then clarify or escalate when evidence remains insufficient rather than searching indefinitely.
Adapted from 13_AI.MD · “29.8 AI agents”. Code examples are study fragments. Difficulty and core labels are editorial estimates; version-specific behavior should be checked against your project.