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-controlHarness AgentOverviewLearn what AI SDK harnesses are and how they fit into the AI SDK.https://ai-sdk.dev/v7/docs/ai-sdk-harnesses/overviewHarnessAgentCreate and run AI SDK HarnessAgent sessions.https://ai-sdk.dev/v7/docs/ai-sdk-harnesses/harness-agent