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

Cloudflare AI: OAuth-Integration für MCP-Server

Cloudflare AI unterstützt jetzt OAuth 2.0 für MCP-Server, einschließlich RFC 9728-Schutzressourcen-Metadaten und Hilfsfunktionen für Zustimmungsseiten und Token-Erneuerung.

[[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

Cloudflare AI von Cloudflare

Agents SDK 0.28.0 mit Beta-Web-Fetch-Tool

Das Agents SDK 0.28.0 führt ein Beta-Web-Fetch-Tool zum Lesen von URLs ein, das HTML, PDF und Office-Dokumente über Workers AI Markdown Conversion verarbeitet, Markdown direkt anfordert, wenn verfügbar, und JSON für das Modell formatiert, wobei lange Seiten in kleinere Fenster mit Offsets aufgeteilt werden und Sie Hosts, Größe, Zeitüberschreitungen und Weiterleitungen steuern können.

Long pages come back in smaller windows with offsets to continue reading. Each result includes the final URL, HTTP status, and content type. You control allowed hosts, response size, timeouts, and redirects.

Add the tool to a Pi Durable extension registry before opening the harness:

import { webFetchTool } from "agents/webfetch/pi";

this.registry.install({
	name: "web-tools",
	tools: [webFetchTool({ binding: this.env.AI })],
});
import { webFetchTool } from "agents/webfetch/pi";

this.registry.install({
	name: "web-tools",
	tools: [webFetchTool({ binding: this.env.AI })],
});

The SDK also includes AI SDK and TanStack AI adapters. For another harness, use the public fetchWeb, windowWebFetchPage, and renderWebFetchPage functions to build its tool handler. Direct fetching does not require a Durable Object or browser.

For setup, examples, and request controls, refer to Web fetch.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

web_fetch-Tool: Einrichtung ab SDK v0.28.0

Für die Nutzung des web_fetch-Tools wird Agents SDK v0.28.0 oder höher benötigt; es kann über die Pi-Durable-Extension-Registry installiert oder direkt über fetchWeb und verwandte Funktionen aufgerufen werden.

import { webFetchTool } from "agents/webfetch/pi";

export class MyAgent extends DurableObject {
	// ...

	harness = new PiHarness({
		harness: async ({ storage, context }) => {
			this.registry.install({
				name: "web-tools",
				tools: [webFetchTool({ binding: this.env.AI })],
			});

			// ...

			return Harness.open(
				storage,
				{ models, registry: this.registry },
				context,
			);
		},
	});
}
import { webFetchTool } from "agents/webfetch/pi";

export class MyAgent extends DurableObject<Env> {
	// ...

	readonly harness = new PiHarness({
		harness: async ({ storage, context }) => {
			this.registry.install({
				name: "web-tools",
				tools: [webFetchTool({ binding: this.env.AI })],
			});

			// ...

			return Harness.open(
				storage,
				{ models, registry: this.registry },
				context,
			);
		},
	});
}

The web_fetch tool works with any harness. The SDK includes AI SDK and TanStack AI adapters. If you use a different harness, or need to fetch a page without calling a model, use fetchWeb(), windowWebFetchPage(), and renderWebFetchPage() from agents/webfetch. Direct fetching does not require a Durable Object or browser.

For setup, examples, and request controls, refer to Web fetch.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Neues web_search-Tool im Agents SDK

Das Cloudflare Agents SDK bietet jetzt ein web_search-Tool, das über die Cloudflare Web Search API mit Anbietern wie ceramic.ai, Exa und Linkup das öffentliche Web durchsucht.

Agents

The Cloudflare Agents SDK now provides a web_search tool that searches the public web through the Cloudflare Web Search API, powered by ceramic.ai, Exa, and Linkup.

When you give the web_search tool to your agent, the model provides a query and max results, and receives back a short numbered list of titles, URLs, and trimmed descriptions. When you also provide the web_fetch tool to your agent, the model is told to use it to read the pages that the web_search tool returns.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

web_search-Tool: Einrichtung ab SDK v0.27.0

Für die Nutzung des web_search-Tools wird Agents SDK v0.27.0 oder höher benötigt; es lässt sich über die Pi-Durable-Extension-Registry installieren oder direkt über createAIWebSearch und createHTTPWebSearch aufrufen.

import { webSearchTool } from "agents/websearch/pi";

export class MyAgent extends DurableObject {
	// ...

	harness = new PiHarness({
		harness: async ({ storage, context }) => {
			this.registry.install({
				name: "web-tools",
				tools: [webSearchTool({ binding: this.env.AI, provider: "exa" })],
			});

			// ...

			return Harness.open(
				storage,
				{ models, registry: this.registry },
				context,
			);
		},
	});
}
import { webSearchTool } from "agents/websearch/pi";

export class MyAgent extends DurableObject<Env> {
	// ...

	readonly harness = new PiHarness({
		harness: async ({ storage, context }) => {
			this.registry.install({
				name: "web-tools",
				tools: [webSearchTool({ binding: this.env.AI, provider: "exa" })],
			});

			// ...

			return Harness.open(
				storage,
				{ models, registry: this.registry },
				context,
			);
		},
	});
}

The SDK also includes AI SDK and TanStack AI adapters. To search without a model, such as from a scheduled job, use createAIWebSearch() or createHTTPWebSearch() from agents/websearch.

For setup, options, and error handling, refer to Web search.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Agents SDK unterstützt OpenCode 2.0

Das Agents SDK unterstützt nun OpenCode 2.0 über den experimentellen OpenCodeHarness, inklusive SQLite-Speicherung und Lifecycle-Jobs.

The agents/models/opencode provider connects OpenCode to Workers AI through the AI binding. OpenCode plugins extend the harness with custom tools, remote MCP servers, and skills. Refer to OpenCode's Cloudflare SDK documentation ↗︎ for the embedded host API.

Copy promptPrompt copied!

Deploy to Cloudflare

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Agents SDK 0.28.0 mit OpenCode-Paketen

Ab Agents SDK 0.28.0 können OpenCode-Pakete installiert und der OpenCodeHarness mit Lifecycle-Funktionen in Durable Objects verwendet werden.

npmyarnpnpmbun

npm i agents@latest @opencode/sdk@2 @opencode/plugin@2
yarn add agents@latest @opencode/sdk@2 @opencode/plugin@2
pnpm add agents@latest @opencode/sdk@2 @opencode/plugin@2
bun add agents@latest @opencode/sdk@2 @opencode/plugin@2

Create a harness and install a Lifecycle on your Durable Object:

import { DurableObject } from "cloudflare:workers";
import { Lifecycle } from "agents/lifecycle";
import { OpenCodeWorkerd } from "@opencode/sdk/workerd";
import { OpenCodeHarness } from "agents/harness/opencode";
import { createAI } from "agents/models/opencode";
import workerTools from "./worker-tools";

export class Assistant extends DurableObject {
	ai = createAI({ binding: this.env.AI });
	harness = new OpenCodeHarness({
		opencode: ({ storage }) =>
			OpenCodeWorkerd.create({
				storage,
				models: { fetch: false },
				plugins: [this.ai.plugin, workerTools],
			}),
		defaults: {
			model: this.ai("@cf/moonshotai/kimi-k2.7-code", {
				reasoningEffort: "low",
			}),
			agent: "build",
		},
	});

	lifecycle = Lifecycle.install(this).use(this.harness);

	async ask(prompt) {
		const { status, text, reason } = await this.harness.prompt(prompt);
		return { status, text, reason };
	}
}
import { DurableObject } from "cloudflare:workers";
import { Lifecycle } from "agents/lifecycle";
import { OpenCodeWorkerd } from "@opencode/sdk/workerd";
import { OpenCodeHarness } from "agents/harness/opencode"; …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Cloudflare AI: OAuthResourceServer und MCP-Schutz-Updates

Cloudflare AI führt OAuthResourceServer mit RFC-9728-Metadaten ein und aktualisiert Schutzmechanismen wie Sliding Expiry und KV-Bereinigung für MCP-Server.

[[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

Cloudflare AI von Cloudflare

Neues web_fetch-Tool im Agents SDK

Das Cloudflare Agents SDK bietet jetzt ein web_fetch-Tool, das Webseiten, PDFs und unterstützte Office-Dokumente liest und mit Workers AI Markdown Conversion in für Modelle lesbaren Text umwandelt.

Agents

The Cloudflare Agents SDK now provides a web_fetch tool that reads webpages, PDFs, and supported Office documents, using Workers AI Markdown Conversion to turn them into text the model can read. The tool requests Markdown directly from sites that support Markdown for Agents and formats JSON for the model.

When you give the web_fetch tool to your agent, the model provides a URL and receives back the page content, along with the final URL, HTTP status, and content type. Long pages come back in smaller sections, with an offset the model can use to continue reading. You control which hosts the agent can fetch, response size, timeouts, and redirects.

When you also provide the web_search tool to your agent, the model is told to use web_fetch to read the pages that web_search returns.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Cloudflare API MCP-Server bietet Cloudflare-Skills an

Der Cloudflare API MCP-Server stellt Cloudflare-Skills über die Skills over MCP-Erweiterung bereit, die Clients mit Unterstützung der Erweiterung entdecken können.

Agents

The Cloudflare API MCP server now serves Cloudflare skills ↗︎ through the Skills over MCP extension ↗︎. MCP clients that support the extension discover the skills with skills/list and read their files at skill://<name>/<path>.

To use them, add https://mcp.cloudflare.com/mcp to an MCP client that supports the extension ↗︎.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Clef-flash Preis gesenkt und Kontextfenster verkleinert

Clef-flash kostet nun 0,038 US-Dollar pro Million Eingabetokens und hat ein auf 24K Token reduziertes Kontextfenster, während Clef und Clef-omni ihre größeren Fenster behalten.

Clef-flash is now cheaper

Clef-flash now costs $0.038 per million input tokens, down from $0.090, which makes it cheaper than Jev. To offer this price, the hosted Clef-flash context window is now 24K tokens, down from 64K. Based on usage data, only 0.24% of requests exceed 24K input tokens. If you need a larger context window, use Clef, which keeps its 64K context window.

The Clef-flash weights on Hugging Face are unchanged and support up to a 256K context window if you self-host.

Model Price Context window
@cf/cloudflare/clef-flash $0.038 per M input tokens 24K tokens
@cf/cloudflare/clef $0.240 per M input tokens 64K tokens
@cf/cloudflare/clef-omni $0.150 per M input tokens 64K tokens

All Clef models convert image inputs to input tokens, and Clef-omni does the same for audio and video. For details on how each input type is tokenized, refer to the Clef, Clef-flash, and Clef-omni model pages.

Clef is now faster …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Clef läuft schneller dank SGLang und Launch-Befehle verfügbar

Clef nutzt nun SGLang für höhere Geschwindigkeit, und Selbst-Hosting-Befehle sind in der Hugging-Face-Sammlung verfügbar.

Get started

Clef-omni follows the same System One API as Clef and Clef-flash, and works with AI Gateway. To try it, change the model ID to @cf/cloudflare/clef-omni and set the model selector to clef-omni.

For more information, refer to the Clef-omni model page and pricing.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

Workers OAuth Provider v0.x unterstützt OAuthResourceServer und neue Helfer

Der Workerd OAuth Provider v0.x führt den OAuthResourceServer ein, veröffentlicht RFC-9728-Metadaten und bringt Helfer wie Consent-Seite und Sliding Refresh mit.

[[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

Cloudflare AI von Cloudflare

Cloudflare AI OAuth-Update

Der OAuthResourceServer veröffentlicht nun RFC-9728-Metadaten und sendet 401-Challenges an Token-lose Anfragen.

[[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

Cloudflare AI von Cloudflare

Clef-omni mit Audio- und Videoeingabe, Clef-flash günstiger, Clef schneller

Clef-omni verarbeitet Audio und Video direkt, Clef-flash kostet weniger als Jev und Clef wurde durch SGLang beschleunigt.

Workers AI

@cf/cloudflare/clef-omni is now available on Workers AI. Clef-omni is a decision model that takes audio (WAV or MP3) and video (MP4 or WebM) input alongside text and images. It joins Clef and Clef-flash in the Clef family of open-weight decision models. We also cut the price of Clef-flash, so it now costs less than Jev, and made Clef faster.

Clef-omni: one decision model for every modality

Previously, making a decision about a voice recording or a video meant chaining models together: transcribe the speech, split the audio and visual tracks, then pass the results to a text decision model. Clef-omni reads every modality directly in one request. A video's soundtrack is aligned with its frames, so the model can reason over what is seen and heard at the same time.

Clef-omni is built on a 30B-parameter mixture-of-experts (MoE) backbone with 3B active parameters. Like the rest of the Clef family, it does not generate text. It scores every allowed answer in a single pass, so decisions return quickly:

  • Text requests: about 20 ms
  • Image or audio inputs: under 100 ms
  • A 21-second video clip with sound: about 300 ms

Pass media as base64 data URLs in the images, audio, and videos fields:

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

AI Search allgemein verfügbar, Abrechnung ab 1. November 2026

AI Search ist allgemein verfügbar, die nutzungsbasierte Abrechnung beginnt am 1. November 2026, neue Instanzen nutzen standardmäßig Hybrid Search, Workers-AI-Embeddings und Reranking sind im Preis enthalten und multimodale Embedding-Modelle mit Bildunterstützung kommen hinzu.

Refer to Limits & pricing for rates and included usage.

Hybrid search is on by default

New AI Search instances use hybrid search by default. Hybrid search combines semantic vector retrieval with full-text matching. You can choose a different index method when you create an instance.

Refer to Hybrid search for details.

Workers AI embeddings and reranking are included

Workers AI embedding and reranking calls made by AI Search are included in AI Search pricing. These calls no longer appear on your Workers AI bill or in your AI Gateway logs. Generation, query rewriting, and external providers continue to use your account and gateway.

Refer to Limits & pricing for details.

Multimodal model and image support

AI Search supports the @cf/qwen/qwen3-vl-embedding-2b and google-ai-studio/gemini-embedding-2 multimodal embedding models. Search and chat requests can include images through the REST API and public endpoint.

Refer to Supported models for the full list of embedding models.

OCR availability and increased file limits …

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

AI Gateway log IDs and request IDs now use UUIDv7

AI Gateway

New AI Gateway log IDs and request IDs are lowercase UUIDv7, such as 019a7b3e-5f2c-7c41-9d3e-2b8f6a1c4e07. Previously, log IDs were 26-character ULIDs and request IDs were random UUIDs.

For a request that AI Gateway answers in a single step, the cf-aig-request-id, cf-aig-log-id, and cf-aig-event-id response headers now carry the same value. For provider and Universal requests, if you set your own cf-aig-event-id, AI Gateway returns it instead.

Existing log IDs do not change, and the logs API accepts both formats. Treat log IDs as opaque strings, and update any code that checks for the ULID format.

Originalquelle(öffnet in neuem Tab)Problem melden

Cloudflare AI von Cloudflare

OAuthResourceServer und weitere Helfer im Workers OAuth Provider

OAuthResourceServer veröffentlicht RFC-9728-Metadaten und weist Tokens für fremde Ressourcen ab, außerdem gibt es neue Helfer wie Sliding Refresh Token Expiry mit refreshTokenIdleTTL und purgeExpiredData(); bei den meisten 0.x-Deployments ist nur resourceMetadata: { resource } zu ergänzen.

[[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