开源的是 gadget SDK,不是 Muse
核对时间:2026-10-04 07:10(北京时间)。仓库 main 分支提交 693cde9,条款页 gadgets.muse.ai/sdk-terms。
结论: Meta 在 facebookincubator/muse-gadget-sdk 开源的是 Muse gadget 的 SDK 和固件,协议是 Apache-2.0,第三方文件除外(README · License)。但每个 gadget 都要有 SDK Token 才能配对(README),而 Token 受另一份条款约束:仅限个人、非商业使用;一个 Token 最多关联 50 台设备;不能嵌进出售、公开上架或用于促销的设备;Meta 可以收回(Gadget SDK Terms)。代码是开源的,接入 Muse 的资格不是。
一、开源的范围:SDK 和固件,Apache-2.0
README 原文:
We open sourced the SDKs and firmware here.
------ README.md
Muse Gadgets is licensed under the Apache License, Version 2.0, found in
LICENSE, except for these third-party files, which keep their upstream licenses
------ README.md · License
也就是说:仓库代码按 Apache-2.0 授权,README 列出的第三方文件保留各自的上游许可。
二、配对要 Token,而 Token 不在开源许可里
Every gadget needs a token to pair.
------ README.md
The source code license does not grant any right to Gadget SDK Tokens.
------ Gadget SDK Terms 第 7 条 "The SDK code"

三、两层规则对照
| Apache-2.0 代码 | Token 条款(50 台、不能卖、可收回) |
|---|---|
| 授予 "perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable" 的版权许可(LICENSE 第 2 条) | 只限 "personal, non-commercial use"(条款第 1 条) |
| 允许 "reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute"(LICENSE 第 2 条) | "A Token may be linked to no more than 50 total devices";不能嵌进出售的设备,不能嵌进公开宣传、公开上架(含任何市场或应用商店)的设备,也不能嵌进用于促销、奖励的设备;"Any other distribution requires Meta's prior written permission"(条款第 2 条) |
| README 列出的第三方文件不在此列,保留上游许可(README · License) | "Meta may suspend or withdraw your access to the Gadget SDK Tokens at any time"(条款第 6 条) |
注意第一行和第三行的对比:代码许可是 irrevocable(不可撤销) ,Token 是 随时可以收回。
四、往 Linux 机器上装之前,先读这两段原文
Commands run as the account you installed for, with exactly that account's permissions. If it can use sudo, so can Muse.
------ linux/README.md · What Muse can do
意思是:Muse 拿到的就是安装账号的全部权限。账号能 sudo,Muse 也能 sudo。
Because these are community devices, pairing has no manufacturer verification and can't prevent an active man-in-the-middle attack. Set it up on a network you trust.
------ linux/README.md · Set it up with Muse
意思是:社区设备配对时没有厂商校验,挡不住主动的中间人攻击,所以必须在可信网络里配对。
五、不用蓝牙、不用 Muse,也能先把测试跑起来
linux/README.md · Develop 给的测试命令(在 linux/ 目录下执行):
sh
uv run --with pytest --with . pytest
The tests run anywhere, with no Bluetooth or Muse needed.
------ linux/README.md · Develop
下一步
-
先跑测试,看看代码长什么样:
shgit clone https://github.com/facebookincubator/muse-gadget-sdk cd muse-gadget-sdk/linux uv run --with pytest --with . pytest -
真要装到机器上之前,先确认三件事:安装账号能不能 sudo(第四节第一段原文);配对只在可信网络里做(第四节第二段原文);把 Gadget SDK Terms 从头读完。