Put a Deepgram Voice Agent on Any Web App in Minutes
Blog post from Deepgram
The Browser Agent SDK offers a streamlined solution for integrating Deepgram voice agents into web applications through four npm packages, enabling developers to move from a simple widget to comprehensive, framework-agnostic control. This SDK facilitates the deployment of voice agents on web pages by handling complex browser-side tasks such as microphone capture, audio buffering, and reconnection logic, thus eliminating the need for developers to manage these intricacies themselves. It supports various frameworks like React, Vue, Svelte, and vanilla JavaScript, and provides production-grade audio capabilities out of the box, ensuring reliable performance with features like exponential backoff for reconnections and KeepAlive heartbeats to avoid idle disconnections. The SDK's design allows for quick initial setup and extensive customization over time, enabling users to start with a basic widget and progressively adopt more advanced features without needing to switch platforms.