登录 注册
图像、视频与音频AI 模型与开发框架
11,489
Stars
1,066
Forks
104
Watchers
98
Open Issues
Apache-2.0
许可证
Python
语言
2024-08-07
创建时间
2026-09-09
最近更新

项目能做什么

语音-文本基座模型与全双工口语对话框架,采用前沿的流式神经音频编解码器 Mimi。
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
# Moshi: a speech-text foundation model for real time dialogue

![precommit badge](https://github.com/kyutai-labs/moshi/workflows/precommit/badge.svg)
![rust ci badge](https://github.com/kyutai-labs/moshi/workflows/Rust%20CI/badge.svg)

[[Read the paper]][moshi] [[Demo]](https://moshi.chat) [[Hugging Face]](https://huggingface.co/collections/kyutai/moshi-v01-release-66eaeaf3302bef6bd9ad7acd)

[Moshi][moshi] is a speech-text foundation model and **full-duplex** spoken dialogue framework.
It uses [Mimi][moshi], a state-of-the-art streaming neural audio codec.
[Talk to Moshi](https://moshi.chat) now in our live demo.

## Organisation of the repository

There are three separate versions of the Moshi inference stack in this repo.


- **[PyTorch](#pytorch-implementation): for research and tinkering.** The code is in the [`moshi/`](moshi/) directory.
- **[MLX](#mlx-implementation-for-local-inference-on-macos): for on-device inference on iPhone and Mac.** The code is in the [`moshi_mlx/`](moshi_mlx/) directory.
- **[Rust](#rust-implementation): for production.** The code is in the [`rust/`](rust/) directory.
    This contains in particular a Mimi implementation in Rust, with Python bindings available
    as `rustymimi`.

Finally, the code for the web UI client used in the [Moshi demo](https://moshi.chat) is provided in the [`client/`](client/) directory.

If you want to fine tune Moshi, head out to [kyutai-labs/moshi-finetune](https://github.com/kyutai-labs/moshi-finetune).

### Other Kyutai models

The Moshi codebase is also used to run related models from Kyutai that use a multi-stream architecture similar to Moshi:
- **Hibiki: simultaneous speech translation.** Check out the [Hibiki repo](https://github.com/kyutai-labs/hibiki) for more info.
- **Kyutai Text-To-Speech and Speech-To-Text.** Check out the [Delayed Streams Modeling repo](https://github.com/kyutai-labs/delayed-streams-modeling) for more info.

## Model architecture

Moshi models **two streams of audio**: one corresponds to Moshi speaking, and the other one to the user speaking.
Along with these two audio streams, Moshi predicts text tokens corresponding to its own speech, its **inner monologue**,
which greatly improves the quality of its generation.
A small Depth Transformer models inter-codebook dependencies for a given time step,
while a large, 7B-parameter Temporal Transformer models the temporal dependencies. Moshi achieves a theoretical latency
of 160ms (80ms for the frame size of Mimi + 80ms of acoustic delay), with a practical overall latency as low as 200ms on an L4 GPU.

<p align="center">
<img src="./moshi.png" alt="Schema representing the structure of Moshi. Moshi models two streams of audio:
    one corresponds to Moshi, and the other one to the user. At inference, the audio stream of the user is taken from the audio input, and the audio stream for Moshi is sampled from the model's output. Along that, Moshi predicts text tokens corresponding to its own speech for improved accur
阅读完整原文

商业机会分析 AI 生成

垂直场景实时语音AI Agent SaaS(如沉浸式英语口语外教/模拟面试)

产品构想基于Moshi的全双工特性和现成WebUI客户端,包装为特定垂直场景的实时语音对话服务,提供自然打断、语气感知与即时反馈能力。
核心功能实时全双工语音流对话、实时发音/语法纠错报告生成、对话场景预设与角色扮演、对话历史与回放评分。
目标用户语言学习者、求职备考人群、企业招聘HR部门(AI初筛初测)。
难度/周期中等偏高 · 1-2个月 · 成本:中等(需持续消耗L4/A10G等GPU进行推理解析,单卡月租约200-400美元)。
收费模式B2C按月/年订阅制(SaaS),或按实际通话时长充值(例如0.1-0.2美元/分钟)。
竞争风险7B基础大模型在通用事实问答上可能出现幻觉;GPU推流基础设施成本较高,若用户流失可能导致算力亏损。
依据 已验证事实

针对Apple生态(Mac/iOS)的离线端侧全双工语音助手应用

产品构想利用仓库中已包含的moshi_mlx实现,将其打包为面向macOS/iOS的原生桌面应用,提供完全离线、低延迟、注重隐私保护的语音伴侣。
核心功能MLX端侧实时运行、离线语音双工对话、系统快捷键即呼即用、本地知识库检索(RAG结合)、零数据外传保证。
目标用户Mac/iPhone重度用户、对数据隐私极其敏感的商务人士、独立AI极客。
难度/周期中等 · 3-5周 · 成本:低(主要为开发机器与Apple Developer账号费用,无需持续服务器GPU开销)。
收费模式买断制软件授权(App Store销售,例如19.99-49.99美元)或专业版高级功能升级包。
竞争风险对端侧硬件配置要求高(推测需要16GB+统一内存设备);模型大小可能导致应用包体积过大影响下载转化。
依据 数据支持的判断

低延迟企业私有化实时语音网关与技术部署集成服务

产品构想利用仓库内的Rust后端高性能实现与Docker配置,为需要呼叫中心、车载语音系统或医疗回访系统的企业提供端到端自建部署与定制微调服务。
核心功能企业专网Rust高并发推理集成、基于moshi-finetune的行业术语与音色微调、WebRTC/SIP协议对接转换网关。
目标用户智能座舱方案商、企业级呼叫中心、电信增值服务商、智能硬件厂商。
难度/周期高 · 2-3个月 · 成本:低(依托客户算力,主要为定制开发人力成本)。
收费模式企业项目制实施服务费(5万-20万人民币/项目)+ 年度运维技术支持费。
竞争风险企业销售周期长;Moshi的实时双流架构在复杂工业场景(如嘈杂环境、强噪音)下的鲁棒性尚需充分验证。
依据 尚需验证的假设
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
square/moshi 中文介绍暂未生成
A modern JSON library for Kotlin and Java.
10,166 Kotlin
wuseal/JsonToKotlinClass 中文介绍暂未生成
🚀 Plugin for Android Studio And IntelliJ Idea to generate Ko
3,182 Kotlin
PatilShreyas/Foodium 中文介绍暂未生成
🍲Foodium is a sample food blog Android application 📱 built
2,324 Kotlin
ZacSweers/CatchUp 中文介绍暂未生成
An app for catching up on things.
2,105 Kotlin
ansman/kotshi 中文介绍暂未生成
An annotation processor that generates Moshi adapters from i
765 Kotlin
afollestad/ason 中文介绍暂未生成
[DEPRECATED]: Prefer Moshi, Jackson, Gson, or LoganSquare
752 Java
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2024-08-07,最近推送 2026-09-09,发布过 2 个 Release
社区活跃Star 11,489 / Fork 1,066 / Issue 98(数据支持,可自行核实)
许可证Apache-2.0
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/kyutai-labs/moshi.git
cd moshi
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。