# @deepgram/react 0.2.0: @deepgram/react 0.2.0 adds runtime Voice Agent controls and makes React session lifecycle…

By Steven Van · 2026-09-10

Version 0.2.0 adds live runtime controls for Voice Agent sessions and safer start, stop, and reconnect handling in React.

The React package for [Deepgram](<https://creatorstoolbox.com/tools/deepgram>)'s Voice Agent API now lets developers change a connected session at runtime instead of recreating the provider. Version 0.2.0 also updates the package for @deepgram/agents 0.1.2 and @deepgram/sdk 5.9.0.

- sendAgentMessage() injects a message into the agent with "default", "queue", or "interrupt" behavior.

- updateListen(), updateThink(), updateSpeak(), and updatePrompt() change agent settings mid-session, with typed callbacks confirming each update.

- useAgentMode() and useDeepgramAgent() now expose a "thinking" mode and an 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 log to the console if no callback is set, and a manual start() call now rejects instead. The [migration guide](<https://github.com/deepgram/react/blob/main/MIGRATION.md>) notes this is a breaking release: exhaustive AgentMode switches must handle "thinking", typed context and hook result types add required members, registerClientTool() now returns an unsubscribe function, and useDeepgramAgent().start() clears conversation before starting a fresh session.

[![](<https://opengraph.githubassets.com/4c6e3f28b290375bd3e3dcc98b9770f24c847083e28ca70f6ef898a4daef57fd/deepgram/react>)](<https://github.com/deepgram/react/blob/main/MIGRATION.md>)

![Deepgram](<https://www.google.com/s2/favicons?domain=deepgram.com&sz=128>)

Deepgram

Power enterprise voice solutions with Deepgram’s Speech-to-Text, Text-to-Speech, and Voice Agent APIs. Real-time, accurate, and built for scale.

[View Deepgram →](<https://creatorstoolbox.com/tools/deepgram>)

Sources

[Original source](<https://github.com/deepgram/react/blob/main/MIGRATION.md>)

[Read @deepgram/react 0.2.0: @deepgram/react 0.2.0 adds runtime Voice Agent controls and makes React session lifecycle… on Creators Toolbox](<https://creatorstoolbox.com/blog/deepgram-deepgram-react-0-2-0-deepgram-react-0-2-0-adds-runtime-voice-agent-con>)

---
Canonical source: https://creatorstoolbox.com/blog/deepgram-deepgram-react-0-2-0-deepgram-react-0-2-0-adds-runtime-voice-agent-con
