Skip to content

chore(agents): mark Lifecycle, Scheduler, State, WebSockets and MCPClientManager stable - #2473

Merged
mattzcarey merged 1 commit into
mainfrom
chore/stabilize-lifecycle-docs
Oct 8, 2026
Merged

mattzcarey merged 1 commit into
mainfrom
chore/stabilize-lifecycle-docs

Conversation

@mattzcarey

@mattzcarey mattzcarey commented Oct 4, 2026 •

Copy link
Copy Markdown
Member

agents/lifecycle and the Scheduler, State, WebSockets and MCPClientManager capabilities are no longer experimental. This removes their @experimental tags and the matching banners in docs/, and reorganizes docs/agents/index.md around a Durable Object with a Lifecycle and capabilities, with Agent as one way to get a preset of them.

Surface Status
agents/lifecycle, Agent.lifecycle Stable
Scheduler (agents/schedules) Stable
State (agents/state) Stable
WebSockets (agents/websockets) Stable, except the Cap'n Web transport
MCPClientManager on a Lifecycle Stable
PiHarness Beta
Queue, Tasks, Streams, Sessions, RoutedAgents, Browser, dynamic agents Experimental
export class Assistant extends DurableObject<Env> {
  readonly mcp = new MCPClientManager("assistant", "1.0.0");
  readonly scheduler = new Scheduler({ callbacks: {} });
  readonly lifecycle = Lifecycle.install(this).use(this.mcp).use(this.scheduler);
}

The developers.cloudflare.com side is a stack of four docs PRs (cloudflare/cloudflare-docs#33974, #33975, #33976, #33977). They move the Agent class docs under /agents/agent-class/, rewrite the core pages around the Lifecycle, add a page per capability, and add a changelog entry.

@changeset-bot

changeset-bot Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3d019d9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
agents Patch
@cloudflare/agent-think Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 1 potential issue.

Devin Review

Comment on lines -5 to -6
*
* @experimental The WebSockets surface may change before stabilizing.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 Cap'n Web stability boundary is unclear

Cap'n Web remains experimental, but the stable WebSockets documentation presents both transports together without marking the exception. Its exported transport helpers also lack an experimental annotation. Mark the exception where users encounter the transport.

Devin Review


Was this helpful? React with 👍 or 👎 to provide feedback.

@agent-think

agent-think Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

✅ agents import sizes: no significant changes (a3d490ee → 3d019d92, workflow run)

@pkg-pr-new

pkg-pr-new Bot commented Oct 4, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

agents

npm i https://pkg.pr.new/agents@2473

@cloudflare/ai-chat

npm i https://pkg.pr.new/@cloudflare/ai-chat@2473

@cloudflare/codemode

npm i https://pkg.pr.new/@cloudflare/codemode@2473

hono-agents

npm i https://pkg.pr.new/hono-agents@2473

@cloudflare/shell

npm i https://pkg.pr.new/@cloudflare/shell@2473

@cloudflare/think

npm i https://pkg.pr.new/@cloudflare/think@2473

@cloudflare/voice

npm i https://pkg.pr.new/@cloudflare/voice@2473

@cloudflare/worker-bundler

npm i https://pkg.pr.new/@cloudflare/worker-bundler@2473

commit: 3d019d9

@mattzcarey
mattzcarey force-pushed the chore/stabilize-lifecycle-docs branch from 0f803af to 3d019d9 Compare October 8, 2026 21:33
@mattzcarey
mattzcarey merged commit 6614955 into main Oct 8, 2026
16 checks passed
@mattzcarey
mattzcarey deleted the chore/stabilize-lifecycle-docs branch October 8, 2026 21:49
@github-actions github-actions Bot mentioned this pull request Oct 8, 2026
brandhaug added a commit to brandhaug/b2b-saas-starter that referenced this pull request Oct 12, 2026
## pnpm-workspace.yaml (default)

## Dependency Updates

| Package | From | To | Type |
| --- | --- | --- | --- |
| `agents` | 0.27.0 | 0.28.0 | minor |

## Release Notes

<details>
<summary><b>agents</b> (0.27.0 → 0.28.0)</summary>

This release adds two new tools, `browser` via
`agents/browser/{pi,ai-sdk,tanstack-ai}` allowing an agent to create and
manipulate a persistent browser session and `web_fetch` via
`agents/webfetch/{pi,ai-sdk,tanstack-ai}` that can retrieve most
document formats converted into markdown.

### Minor Changes

- [#2484](cloudflare/agents#2484)
[`dedbee4`](cloudflare/agents@dedbee4)
Thanks [@<!---->ben-reitz](https://github.com/ben-reitz)! - Add
`browserTool()` to `agents/browser/pi`. See [Persistent
browser](https://github.com/cloudflare/agents/blob/main/docs/agents/browse-the-web.md#persistent-browser).

- [#2473](cloudflare/agents#2473)
[`6614955`](cloudflare/agents@6614955)
Thanks [@<!---->mattzcarey](https://github.com/mattzcarey)! - Make
`agents/lifecycle` stable along with the `Scheduler`
(`agents/schedules`), `State` (`agents/state`), `WebSockets`
(`agents/websockets`) and `MCPClientManager` (`agents/mcp/client`)
capabilities. See
[Lifecycle](https://github.com/cloudflare/agents/blob/main/docs/agents/lifecycle.md).

### Patch Changes

- [#2540](cloudflare/agents#2540)
[`b65956e`](cloudflare/agents@b65956e)
Thanks [@<!---->mattzcarey](https://github.com/mattzcarey)! -
`ThinkHarness` now keeps its sessions and operations in the shared
`agents/harness/store`. Migrations are performed on first run. See
[ThinkHarness:
Recovery](https://github.com/cloudflare/agents/blob/main/docs/agents/harnesses/think.md#recovery).

- [#2522](cloudflare/agents#2522)
[`bcf5d20`](cloudflare/agents@bcf5d20)
Thanks [@<!---->ben-reitz](https://github.com/ben-reitz)! - Add
`agents/webfetch`, a `web_fetch` tool that reads a URL as Markdown,
JSON, or text (HTML, PDF, and Offi

…[full
notes](https://github.com/cloudflare/agents/releases/tag/agents%400.28.0)

</details>

---
*This PR was auto-generated by
[catalog-update-action](https://github.com/brandhaug/catalog-update-action).*

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant