Agent
This guide covers the changes needed when upgrading from AI SDK v5 to v6 with @cloudflare/ai-chat.
Agent
This guide covers the changes needed when upgrading from AI SDK v5 to v6 with @cloudflare/ai-chat.
Agent
Agents emit structured events for every significant operation — RPC calls, state changes, schedule execution, workflow transitions, MCP connections, and more. These events are published to diagnostics channels and are silent by default (zero overhead when nobody is listening).
Agent
Send browser push notifications from your agent — even when the user has closed the tab. By combining the agent's persistent state (for storing push subscriptions), scheduling (for timed delivery), and the Web Push API, you can reach users who are completely offline.
Agent
The Agents SDK provides a built-in queue system that allows you to schedule tasks for asynchronous execution. This is particularly useful for background processing, delayed operations, and managing workloads that don't need immediate execution.
Agent
Readonly connections restrict certain WebSocket clients from modifying agent state while still letting them receive state updates and call non-mutating RPC methods.
Agent
The AIChatAgent class provides automatic resumable streaming out of the box. When a client disconnects and reconnects during an active stream, the response automatically resumes from where it left off.
Agent
Retry failed operations with exponential backoff and jitter. The Agents SDK provides built-in retry support for scheduled tasks, queued tasks, and a general-purpose this.retry() method for your own code.
Agent
This guide explains how requests are routed to agents, how naming works, and patterns for organizing your agents.
Agent
Schedule tasks to run in the future — whether that's seconds from now, at a specific date/time, or on a recurring cron schedule. Scheduled tasks survive agent restarts and are persisted to SQLite.
Agent
Model Context Protocol servers, like every other web application, need to be secured so they can be used by trusted users without abuse. The MCP spec uses the OAuth 2.1 standard for authentication between MCP clients and servers.
Agent
Send messages and trigger LLM responses from the server without a human action. Use this for scheduled follow-ups, queue processing, email-triggered responses, and autonomous agent workflows.
Agent
The Session API provides persistent conversation storage for agents, with tree-structured messages, context blocks, compaction, full-text search, and AI-controllable tools. By default it uses Durable Object SQLite; external Postgres storage is also available for apps that need shared database access, analytics, or…
Agent
Agents provide built-in state management with automatic persistence and real-time synchronization across all connected clients.
Agent
Sub-agents are child Durable Objects colocated under a parent agent. Each sub-agent has its own isolated SQLite storage and its own WebSocket connections, but shares the parent's machine and is spawned, listed, and torn down through the parent. Clients reach a sub-agent directly via a nested URL; inside an agent…
Agent
Receive webhook events from external services and route them to dedicated agent instances. Each webhook source (repository, customer, device) can have its own agent with isolated state, persistent storage, and real-time client connections.
Agent
Integrate Cloudflare Workflows with Agents for durable, multi-step background processing while Agents handle real-time communication.
Skill Claude CodeCodex
Create a systematic debugging plan for a bug report. Use when the user asks how to investigate a failure, regression, or unexpected behavior.
Skill Claude CodeCodex
Rewrite or answer in a playful pirate voice. Use when the user asks for pirate tone, nautical phrasing, or says to talk like a pirate.
Skill Claude CodeCodex
Draft short release notes from a list of changes. Use when the user asks for changelogs, release notes, or a concise product update.
Skill Claude CodeCodex
Produce a focused test plan for a change. Use when the user asks how to test a feature, what cases to cover, or for a QA checklist before shipping.
Skill Claude CodeCodex
Summarize the files saved in this assistant's shared workspace. Use when the user asks what is in their workspace, for a file inventory, or a digest of saved work.
Agent
The core Agents SDK, published to npm as agents. This is the most complex package in the monorepo.
Instructions file CodexOpenCode
Instructions for cloudflare/vibesdk, covering agents.md, tooling, verification, frontend ui and frontend data fetching.
Instructions file
Instructions for cloudflare/vibesdk, covering claude.md, communication style, project overview, key architectural patterns and common development tasks.