Command Palette
Search for a command to run

Loop Control

✓ Relevant

Control agent loop execution with stopWhen conditions and prepareStep callbacks to modify model, tools, messages, and context between steps; or implement manual loops with generateText/streamText for complete control.