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