asiff00/On-Device-Speech-to-Speech-Conversational-AI

This is an on-CPU real-time conversational system for two-way speech communication with AI models, utilizing a continuous streaming architecture for fluid conversations with immediate responses and natural interruption handling.

52
/ 100
Established

Implements a modular multi-threaded pipeline combining Pyannote VAD, Whisper speech recognition, Ollama/LM Studio language models, and Kokoro TTS—all locally on CPU. Uses priority-based text chunking that streams TTS output as language model tokens arrive, and strategically injects filler words into LLM prompts to reduce perceived latency by 50-70%. Achieves ~1.5s end-to-end response time on mid-range hardware through queue-based inter-component coordination and user interrupt handling.

242 stars.

No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 20 / 25

How are scores calculated?

Stars

242

Forks

43

Language

Python

License

MIT

Last pushed

Nov 24, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/voice-ai/asiff00/On-Device-Speech-to-Speech-Conversational-AI"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.