The challenge
Scripted NPC dialogue felt flat and repetitive, and writing branching lines for every interaction was endless.
Real-time voice interaction was the dream but felt unreachable.
The solution
The team embedded voice into their own app via the MyChatBot Web Voice SDK:
- Voice inside the app, the MyChatBot Web Voice SDK adds inbound (WebRTC) and outbound (Twilio/SIP) calls with a few lines of JS.
- Own voice and instructions, each AI voice agent gets its own voice, language and prompt, fully under the team's control.
- Client-side tools, the agent calls the app's own functions mid-call, navigating the UI, searching, booking, updating records.
- Persistent callers, defaultCallerId keeps a stable identity across sessions, so context follows the user.
- Scales with usage, minute bundles and per-minute overage mean the same SDK serves a prototype and a production app.
A voice-driven NPC prototype shipped in a week and average session length rose 33%.
What was deployed
Agents used
Voice Agent (SDK)Client Tools
Channels connected
Web Voice SDKWebRTCTwilio/SIP
"Players talk to characters and the characters talk back, live."
Maksym Dorosh
Game Director
Ship something like this
Set up your first AI agent in 10 minutes. No credit card needed.
Start free trial