Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Add Talkscriber Plugin for LiveKit Agents
Overview
This PR introduces a new plugin that integrates Talkscriber's voice AI services into LiveKit Agents, providing both Speech-to-Text (STT) and Text-to-Speech (TTS) capabilities.
Features
Speech-to-Text (STT)
Text-to-Speech (TTS)
Configuration & Deployment
STT_SERVER_HOST,STT_SERVER_PORT,STT_SERVER_USE_SSLTTS_SERVER_HOST,TTS_SERVER_PORT,TTS_SERVER_USE_SSLTALKSCRIBER_API_KEYInstallation
Or with LiveKit Agents:
pip install "livekit-agents[talkscriber]"Usage Example
Technical Details
Dependencies
livekit-agents[codecs]>=1.2.14numpy>=1.26aiohttpwebsocketsloguruArchitecture
Testing
Files Changed
livekit-plugins/livekit-plugins-talkscriber/livekit/plugins/talkscriber/stt.py(629 lines)livekit/plugins/talkscriber/tts.py(657 lines)livekit/plugins/talkscriber/__init__.pylivekit/plugins/talkscriber/log.pylivekit/plugins/talkscriber/version.pypyproject.tomlREADME.mdCHANGELOG.mdpyproject.toml(added plugin to workspace)livekit-agents/pyproject.toml(added optional dependency)Breaking Changes
None - This is a new plugin addition.
Related Links
Checklist
This plugin expands LiveKit's voice AI capabilities by adding Talkscriber as a supported provider for both STT and TTS, giving developers more options for building real-time voice applications.