Open-source tool that translates video into another language, with speech recognition, subtitle translation, AI dubbing and audio-video synthesis.
moonshine-ai/moonshine
Open source on-device toolkit for speech-to-text, intent recognition and text-to-speech, aimed at real-time voice agents and apps.
Open-source alternative to:Whisper
- Stars
- 11,260
- Forks
- 620
- Open issues
- 12
- Last commit
- 18 days ago
What is it?
Moonshine Voice is an open source AI toolkit for building real-time voice agents and applications. It runs entirely on-device, so it needs no account or API keys and keeps audio local.
The speech-to-text models are trained from scratch and range from small models around 1MB for constrained devices up to larger models aimed at higher accuracy. The library is designed for live streaming, doing work while the user is still speaking to reduce response latency. It provides one API across Python, JavaScript/WASM, iOS, Android, macOS, Linux, Windows and Raspberry Pi.
The project also covers intent recognition and text-to-speech, and includes a coding-agent skill that teaches assistants the current API. Models are MIT licensed by default, with a few legacy non-English models under a non-commercial license.
Key features
- 01Speech-to-text models trained from scratch, from very small to higher-accuracy sizes.
- 02Live streaming transcription that starts processing while the user is still talking.
- 03Runs fully on-device with no account or API keys required.
- 04Single library across Python, JavaScript/WASM, iOS, Android, desktop and Raspberry Pi.
- 05Includes intent recognition and text-to-speech for voice interfaces.
Use cases
- Adding voice commands to a mobile or desktop app without sending audio to a cloud service.
- Building a voice agent that responds quickly while the user is still speaking.
- Running speech recognition on small embedded devices such as Raspberry Pi.
Quick start
- 1
Install the Python package
pip install moonshine-voice - 2
Run live microphone transcription in English
moonshine-voice mic --language en - 3
For other platforms, follow the Quickstart guide
Things to know
- Legacy non-streaming models for languages other than English use a non-commercial license.
Topics
FAQ
- What is moonshine?
- Open source on-device toolkit for speech-to-text, intent recognition and text-to-speech, aimed at real-time voice agents and apps. Moonshine Voice is an open source AI toolkit for building real-time voice agents and applications. It runs entirely on-device, so it needs no account or API keys and keeps audio local.
- Is moonshine free to use? What license does it have?
- moonshine is open source under the Other license. Check the license terms before using it in commercial products.
- Is moonshine still maintained?
- Actively maintained. The last commit to moonshine was on Oct 2, 2026.
- What can I use moonshine for?
- Adding voice commands to a mobile or desktop app without sending audio to a cloud service. Building a voice agent that responds quickly while the user is still speaking. Running speech recognition on small embedded devices such as Raspberry Pi.
- How do I install moonshine?
- Install the Python package: pip install moonshine-voice Run live microphone transcription in English: moonshine-voice mic --language en For other platforms, follow the Quickstart guide
- Where can I get moonshine?
- The source code and installation instructions are on GitHub: https://github.com/moonshine-ai/moonshine
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Open-source Python framework for building real-time voice and multimodal AI agents, with pluggable speech, LLM, and transport services.
Open-source voice AI family from Microsoft, with long-form speech recognition (ASR), multi-speaker text-to-speech (TTS), and real-time streaming TTS models.
NVIDIA's open-source toolkit for building, fine-tuning and deploying speech AI models, covering speech recognition (ASR), text-to-speech (TTS) and speech LLMs.
Offline speech toolkit using onnxruntime for speech recognition, text-to-speech, VAD, diarization and more, across many platforms and languages.
Soprano is an ultra-lightweight, on-device text-to-speech model with CUDA, CPU and MPS support and streaming output.