Summary

On July 23, 2026, Cloudflare updated its Agents SDK packages — agents, @cloudflare/ai-chat, @cloudflare/codemode, and @cloudflare/think — to support both Vercel AI SDK v6 and v7. Peer dependency ranges now allow ai@^6 || ^7 with matching @ai-sdk/react versions, so applications can upgrade Cloudflare's agent packages without being forced into an AI SDK major-version migration at the same time.

What changed

Cloudflare's Agents SDK packages (changelog dated 2026-07-23) widened peer ranges to support AI SDK v6 and v7 simultaneously, decoupling Cloudflare package upgrades from AI SDK major bumps.

Why it matters

AI SDK major versions often force breaking changes across an app; supporting v6 and v7 in parallel lets teams on Cloudflare adopt agent-package fixes and features on their own schedule and migrate the AI SDK independently. It reduces upgrade friction at the increasingly important seam between Cloudflare's agent runtime and Vercel's widely used AI SDK.

Evidence excerpt

Agents packages support AI SDK v6 and v7; peer ranges allow ai@^6 || ^7 with matching @ai-sdk/react versions, so applications can update without a forced AI SDK migration.

Sources