# Repository Briefing: moonshine-ai/moonshine
> Source: https://repoforai.com/repo/moonshine-ai/moonshine (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/moonshine-ai/moonshine
- **Official Docs / Website**: https://moonshine.ai
- **Category**: Voice, Vision & Video (语音 / 视觉 / 视频生成)
- **Primary Language**: C++
- **License**: See repository
- **Engineering Health**: B+ (75/100 · Maintenance 31/35 · Adoption 18/25 · Releases 20/20 · License 6/20)
- **Latest Release**: v0.1.6 (2026-11-06) — https://github.com/moonshine-ai/moonshine/releases
- **Review Snapshot**: 2026-12-01
- **Deployment / Stack Signals**: Local AI, CLI
- **Momentum**: 11,660 ★ total (+5 24h / +48 7d) · 672 forks
- **Topics**: `intent-recognition`, `stt`, `tts`, `voice`, `voice-recognition`
- **When to Use**: Best for: Voice commands, live transcription, and embedded voice agents that need local audio processing or can’t rely on network access. Skip if: You need a turnkey hosted endpoint, a language missing from a required speech stage, or guaranteed performance on hardware you cannot test.

## Overview
```text
### Architecture & Core Mechanics
Moonshine Voice is a C++ toolkit for embedding speech recognition, intent recognition, and speech synthesis in voice applications. The repository separates `core/`, `language-bindings/`, and `examples/`, with a separate `micro/` area for small speech recognition models. The integration surface includes a C API and platform bindings, so embedding the runtime does not require deploying a separate inference service.

For live input, streaming transcription begins processing audio while the user is still speaking rather than waiting for a complete utterance. Applications can use recognition, intent handling, and synthesis as building blocks for a voice interaction. The package and CLI give Python users a concrete starting point, but the native inference dependencies, accelerator backends, and plugin interfaces are not established here. Check the target binding before assuming that event behavior or feature availability is identical across platforms.

### Key Capabilities & Differentiators
The speech recognition lineup uses Moonshine models trained from scratch, including models as small as 1 MB in `micro/`. That figure is useful for distribution planning, not for sizing runtime memory or judging accuracy. Speech-to-text covers English, Spanish, German, Mandarin, Japanese, Korean, Vietnamese, Tagalog, Ukrainian, and Arabic. Text-to-speech covers English, Spanish, Arabic, German, French, Hindi, Italian, Japanese, Korean, Dutch, Portuguese, Russian, Turkish, Ukrainian, Vietnamese, and Mandarin.

Treat language coverage as a deployment constraint rather than a single multilingual feature flag: French and Hindi are available for synthesis but not in the listed recognition set; Tagalog appears only on the recognition side. Intent recognition is also part of the toolkit, but its support should not be inferred from either language list. For live use, evaluate transcription update timing, finalization delay, and accuracy on representative microphones, accents, and background noise; no fixed latency or hardware requirement is established.

### Trade-offs & Limitations
Compared with the hosted Whisper API for transcription or ElevenLabs for synthesis, Moonshine takes the network and hosted inference account out of the runtime path. That is useful when audio needs to stay on-device or connectivity is unreliable. The trade-off is that you own model distribution, compatibility, updates, and performance on the slowest supported device. Hosted alternatives are worth considering if offloading that work matters more than local execution.

Do not use the 1 MB artifact size as a proxy for RAM, CPU load, or latency. Profile the selected model and language on the actual device, and test simultaneous recognition and synthesis if the product allows users to interrupt playback. The repository has a `LICENSE` file, but no license identifier or model terms are established here. Verify both SDK and model redistribution rights before committing to commercial packaging.

### Hardware & Deployment Guide
For a Python smoke test, install `pip install moonshine-voice` and run `moonshine-voice mic --language en` on a device with microphone access. Integration paths also cover JavaScript/WASM, iOS, Android, macOS, Linux, Windows, and Raspberry Pi. Use the platform quickstart and runnable samples to check packaging, required permissions, and microphone behavior on the intended target.

Inference runs on the device without a service account or API key. For an offline rollout, verify model provisioning separately from inference: pre-stage the required assets and test startup and use with networking disabled. The release sequence shown is v0.1.3, v0.1.5, and v0.1.6, with v0.1.6 the latest listed. The entries do not establish feature changes or compatibility guarantees, so pin the tested SDK version and rerun integration tests before an upgrade.
```

## Key Capabilities
```text
- Streaming: Starts processing speech before the speaker finishes, reducing work left at the end of an utterance.
- Runtime: C++ codebase with a C API and bindings for Python, JavaScript/WASM, and native platforms.
- Model footprint: The micro/ subdirectory covers speech recognition models as small as 1 MB on disk.
- Language coverage: 10 speech-to-text languages and 16 text-to-speech languages, with different sets for each task.
- Integration: The SDK covers speech recognition, intent recognition, and synthesis; examples/ provides runnable integration samples.
- CLI: `moonshine-voice mic --language en` exercises live English microphone transcription after installing the Python package.
```

## Quick Start / Clone
```bash
pip install moonshine-voice
moonshine-voice mic --language en
```
