Skip to content

docs(x402): deprecate x402 integration - #2000

Merged
ben-reitz merged 5 commits into
mainfrom
issue-1989-deprecate-x402
Jul 30, 2026
Merged

ben-reitz merged 5 commits into
mainfrom
issue-1989-deprecate-x402

Conversation

@ben-reitz

@ben-reitz ben-reitz commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Why

Cloudflare Monetization Gateway moves payment enforcement outside application code, so new Agents projects should not be guided toward handling payments inside their Worker.

What

  • Deprecate and feature-freeze agents/x402 while preserving existing behaviour.
  • Add IDE and runtime guidance pointing users to Monetization Gateway.
  • Remove x402 examples and playground promotion to avoid recommending origin-side payment handling.

Closes #1989


Open in Devin Review

@changeset-bot

changeset-bot Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 6668e60

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: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@cjol cjol left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

CI notwithstanding, this seems good

@pkg-pr-new

pkg-pr-new Bot commented Jul 30, 2026

Copy link
Copy Markdown

Open in StackBlitz

agents

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

@cloudflare/ai-chat

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

@cloudflare/codemode

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

create-think

npm i https://pkg.pr.new/create-think@2000

hono-agents

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

@cloudflare/shell

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

@cloudflare/think

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

@cloudflare/voice

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

@cloudflare/worker-bundler

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

commit: 6668e60

@ben-reitz
ben-reitz merged commit a68736f into main Jul 30, 2026
14 checks passed
@ben-reitz
ben-reitz deleted the issue-1989-deprecate-x402 branch July 30, 2026 13:03
@github-actions github-actions Bot mentioned this pull request Jul 30, 2026
mattzcarey added a commit that referenced this pull request Aug 3, 2026
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.

Integrate with Monetization Gateway through x402

2 participants