Update Cloudflare Agents without forcing an AI SDK migration
Cloudflare Agents packages now support AI SDK v6 and v7, so teams can update agent tooling while choosing their own migration timing.
What you get from it
Cloudflare updated its Agents SDK packages so agents, @cloudflare/ai-chat, @cloudflare/codemode, and @cloudflare/think support both AI SDK v6 and v7. That is useful if you maintain a Cloudflare-based agent app and want the latest Agents packages without turning the dependency update into a forced AI SDK migration.
The supported peer ranges are ai@^6 || ^7 and @ai-sdk/react@^3 || ^4. Cloudflare's note says to pair AI SDK v6 with @ai-sdk/react v3, or AI SDK v7 with @ai-sdk/react v4. Think also normalizes streaming, tool-completion events, and telemetry across both major versions.
Use this as a practical upgrade checkpoint:
- Check whether your app is on AI SDK v6 or v7.
- Update the Cloudflare Agents packages.
- Keep the matching
@ai-sdk/reactmajor version. - Test streaming output, tool calls, and telemetry before deployment.
This is a Loot item, not a broad platform-news post: the main value is a clean migration path for teams already building with Cloudflare Agents.
Discussion
Share practical experience, questions, or warnings with the community.
Sign in to join the discussion and vote on comments.
Sign in