Agent builders: first check when an agent loops — logs, tool calls, or prompt?
A group question collects simple fixes for agents stuck in loops: check tool calls first (what it actually did), then logs, then the prompt. The pattern: loops usually come from a tool returning something the agent misreads, not from a bad prompt.