AI SDK
An open-source AI development toolkit released by Vercel. It provides a unified API for calling a variety of AI models and supports features such as streaming responses and tool calling, simplifying the development of AI applications.
Core Facts
@ai-sdk/provider defines the standard interface, @ai-sdk/provider-utils provides common utility functions, and each specific vendor package implements its own adapter logic
@ai-sdk/xai is the adapter-layer provider package in the AI SDK targeting the xAI Grok series of models.
The AI SDK splits out independent adapter layers for different frontend frameworks, including corresponding packages for Vue, React, Svelte, and other frameworks.
Timeline (last 90 days)
开发者可通过 AI SDK 中的 reasoning 参数或 Chat Completions 接口中的 reasoning_effort 参数控制 Gemini 4 Argon 的思考等级。
开发者通过 embed 或 embedMany 等接口调用 Voyage 的向量化能力
AI SDK 本次补丁级更新属于标准补丁更新,升级方式没有额外迁移成本,不需要改代码就能修掉一个隐患。
本次头部丢失问题出在 Vue 适配层对请求头的透传环节,而非模型调用本身,因此升级 @ai-sdk/vue 即可,无需改动核心包。
AI SDK 的 useObject 是 Vue 开发者用来流式生成结构化对象的核心 Hook。
AI SDK 坚持『主包 ai + 框架适配包 + provider-utils』三者小版本对齐,只有三者版本匹配行为契约才一致。
由于 AI SDK 采用「核心 + 适配层」设计,核心包修复 bug 或优化协议时,各框架适配层只需同步依赖版本即可获得收益,无需各自重复实现。
AI SDK 工具的迭代正以流水线方式推进,订阅更新比手动追踪更省力
AI SDK 采用统一版本管理,每当 provider-utils 或 openai-compatible 这类基础包有改动,所有下游 provider 包都会跟一次版本号,保证依赖树一致。
上层应用只需依赖 ai 主包暴露的 generateText、streamText、generateObject 等函数,无需感知底层差异。
40 more timeline events
All Facts (20)
@ai-sdk/provider defines the standard interface, @ai-sdk/provider-utils provides common utility functions, and each specific vendor package implements its own adapter logic
90%Verified@ai-sdk/xai is the adapter-layer provider package in the AI SDK targeting the xAI Grok series of models.
90%VerifiedThe AI SDK splits out independent adapter layers for different frontend frameworks, including corresponding packages for Vue, React, Svelte, and other frameworks.
90%Verified@ai-sdk/voyage is the official provider package within the Vercel AI SDK dedicated to Voyage AI embedding models
90%VerifiedIn AI SDK, workflow-harness serves as the runtime scaffold responsible for orchestrating and executing AI workflows, linking multiple AI calls, tool calls, state management, and other steps into a controllable workflow.
90%VerifiedThe AI SDK adopts a Provider architecture in which each Provider package implements standardized interfaces such as LanguageModelV1, which is an engineering practice of the strategy pattern.
90%VerifiedThe Vercel AI SDK adopts a Monorepo single-repository management model, with the core package ai and various framework adapter packages (such as @ai-sdk/vue, @ai-sdk/react, and @ai-sdk/svelte) released in coordination.
90%VerifiedWithin the AI SDK ecosystem, there exists an adapter package @ai-sdk/zod similar to @ai-sdk/valibot, with both providing the same public interface.
80%VerifiedIt is recommended that developers in production environment projects pay attention to the changelog, and even patch versions should be validated in a test environment before upgrading.
80%VerifiedThe provider-layer packages are the core of AI SDK's abstraction over different model service providers (such as xAI and DeepSeek).
80%VerifiedZod is a popular runtime type validation library in the TypeScript ecosystem, used in AI SDK to define tool call parameter types and implement structured output.
75%VerifiedThe Vercel AI SDK adopts a Monorepo single-repository management model, where the core package ai and various framework adapter packages are released in sync.
75%VerifiedVercel AI SDK(现更名为AI SDK)是由Vercel公司推出的开源AI开发工具包,为TypeScript开发者提供统一接口来调用OpenAI、Anthropic、Google Gemini等多家AI服务商的模型
75%UnverifiedVercel推出的AI SDK、微软的TypeChat以及众多MCP服务器实现都选择了TypeScript
85%Partially Verified@ai-sdk/vue is a high-level wrapper for the Vue framework, with underlying dependencies on the ai core package and @ai-sdk/provider-utils.
75%Unverified开发者可通过 AI SDK 中的 reasoning 参数或 Chat Completions 接口中的 reasoning_effort 参数控制 Gemini 4 Argon 的思考等级。
50%Unverified开发者通过 embed 或 embedMany 等接口调用 Voyage 的向量化能力
50%UnverifiedAI SDK 坚持『主包 ai + 框架适配包 + provider-utils』三者小版本对齐,只有三者版本匹配行为契约才一致。
50%UnverifiedAI SDK 的 useObject 是 Vue 开发者用来流式生成结构化对象的核心 Hook。
50%Unverified本次头部丢失问题出在 Vue 适配层对请求头的透传环节,而非模型调用本身,因此升级 @ai-sdk/vue 即可,无需改动核心包。
50%