Cloudflare Agents SDK 0.32.0 rebuilds Agent Skills loading
Updated Cloudflare Agents SDK
Summary
Cloudflare agents 0.32.0 (October 29, 2026) replaces SkillRegistry with spec-checked skills from workspaces, R2 or code and adds OpenTelemetry spans.
- Category
- Frameworks
- Date
- Open source
- Yes
- License
- MIT
- MCP
- Yes
- Pricing
- Not stated in the sources we cited.
Cloudflare published agents 0.32.0 on October 29, 2026, two days after 0.31.0. It reached npm as latest the same day. GitHub releases for @cloudflare/think 0.23.0 and @cloudflare/codemode 0.5.6 went out with it. The headline is a breaking rewrite of Agent Skills. The rest is observability, smaller bundles and MCP SDK bumps.
Release facts
| Fact | Detail |
|---|---|
| Product | Cloudflare Agents SDK (npm agents) |
| Version | 0.32.0 |
| Release date | October 29, 2026 (GitHub release and npm) |
| Previous release | 0.31.0, October 27, 2026 |
| Shipped with | @cloudflare/think 0.23.0, @cloudflare/codemode 0.5.6 |
| License | MIT |
| Install | npm i agents@0.32.0 |
Check before upgrading
SkillRegistryis gone. UseloadSkillCatalog(), pluscreateSkillTools()fromagents/skills/tools/ai-sdk.runner()moved toagents/skills/runner. Theagents:skillsVite import andagents/skills/compilewere removed.- Skills are checked against the Agent Skills spec.
SKILL.mdfiles are validated, and skills that break a rule still load, with warnings. - Think changed too (0.23.0, breaking):
getSkills()sources reload every turn. An overriddengetSystemPrompt()now always renders above context blocks.skillWorkspaceand the"skill"context block type were removed. - Coming from 0.30 or earlier? 0.31.0 made
@modelcontextprotocol/sdkand@modelcontextprotocol/serveroptional peers. If you serve MCP, add them topackage.jsonor builds fail on an unresolved import.
What changed
- Skill sources:
agents/skillsloads skills from Cloudflare Computer workspace files (workspace()), R2 (r2()) or code (manifest()). - OpenTelemetry bridge (experimental):
experimental_registerOpenTelemetry()inagents/observabilityrecords spans from OpenTelemetry-instrumented libraries as Workers trace spans. SDK spans now set statuserroron failure where the runtime supportsSpan.setStatus(). - Smaller bundles: the package is marked side-effect free apart from the CLI, so
import { routeAgentRequest } from "agents"no longer bundles the MCP client. - MCP:
@modelcontextprotocol/clientandservergo to 2.4.0 and@modelcontextprotocol/sdkto 1.32.2.DurableObjectOAuthClientProvidergets aclientMetadataUrloption for OAuth Client ID Metadata Documents. - Other:
agents/models/pi-aiparses streamed tool-call arguments incrementally, and the TanStack AI peer range allows 1.x.
Questions
Should I upgrade now?
Upgrade now if you don't use agents/skills or Think skills, since the other changes are additive. If you do use them, budget time for the SkillRegistry migration and the Think prompt-order change.
What did 0.31.0 add?
Internal hostnames for Browser Run (up to eight per browser, served by your agent or another Worker), a browserTool that runs model code in its own Dynamic Worker, and stable agents/models/ai-sdk and agents/models/pi-ai.
Is this the Sandbox SDK? No. Sandboxes are a separate package. See the Cloudflare Sandbox SDK hub.
More: the Agents SDK hub, the frameworks category, and today's other launch, Crush 0.99.0.
Alternatives
| Tool | License | Pricing note |
|---|---|---|
Cloudflare Agents SDKThis launchCloudflare's MIT TypeScript SDK (npm: agents) for durable agents on Durable Objects, with state, scheduling, MCP, browser tools and harnesses. | MIT | The SDK is MIT and free on npm; agents run on Cloudflare Workers and Durable Objects, billed under Cloudflare's own plans. |
MastraTypeScript agent framework. Mastra Code is the terminal agent; AgentController is the extracted loop, in @mastra/core 1.47.0 or later. | Open source | Mastra Code and AgentController are announced as open source. No license fee is stated in the posts we cited. |
OpenAI AgentsOpenAI's agent harness, shipped as a Python SDK update in April 2026 and as the hosted Agents API in September 2026. | Open source | SDK and Agents API use standard token and tool pricing. The Agents API has no additional fee. |
Questions
What is the Cloudflare Agents SDK?
The npm package agents from cloudflare/agents. The docs say each agent is a Durable Object with a durable identity, local SQL storage, real-time connections, scheduled work and recoverable execution, and that you add capabilities such as State, WebSockets, Scheduler and an MCP client with .use().
Is the Cloudflare Agents SDK open source?
Yes. The GitHub API and npm both report the MIT license for cloudflare/agents and the agents package.
Which agent loops does it run?
The docs call the agent loop a harness and list Pi, OpenCode and Think. The getting-started guide uses the Pi harness through optional peer dependencies (@earendil-works/pi-durable and pi-ai), with Workers AI as the model so no API key is needed.
Can it serve or call MCP servers?
Both. agents/mcp and agents/mcp/server serve MCP, and agents/mcp/client connects to remote servers. Since 0.31.0 the MCP packages are optional peer dependencies you add yourself.
Filed on Agent Radar. Claims in this note are limited to the sources above.