Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

On this pageOverview

September 10, 2026

@deepgram/react 0.2.0 adds runtime Voice Agent controls and makes React session lifecycle handling safer. The release updates the React layer for @deepgram/agents 0.1.2 and @deepgram/sdk 5.9.0.

Use sendAgentMessage() to inject an agent message with "default", "queue", or "interrupt" behavior. Use updateListen(), updateThink(), updateSpeak(), and updatePrompt() to change supported agent settings during a session.

The provider and standalone hook now expose typed callbacks for protocol notifications, including confirmations for each runtime settings update. useAgentMode() and useDeepgramAgent() also expose the "thinking" mode and isThinking state.

Start, stop, reconnect, and React StrictMode handling now clean up canceled or failed microphone, playback, and client-tool resources. Automatic start failures call onSdkError, or console.error when no callback is set. A manual start() call rejects instead.

This is a 0.2.0 release. Update exhaustive AgentMode switches to handle "thinking"; public context and hook result types add required members; registerClientTool() returns an unsubscribe function; and useDeepgramAgent().start() starts a fresh session and clears conversation.

See React Hooks & Provider and the migration guide for API details and upgrade examples.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu