moonshine README

The project's README from github.com/moonshine-ai/moonshine. As one markdown file: README.md.

Moonshine Voice Logo

Moonshine Voice

Voice Interfaces for Everyone

Moonshine Voice is an open source AI toolkit for developers building real-time voice agents and applications.

Full guides, models, and API reference are at moonshine-voice.readthedocs.io.

Quickstart

pip install moonshine-voice
moonshine-voice mic --language en

Every other platform is covered in the Quickstart, with runnable samples in Examples.

Building with a coding agent? Copy .agents/skills/moonshine-voice/ into your project's .agents/skills/ folder, or run npx skills add moonshine-ai/moonshine --skill moonshine-voice. The skill teaches the current API shape so the agent does not reach for Whisper or the old DialogFlow names.

Documentation

Support

License

Licensed under the MIT License. The models are MIT by default too, in every language and at every size — the only exceptions are the legacy non-streaming models for languages other than English, which stay under the non-commercial Moonshine Community License and are enumerated in LICENSE.

moonshine (moonshine-ai/moonshine)

Searching Database…

11.3K ·GitHub
这是什么?Moonshine Voice 是一个开源 AI 工具包,用于构建实时语音智能体和交互界面,涵盖语音转文字、意图识别和文字转语音。
这是一个库,还是每个平台各自独立的 SDK?这是一个库,同一套 API 已移植到 Python、JavaScript/WASM、iOS、Android、macOS、Linux、Windows 和 Raspberry Pi 上。
我该怎么把它跑起来?按照 moonshine-voice.readthedocs.io 上的 Quickstart 指南操作即可,指南涵盖所有支持平台的安装步骤,并链接到可直接运行的示例。
使用它需要 API 密钥或账号吗?不需要——该库完全在本地设备上运行,所有支持的平台都无需账号或 API 密钥。
所有模型都可以免费用于商业用途吗?几乎所有模型都采用 MIT 许可证,但面向英语以外语言的旧版非流式模型则改用非商业用途的 Moonshine Community License。
没有网络连接也能用吗?可以。由于所有模型都在本地设备上运行,Moonshine 完全可以离线使用。
我的语音数据会传到哪里?不会发送到设备之外——所有处理都在运行该库的本地设备上完成,不会交给远程服务器。
Moonshine 的准确率和 Whisper 相比如何?它的语音转文字模型从零开始训练,据称准确率高于 Whisper Large V3,同时还提供适用于受限设备的仅 1MB 超小模型。
它为什么专门针对流式处理做了优化?它在用户还在说话时就开始转写,而不是等对方说完再处理,这正是实时语音界面能保持低延迟的原因。
我能把它接入 Claude Code 这类编程智能体吗?可以——把 .agents/skills/moonshine-voice/ 复制到你的项目中,或运行 'npx skills add moonshine-ai/moonshine --skill moonshine-voice',这样智能体就会使用当前 API,而不是默认套用 Whisper 或旧的 DialogFlow 名称。
除了转写,我还能用它做什么?除了语音转文字,它还包括意图识别和文字转语音,因此你可以端到端地构建完整的对话式语音智能体。
Size
488.9 MB
Stars
11.3K
Age
2y
Commits · 90 Days