homeguild_voice_kit 0.1.0 copy "homeguild_voice_kit: ^0.1.0" to clipboard
homeguild_voice_kit: ^0.1.0 copied to clipboard

Voice conversation orchestration for Flutter. Pluggable STT/TTS providers with a complete state machine, sentence buffering, and ready-made widgets.

homeguild_voice_kit #

Voice conversation orchestration for Flutter. Plug in any STT and TTS provider, connect your backend, and get a complete voice AI experience with a battle-tested state machine, streaming sentence buffering, and ready-made widgets.

Part of Voice Kit by HomeGuild Labs.

Features #

  • VoiceConversationManager — orchestrates the full voice loop: listen, transcribe, send to backend, speak response
  • Pluggable providersSTTProvider, TTSProvider, and VoiceStreamAdapter abstract interfaces
  • State machine — idle, listening, processing, speaking with automatic transitions and interrupt handling
  • Sentence buffering — streams partial sentences to TTS as they arrive (on . ? ! or length threshold)
  • Filler word cleanup — strips "um", "uh", "like", "you know" (configurable)
  • Tool announcements — speaks status messages during tool calls
  • Ready-made widgetsVoiceInputButton, VoiceStatusIndicator, VoiceTranscriptDisplay

Quick Start #

import 'package:homeguild_voice_kit/homeguild_voice_kit.dart';
import 'package:homeguild_voice_deepgram/homeguild_voice_deepgram.dart';
import 'package:homeguild_voice_openai_tts/homeguild_voice_openai_tts.dart';

final manager = VoiceConversationManager(
  sttProvider: DeepgramSTTProvider(apiKey: 'YOUR_DEEPGRAM_KEY'),
  ttsProvider: OpenAITTSProvider(apiKey: 'YOUR_OPENAI_KEY'),
  streamAdapter: MyBackendAdapter(),
);

await manager.startConversation(context: {'agent': 'support'});

Writing Your Own Provider #

Implement STTProvider, TTSProvider, or VoiceStreamAdapter to integrate any service. See the full documentation for examples.

License #

MIT — see LICENSE.


Built by HomeGuild Labs — powering AI voice assistants for service professionals.

0
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publisherhomeguild.ai

Weekly Downloads

Voice conversation orchestration for Flutter. Pluggable STT/TTS providers with a complete state machine, sentence buffering, and ready-made widgets.

Homepage
Repository (GitHub)
View/report issues

Topics

#voice #stt #tts #ai #speech

License

MIT (license)

Dependencies

flutter, logging

More

Packages that depend on homeguild_voice_kit