Voice Chat Client

React hook for real-time voice conversations with ElevenLabs

Overview

@zooly/voice-chat-client is a pure React hook package that manages real-time voice conversation sessions with ElevenLabs Conversational AI. It handles microphone permissions, message accumulation, audio analysis, and conversation lifecycle.

Package Details

  • Package Name: @zooly/voice-chat-client
  • Location: packages/voice-chat/client
  • Type: React hook library (client-side, framework-agnostic)

Dependencies

  • @elevenlabs/react — ElevenLabs React SDK
  • @zooly/types — Shared types
  • @zooly/util — Shared utilities
  • react (peer) — React 18 or 19

Exports

  • useVoiceConversation — Main hook
  • UseVoiceConversationProps — Hook input type
  • UseVoiceConversationReturn — Hook output type
  • VoiceCallLogApi — API adapter interface

Further Reading

See the Voice Chat section for the full hook API reference and integration guide.