Skip to content

[Agents] Import voice from agents/voice - #34738

Merged
mattzcarey merged 1 commit into
productionfrom
docs/agents-voice-subpath
Oct 29, 2026
Merged

mattzcarey merged 1 commit into
productionfrom
docs/agents-voice-subpath

Conversation

@mattzcarey

Copy link
Copy Markdown
Member

Voice docs now import from agents/voice, agents/voice/react and agents/voice/client, and install agents instead of @cloudflare/voice. The voice reference gets a short migration note mapping each old import to its replacement. This covers the voice reference, the voice agent example and the AI Search voice tutorial.

Voice moved into the agents package in 0.23.0 (cloudflare/agents#2225). @cloudflare/voice is now a deprecated compatibility package that forwards to agents/voice. Provider packages (@cloudflare/voice-*) are still separate and are unchanged here. The import changes are taken from #34725, which can drop them once this merges.

prettier --check passes on the changed files.

@mattzcarey
mattzcarey requested a review from a team as a code owner October 29, 2026 17:08
@github-actions github-actions Bot added product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. product:ai-search labels Oct 29, 2026
@cloudflare-docs-bot

cloudflare-docs-bot Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

AI Review

✅ Reviewed 7bbeafe · 1 finding · incremental

👉 Fix in your agent 👈
Fix the following review findings in PR #34738 (https://github.com/cloudflare/cloudflare-docs/pull/34738).

Before making changes, review each finding and present a brief summary table:
- For each finding, state whether you agree, disagree, or need clarification.
- If you disagree, explain why.
- If you need clarification before deciding, ask those questions.
- Then share your plan for which issues to tackle and in what order.

After triaging, follow this order:
1. Post a comment on this PR for any findings you are skipping, with the finding ID and your reasoning.
2. Then commit the fixes for the legitimate findings.

The comment must come before the commit because the next review reads PR comments.

## Style Guide
- S-1b535850 | src/content/docs/agents/agent-class/communication-channels/voice.mdx:61 | Use PackageManagers for install-only sh block
  The added ` ```sh ` block contains only the package-manager install command `npm install agents`. Per the code-blocks rule, blocks containing only install commands should use the `<PackageManagers>` component instead of a bare fence.

Style Guide

  • src/content/docs/agents/agent-class/communication-channels/voice.mdx:61 · Use PackageManagers for install-only sh block

    The added ```sh block contains only the package-manager install command npm install agents. Per the code-blocks rule, blocks containing only install commands should use the &lt;PackageManagers&gt; component instead of a bare fence.

Commands
  • /review Run a review now.
  • /full-review Review the entire PR diff.
  • /disable-auto-review Stop automatic reviews.
  • /rebase Rebase against production.

@mattzcarey
mattzcarey enabled auto-merge October 29, 2026 17:15
@cloudflare-workers-and-pages

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview URL: https://docs-agents-voice-subpath.previews.developers.cloudflare.com (commit 7bbeafe)

This URL reflects your latest Preview deployment

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Success ✅
  • Deployment: Success ✅

View logs ↗
https://0636b4b8.previews.developers.cloudflare.com 7bbeafe 2026-10-29T17:18:42.798Z Visit the dashboard ↗

@mattzcarey
mattzcarey added this pull request to the merge queue Oct 29, 2026
Merged via the queue into production with commit e452da8 Oct 29, 2026
17 checks passed
@mattzcarey
mattzcarey deleted the docs/agents-voice-subpath branch October 29, 2026 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:agents Build and deploy AI-powered Agents on Cloudflare that can act autonomously. product:ai-search size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants