Zum Inhalt springen

Cloudflare AI Updates & Release Notes

Einträge
115
Quellen
1
Zuletzt aktualisiert

Folge Cloudflare AI, um die Release Notes in deinen Feed zu holen.

Cloudflare AI von Cloudflare

Set the provider order

You can also control which provider AI Gateway tries first for a model. Set the cf-aig-provider-order header to list the providers to try first. Set the cf-aig-provider-sort header to price to order the remaining providers by their input and output token price.

For example, anthropic/claude-haiku-5.5 ↗︎ is available from Anthropic and Google Vertex AI. On a gateway with multi-provider routing on, this request tries Google Vertex AI first, and falls back to Anthropic:

curl "https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/messages" \
  --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  --header "Content-Type: application/json" \
  --header "cf-aig-provider-order: google-vertex-ai" \
  --data '{
    "model": "anthropic/claude-haiku-5.5",
    "messages": [{ "role": "user", "content": "Reply with a short greeting." }],
    "max_tokens": 128
  }'

The provider order is a preference. It does not remove providers from the pool, and it does not add providers that the gateway does not allow. AI Gateway can still choose a different provider if the preferred one is unhealthy.

For more information, refer to Multi-provider routing.

Nov 30, 2026 …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Tools that wait

  • Park until a signal or a deadline. A tool can return a "tool park" (Pi's ToolPark type) instead of a result. The tool park registers what the call waits for, and Pi runs it again when a signal arrives or the deadline passes. While it waits, the call holds no invocation, so the Durable Object can hibernate. Deliver signals with the new harness.signal(). Refer to Tools that wait.
  • Wait for a subagent. submit() and continue() take notify, so a parked tool wakes when another session's input settles. Refer to Wait for a subagent.
  • Approval gates. A beforeTool hook can park a tool call before it runs, for example until a person approves it.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Session updates

  • Start a session from an existing history. harness.root(), sessions.create(), and sessions.fork() take Pi's init, which writes messages into the transcript in the commit that creates the session. The root session is now created on its first use, so harness.root() can seed it. Refer to Seed a session with an existing history.
  • Keep queued input across an abort. With submit(input, { onAbort: "keep" }), stopping an answer does not drop the message that the user or another agent sent next.
  • Steadier runs. Pi retries more dropped provider connections. When Anthropic can no longer continue a message thread, agents/models/pi-ai sends the whole conversation again instead of failing the turn. PiHarness.dispose() frees Pi AI's per-session state.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Wait for a person's answer

This tool asks the user a question, then parks until your agent delivers the answer. Each time it runs, it checks for the answer first, so the question is shown once:

A sequence diagram of a tool that asks the user a question. The model calls the tool, and run 1 of execute() starts. readSignal() finds no answer, so the tool shows the question with its task id and returns a tool park naming the signal key it waits for. Run 1 ends there. Pi stores the tool park: the call's task id and the signal key. Between the runs the object can hibernate, with no tool code in memory and only the stored tool park kept. Later your app calls harness.signal() with the task id and the answer. Pi matches the stored tool park and starts run 2 of execute() with the same arguments. This time readSignal() returns the answer, and the tool returns it to the model as its result.

import { defineSignal } from "@earendil-works/pi-durable";
import { obj, str } from "@earendil-works/pi-schema";

const Answer = defineSignal({
	name: "app.answer",
	version: 1,
	schema: obj({ text: str() }),
});

const AskParameters = obj({ question: str() });

const askUser = {
	name: "ask_user",
	description: "Ask the user a question and wait for the answer.",
	parameters: AskParameters,
	async execute({ question }, api, context) { …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Other changes

  • MCP re-authorization. A request that needs the user to sign in again throws MCPAuthorizationRequiredError with a link. A failed server stays failed until you call the new reconnectMcpServer(id). Refer to Failures and reconnecting.
  • Failed requests no longer send error details. A failed request gets a generic 500 response, and a failed WebSocket upgrade closes with code 1011. Use onFetchError() to choose the response. Refer to Failed requests.
  • Chat fixes. Stop, clear, regenerate, and resume now work across tabs and during recovery.
  • Scheduling fixes. A schedule, queue item, or Task run that is cancelled or replaced no longer runs again.
  • Models. ai.image() and Pi AI's ai.images() run the FLUX.2 image models. claudeCode() defaults to claude-sonnet-5-5. Examples move off the Workers AI models retired on November 20, 2026.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Upgrade

Once a conversation runs on Pi 1.6, Pi 1.5 cannot run its tool calls or model requests. After upgrading, roll forward to fix deployment issues rather than rolling back to Pi 1.5.

Deliver signals with harness.signal() instead of (await harness.pi()).signal(), and call harness.root() before you reach the root session through harness.pi(). If you use Pi Durable directly, RunEndTask is now HookTask, and code mode namespaces come from Extension.namespace. Refer to the Pi Durable 1.6.0 changelog ↗︎ for the full list of breaking changes.

If you use the MCP client, catch MCPAuthorizationRequiredError and send the user to error.authUrl, and give users a way to call reconnectMcpServer(id) for a failed server. If you relied on error details in failed responses, implement onFetchError().

The Agents SDK v0.34.0 changelog ↗︎ has step-by-step upgrade instructions. Point your coding agent at them and upgrade today: …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

How it works

  • Select the paperclip next to the message box, paste an image, or drag files onto the chat panel.
  • Each file appears as a chip above the message box. Remove any you did not mean to add, then send your message.
  • Agent Lee reads images directly, converts PDFs to text and reads them from the start, and reads text files in full or, for long files, from the start and the end.

Example requests:

  • "Here is a screenshot of the error I get when I open my site. What is wrong?"
  • "This HAR file is from a slow page load. Which requests are taking the longest?"
  • "Here is the error log from my Worker. What is causing these failures?"

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Good to know

  • Supported files. PNG, JPEG, and WebP images up to 3.5 MiB, PDFs up to 5 MiB, and text files ( .txt, .log, .json, .har, .csv, .yaml, .yml, .toml, .md, .xml) up to 100 MiB. You can attach up to four files per message, up to 14 MiB in total after trimming.
  • Text files are trimmed in your browser. A text file over 1 MiB (2 MiB for JSON, HAR, YAML, TOML, and XML) keeps its first and last lines. HAR files are always compacted before sending: request and response bodies and cookies are removed, and credential headers such as Authorization and Cookie are replaced with [redacted].
  • Scanned PDFs are not read. Agent Lee reads the text in a PDF. A PDF that is only scanned images, with no text layer, cannot be read.
  • Older attachments age out. Agent Lee keeps attachments from your most recent messages in view. Attach a file again to bring an older one back into the conversation.
  • Attachments are stored with the conversation. When an attachment ages out, it is removed from the stored conversation. Do not attach files that contain passwords, API tokens, or other secrets. For how Agent Lee uses your data, refer to Data usage.

Agent Lee remains in beta. Features and behaviors may change as the product evolves.

For details, refer to Agent Lee.

Nov 17, 2026 …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Run locally or deploy to your account

Developers can run Kitesurf locally with Wrangler. After following the build requirements and setup instructions ↗︎, run pnpm run dev. This builds the engine and starts wrangler dev.

To run your own instance on Cloudflare, follow the deployment instructions ↗︎. Protect your deployment with Cloudflare Access or another authentication layer. Kitesurf does not provide built-in authentication.

Important

Kitesurf requires Cloudflare Dynamic Workers to create isolated Workers for pages. Dynamic Workers are part of the Workers Paid plan. A Workers Paid plan is required to run Kitesurf on Cloudflare. Local development uses wrangler dev.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Contribute and follow progress

Contributions and pull requests are welcome. The team remains focused on compatibility, reliability, and performance, with limited review capacity. Keep changes focused and follow the contribution guidelines ↗︎, including opening an issue and getting vouched by a maintainer before submitting a pull request.

Visit kitesurf.dev ↗︎, the main Kitesurf website and playground. Track Web Platform Tests (WPT) progress ↗︎ and performance benchmarks ↗︎ as development continues.

For background and technical details, refer to the introductory blog post ↗︎ and the Kitesurf update ↗︎. To use Kitesurf through Browser Run, refer to the Kitesurf documentation.

Nov 12, 2026

<h2>EmbeddingGemma 2 now available on Workers AI</h2>

Workers AI …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

LLMs

  • @cf/deepseek-ai/deepseek-r1-distill-qwen-32b
  • @cf/nvidia/nemotron-3-120b-a12b
  • @cf/deepseek-ai/deepseek-v4-pro-0813
  • @cf/deepseek-ai/deepseek-v4-flash-0731
  • @cf/qwen/qwq-32b
  • @cf/qwen/qwen3-30b-a3b-fp8
  • @cf/moonshotai/kimi-k2.6
  • @cf/moonshotai/kimi-k2.7-code
  • @cf/zai-org/glm-5.2
  • @cf/zai-org/glm-5.3-flash
  • @cf/meta-llama/llama-2-7b-chat-hf-lora
  • @cf/google/gemma-2b-it-lora
  • @cf/google/gemma-7b-it-lora
  • @cf/meta/llama-3.1-8b-instruct-fp8
  • @cf/meta/llama-3.2-1b-instruct
  • @cf/meta/llama-3.2-3b-instruct

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Other models

Each deprecated model is followed by its suggested replacement.

For the full list of available models, refer to the Workers AI model catalog.

Nov 4, 2026

<h2>Route across a pool of models with model aliases</h2> …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Performance improvements

  • Far fewer storage writes while streaming. Pi stores streamed answers and tool output in batches, within a second of each update, instead of on every update. Over SQLite, this cuts storage transactions by about 27x for long answers and 5.7x for turns with parallel tools, and CPU by about a quarter.
  • Higher throughput across many sessions. Pi's scheduler no longer rechecks every conversation on each commit. In a SQLite benchmark with 2,048 sessions, one Pi harness went from 88 to 459 agent runs per second.
  • Less memory on large answers. Streaming a 500 KB tool call used to take about 20 seconds of CPU and a 100 MB heap. Pi now appends new text instead of copying it on every update.

Streaming updates remain visible immediately, but are persisted in batches. With the default settings, a crash can lose up to about one second of streamed progress. Refer to Recovery to configure this interval.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Session and tool updates

  • A view of each session. session.watch() replaces session.events(). It returns the newest transcript entries and the session's live state, such as the answer being streamed, running tools, and why the last run ended without an answer.
  • Continue without adding a message. The new session.continue() API starts a new run using the existing transcript, for example after a model error or when a run reaches its turn limit.
  • Turn limit. defaults.maxTurns caps the tool rounds a run can take in new sessions.
  • Tasks that keep crashing end. Pi now ends a task cut off by its restart limit instead of parking it. retry() and the parked status are removed.
  • Browser in Pi's code mode. Scripts in Pi's code mode can call browserTool and pass its screenshots to image(). browserTool also stops when the harness aborts its call.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Continue an unanswered conversation

For an existing session and submission operationId, check the result before offering a continuation. For example, after resolving a model error:

const result = await session.wait(operationId);

if (result.status === "unanswered" && result.reason === "model_error") {
	const receipt = await session.continue({
		operationId: `${operationId}:continue`,
	});
	const continued = await session.wait(receipt.operationId);
	console.log(continued.status, continued.text);
}
const result = await session.wait(operationId);

if (result.status === "unanswered" && result.reason === "model_error") {
	const receipt = await session.continue({
		operationId: `${operationId}:continue`,
	});
	const continued = await session.wait(receipt.operationId);
	console.log(continued.status, continued.text);
}

This starts a new run without appending a user message. The session must be idle. If the transcript already ends in an answer, the operation returns unanswered with reason nothing_to_answer. Refer to Work with sessions.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Default sync interval is now 24 hours

The default sync interval for AI Search instances is changing from 6 hours to 24 hours. You can still choose any supported interval, from 15 minutes to 24 hours, with the Sync interval setting in your instance settings or the sync_interval field in the API.

For details, refer to Sync interval.

{"@context":"https://schema.org","@type":"BlogPosting","@id":"https://developers.cloudflare.com/changelog/product-group/ai/#page","headline":"AI Changelog","url":"https://developers.cloudflare.com/changelog/product-group/ai/","inLanguage":"en","image":"https://developers.cloudflare.com/og-changelog.png","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://ww…

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Browser Run now runs Chrome 152

Browser Run

Browser Run now runs Chrome 152 by default. Your sessions get current web platform features, rendering fixes, and security patches. You do not need to change your code.

This release also includes the following improvements:

  • Updated default User-Agent. The default User-Agent for Quick Actions now reports Chrome 152 instead of Chrome 119. If you allowlist or match the Browser Run User-Agent, update your rules. You can still set your own value with the userAgent parameter. Refer to Automatic request headers.
  • Better site compatibility. Quick Actions requests now look more like requests from a regular Chrome browser, so fewer sites block them.
  • Large response headers. Pages that return large response headers now load correctly.
  • Updated root certificates. Browser Run removed distrusted root certificates from its trust store.
  • Absolute links. /links now returns absolute URLs, and links-only crawls now follow relative links. …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

compatibility_date = "2026-10-29"

[[services]] binding = "AUTH_SERVER" service = "auth-server" entrypoint = "AuthServer"


`OAuthResourceServer` publishes the [RFC 9728 ↗︎](https://datatracker.ietf.org/doc/html/rfc9728) protected resource metadata that MCP clients use to find your authorization server. It answers requests without a token with a `401` challenge that points to that metadata. It also rejects tokens issued for any other resource.

You can still use `OAuthProvider` as both the authorization server and the MCP server. For most 0.x deployments, the only required change is to add `resourceMetadata: { resource }`.

#### Other updates and helpers

- [Consent page ↗︎](https://github.com/cloudflare/workers-oauth-provider/blob/main/docs/consent-page.md) and [upstream sign-in ↗︎](https://github.com/cloudflare/workers-oauth-provider/blob/main/docs/upstream-sign-in.md) helpers implement the MCP confused deputy protections.
- [Sliding refresh token expiry ↗︎](https://github.com/cloudflare/workers-oauth-provider/blob/main/docs/advanced-configuration.md#sliding-expiry) with `refreshTokenIdleTTL`.
- [Resumable KV cleanup ↗︎](https://github.com/cloudflare/workers-oauth-provider/blob/main/docs/advanced-configuration.md#kv-cleanup) with `purgeExpiredData()`.
- An [internal reason ↗︎](https://github.com/cloudflare/workers-oauth-provider/blob/main/docs/advanced-configuration.md#the-internal-reason) on every error passed to `onError`.

#### Upgrade with the migration skill

npmyarnpnpmbun

``` …

Originalquelle(öffnet in neuem Tab)Problem melden