migration to AI SDK v6#27166
Closed
agents-git-bot[bot] wants to merge 2 commits into
Closed
Conversation
agents-git-bot
Bot
requested review from
elithrar,
irvinebroque,
rita3ko,
thomasgauvin,
threepointone and
whoiskatrin
as code owners
December 16, 2025 14:29
Contributor
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
Contributor
Author
|
Updated to include comprehensive AI SDK v6 migration guide at The guide includes:
Ready for review. |
agents-git-bot
Bot
force-pushed
the
sync-docs-pr-733
branch
2 times, most recently
from
December 22, 2025 11:20
1e1a77b to
b7a9845
Compare
Contributor
|
Preview URL: https://6c0fffa6.preview.developers.cloudflare.com Files with changes (up to 15)
|
agents-git-bot
Bot
force-pushed
the
sync-docs-pr-733
branch
from
December 22, 2025 16:51
b7a9845 to
c4b41e3
Compare
whoiskatrin
approved these changes
Dec 22, 2025
Synced from cloudflare/agents PR #733 - Add comprehensive migration guide for upgrading from AI SDK v5 to v6 - Document breaking changes including unified tool pattern - Include code examples for before/after migration patterns - Cover new v6 features: Agent abstraction, tool approval, structured output - Provide complete migration checklist for developers 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
agents-git-bot
Bot
force-pushed
the
sync-docs-pr-733
branch
from
December 22, 2025 18:37
6c0fffa to
e884dd8
Compare
Contributor
|
CI run failed: build logs |
- Add comprehensive migration guide for upgrading from AI SDK v5 to v6 - Document breaking changes: unified tool pattern, async convertToModelMessages, CoreMessage removal - Include before/after code examples for all breaking changes - Document deprecated APIs and their replacements - Add new v6 features: agent abstraction, tool approval, structured output, reranking - Create reference section for migration and reference documentation - Follow Cloudflare docs style guide with TypeScriptExample and PackageManagers components Related to cloudflare/agents PR #733 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
|
Hey there, we've marked this pull request as stale because there's no recent activity on it. This label is helps us identify PRs that might need updates (or to be closed out by our team if no longer relevant). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR syncs documentation changes from cloudflare/agents#733 which migrates the Agents SDK to AI SDK v6 beta with the unified tool pattern.
Changes
/agents/reference/migrate-to-ai-sdk-v6/reference/section for migration and reference documentationAITool,toolsRequiringConfirmation, etc.)convertToModelMessages()is now asyncCoreMessagetype removed (useModelMessage)isToolUIPartandgetToolNamebehavior changesgenerateObjectmode option removedToolLoopAgentneedsApprovalTypeScriptExampleandPackageManagerscomponentsTesting
🤖 Generated with Claude Code
Source PR: cloudflare/agents#733