Example URL(s)
Actual Behavior
Hey! π I'm following the Realtime Agents getting started guide and running into an issue.
Error: failed to start pipeline
What I've done:
β
Deployed the Worker successfully
β
Set all 4 secrets: ACCOUNT_ID, API_TOKEN (Realtime Admin scope), DEEPGRAM_API_KEY, ELEVENLABS_API_KEY
β
Added nodejs_compat flag, AI binding, Durable Object + migrations in wrangler.jsonc
β
Joined the meeting myself before calling /init
β
Generated two separate authTokens (one for me, one for the agent)
β
Tested Deepgram and ElevenLabs API keys directly β both return 200 OK
β
ACCOUNT_ID is the Cloudflare Account ID
Curl command:
curl -X POST "https://.workers.dev/init?meetingId=" -H "Authorization: Bearer "
Log error:
{ "message": "failed to start pipeline", "exception": { "name": "Error", "message": "failed to start pipeline" } }
Is this a known issue with the experimental Realtime Agents SDK? Any idea what could be causing this? Thanks!
Expected Behavior
Calling this.initPipeline() with valid credentials (Cloudflare Account ID,
Realtime Admin API Token, Deepgram API Key, ElevenLabs API Key, and a valid
RealtimeKit authToken) should successfully initialize the agent pipeline and
allow the agent to join the meeting via RealtimeKitTransport.
The agent should then:
- Connect to the RealtimeKit meeting
- Start transcribing audio using DeepgramSTT
- Process transcripts via the TextComponent
- Speak responses using ElevenLabsTTS
- Return HTTP 200 from the /init endpoint
Additional information
No response
Example URL(s)
Actual Behavior
Hey! π I'm following the Realtime Agents getting started guide and running into an issue.
Error: failed to start pipeline
What I've done:
β Deployed the Worker successfully
β Set all 4 secrets: ACCOUNT_ID, API_TOKEN (Realtime Admin scope), DEEPGRAM_API_KEY, ELEVENLABS_API_KEY
β Added nodejs_compat flag, AI binding, Durable Object + migrations in wrangler.jsonc
β Joined the meeting myself before calling /init
β Generated two separate authTokens (one for me, one for the agent)
β Tested Deepgram and ElevenLabs API keys directly β both return 200 OK
β ACCOUNT_ID is the Cloudflare Account ID
Curl command:
curl -X POST "https://.workers.dev/init?meetingId=" -H "Authorization: Bearer "
Log error:
{ "message": "failed to start pipeline", "exception": { "name": "Error", "message": "failed to start pipeline" } }
Is this a known issue with the experimental Realtime Agents SDK? Any idea what could be causing this? Thanks!
Expected Behavior
Calling
this.initPipeline()with valid credentials (Cloudflare Account ID,Realtime Admin API Token, Deepgram API Key, ElevenLabs API Key, and a valid
RealtimeKit authToken) should successfully initialize the agent pipeline and
allow the agent to join the meeting via
RealtimeKitTransport.The agent should then:
Additional information
No response