Agent InfrastructureAutomated source watch

Agents, Workers AI, AI Gateway - createAI replaces workers-ai-provider and ai-gateway-provider

Cloudflare Agents SDK introduced createAI , unifying Workers AI and AI Gateway integrations while deprecating workers-ai-provider and ai-gateway-provider .

Human read

Why this signal matters

The Cloudflare Agents SDK introduced createAI for the AI SDK and Pi AI, consolidating functionality previously split across workers-ai-provider and ai-gateway-provider . The unified method handles Workers AI models, AI Gateway catalog models, dynamic routes, and vendor models using either the AI binding or an account ID with an API token. Consequently, workers-ai-provider and ai-gateway-provider are officially feature-frozen and marked as deprecated.

Agent parse

Actionable summary

Cloudflare deprecated workers-ai-provider and ai-gateway-provider in favor of a unified createAI function in the Agents SDK ( agents/models/ai-sdk ), supporting Workers AI models, AI Gateway catalogs, dynamic routes, and vendor models.

Agent usefulness
96/100
Confidence
90%
Canonical data
JSON + Markdown
Next actions

What builders should check

  • Install or update the agents package ( npm i agents ).
  • Replace usage of workers-ai-provider and ai-gateway-provider with createAI from agents/models/ai-sdk (or Pi AI equivalents).
  • Migrate existing configuration to pass env.AI bindings or account credentials directly to createAI .
Classification

Tags and routing

cloudflareagentschangelog
Related signals

Continue the thread