← All IntelIntel / article
Elevenagents React Sdk V1 0
- Source
- elevenlabs.io
- Publisher
- ElevenLabs
- Author
- ElevenLabs editorial sitemap
- Date
Context
ElevenLabs' React SDK 1.0 lets a voice-interface component subscribe only to the conversation information it needs. The release explanation describes the previous problem: a component displaying connection status could render again when unrelated information, such as microphone mute state, changed.
The new hooks separate those subscriptions, so a status indicator need only respond to status changes. Developers can adopt them incrementally: the broader useConversation remains available, but the migration requires a ConversationProvider around the relevant components. This gives teams a way to reduce unnecessary interface updates without rewriting every consumer of conversation state at once.
Key takeaways · AI-distilled
- ElevenLabs rebuilt @elevenlabs/react-native as a thin layer over @elevenlabs/react, about 40 lines down from over a thousand, so web code runs on React Native with only an import change.
- Six granular hooks, such as useConversationStatus and useConversationInput, each subscribe to one slice of conversation state, so a component re-renders only when the data it reads changes.
- Internal Input and Output classes are now private; documented methods like setVolume and getInputByteFrequencyData replace raw browser audio primitives, so ElevenLabs can swap transports without breaking callers.
- useConversationClientTool registers agent-callable tools tied to a component's lifecycle: they register on mount, unregister on unmount and always use the latest closure value.
- The 1.0 upgrade is breaking: Conversation is no longer a class and useConversation now needs a ConversationProvider ancestor; ElevenLabs ships a to automate the migration.
Terms in this piece · Glossary
- agent hook — A script the harness runs automatically at a fixed point in an agent's loop — before a tool call, after an edit, on session start.
- Agent mode — A mode in which one agent can inspect, edit, run commands, and iterate toward an outcome.
- agent skill — A reusable instruction file that teaches an agent how to do one job well — the procedure, the tools, and what counts as done.
- Path — A description of a file or folder location, written using directory names and separators.
Read the source elevenlabs.io
Tools in this story
More from ElevenLabs editorial sitemap
Recommended reads
