Human-in-the-loop: Built-in user approval feature (
needsApproval) when executing tools.Building Agents
Complete guide to creating agents with the Agent class.
https://ai-sdk.dev/docs/agents/building-agents
Loop Control
Control agent execution with built-in loop management using stopWhen and prepareStep
https://ai-sdk.dev/docs/agents/loop-control

Seonglae Cho