AI SDK 6Read post
Post cover image

AI SDK 6 introduces major capabilities for building AI applications in TypeScript: reusable Agent abstractions with ToolLoopAgent for multi-step tool execution, human-in-the-loop tool approval for safety, DevTools for debugging LLM calls, full MCP support with OAuth and resources, reranking for context optimization, image editing, and provider-specific tools from Anthropic, OpenAI, Google, and xAI. The release includes structured outputs with tool calling, Standard JSON Schema support, and improved token usage visibility. Migration from v5 is straightforward with an automated codemod.

1 Comment

Sort: