
12/22/2025
What this post added
AI SDK 6 introduces the `Agent` abstraction for building reusable agents, including the `ToolLoopAgent` for handling tool execution loops. It adds `callOptionsSchema` and `prepareCall` for passing type-safe arguments to agents. The release also enhances tool capabilities with `needsApproval` for human-in-the-loop control, strict mode for input generation, input examples for better alignment, and `toModelOutput` for flexible tool outputs. The `Agent` interface is now more flexible, allowing custom implementations like `DurableAgent` from Workflow DevKit. New features include MCP support, tool calling with structured output, DevTools, reranking, standard JSON schema, image editing, raw finish reason & extended usage, LangChain adapter rewrite, and new provider tools.