Skip to content

[Agents] Document 0.21 telephony, chat transport, and URL builders - #32584

Draft
cjol wants to merge 1 commit into
productionfrom
docs/agents-0.21-release-surfaces
Draft

[Agents] Document 0.21 telephony, chat transport, and URL builders#32584
cjol wants to merge 1 commit into
productionfrom
docs/agents-0.21-release-surfaces

Conversation

@cjol

@cjol cjol commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents three surfaces added in Agents SDK 0.21 that had no docs coverage:

Area Change
Telephony Adds Plivo and Telnyx alongside the existing Twilio coverage, restructured by approach
Chat Documents WebSocketChatTransport from agents/chat/transport for non-React clients
Routing Documents buildAgentPath() and buildAgentUrl() for canonical Agent URLs

On the telephony restructure. The page previously had a ## Telephony (Twilio) section. Adding two more providers as sibling walkthroughs would have tripled a section that was already the densest on the page, so it is now organised by approach rather than by provider — Twilio and Plivo share one section because they are the same architecture (a server-side adapter terminating the provider's audio WebSocket in your Worker), while Telnyx is separate because it bridges WebRTC in the browser.

The section explains where call audio lands, the 8 kHz mulaw ↔ 16 kHz PCM conversion, the browser-credential constraint, and the WorkersAITTS MP3/PCM footgun. Runnable setup is deferred to the upstream examples via LinkCard, following the approach slack.mdx already takes for a channel with comparable provider-side configuration:

This keeps provider-specific wiring — XML attributes, JWT endpoint construction, application provisioning — in one place upstream rather than duplicated here where it would drift.

Documentation checklist

Adds Plivo and Telnyx telephony coverage, the framework-neutral
WebSocketChatTransport, and the buildAgentPath/buildAgentUrl helpers.

Telephony is organised by approach rather than by provider, with runnable
setup deferred to the upstream examples.
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:

Pattern Owners
/src/content/docs/agents/ @irvinebroque, @rita3ko, @elithrar, @cloudflare/product-owners, @cloudflare/ai-agents, @cloudflare/dev-plat-leads

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