# Muse Code

Muse Code 是 Meta 推出的终端编程智能体，于 2026 年 8 月发布测试版，由 Meta 超级智能实验室（MSL）的编程专用模型 [Muse Spark](https://www.edgepedia.org/zh/muse-spark) 1.2 驱动。它面向长程多智能体编程而构建：一个主智能体循环，辅以常驻后台智能体、在隔离 git 工作树中并行工作的子智能体，以及一个百万 token 上下文窗口，可在单次会话中容纳依赖图、遗留代码和数千个文件。<sup>[1](https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2)</sup><sup> • </sup><sup>[2](https://developer.meta.com/ai/resources/blog/build-with-muse-code/)</sup>

| 关键事实 | 详情 |
|---|---|
| 产品 | Meta 出品的终端编程智能体，2026 年 8 月 5 日进入测试版<sup>[1](https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2)</sup> |
| 模型 | Muse Spark 1.2，与 Muse Code 框架联合训练<sup>[1](https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2)</sup> |
| 上下文 | 每会话 100 万 token 窗口<sup>[2](https://developer.meta.com/ai/resources/blog/build-with-muse-code/)</sup> |
| Terminal-Bench 2.1 | 82.9%，落后于 Claude Code 中的 Opus 5（86.7%），领先于 Codex（81.8%）和 Grok Build（81.6%）<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup> |
| 定价 | 标准版：输入 $1.25/百万 token，输出 $4.25/百万 token；贡献者版：$0.10/$0.20，以授权训练数据为交换<sup>[2](https://developer.meta.com/ai/resources/blog/build-with-muse-code/)</sup><sup> • </sup><sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup> |
| 许可 | 完全专有，无可下载权重<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup> |
| 截至 2026 年 9 月状态 | 已结束测试，提供 SDK 开发者预览、工作流和订阅计划<sup>[4](https://developer.meta.com/ai/resources/blog/muse-code-new-plans-and-features/)</sup> |

## Muse Code 是什么

Muse Code 在终端中运行，将一个简洁的主智能体循环与一组异步后台智能体配对。据 Meta 介绍，这些专用后台智能体在整个会话期间始终保持活跃，而非为单个任务临时生成，从而降低延迟并减少用户所需的引导量。<sup>[1](https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2)</sup> 乔恩·马克曼（Jon Markman）在《福布斯》上的独立报道描述了同样的图景：多个智能体同时处理一项任务，实现工作并行推进，审查者在后台观察。<sup>[5](https://www.forbes.com/sites/jonmarkman/2026/08/06/meta-launches-muse-code-a-new-ai-coding-agent-powered-by-spark-12/)</sup>

长程多智能体编程指的是在大型代码库上持续数小时的工作运行，而非单次补全。有三项机制支撑这一点。第一，当任务被拆分时，父智能体为每个任务生成一个具备写入能力的子智能体，每个子智能体拥有自己的 git 工作树，因此并行子智能体永远不会在同一批文件上发生冲突。<sup>[2](https://developer.meta.com/ai/resources/blog/build-with-muse-code/)</sup> 第二，Muse Code 将每次模型调用、工具运行、审批和编辑追加到本地事件日志中，Meta 称该日志可精确重放且可安全重启：崩溃后，智能体可以精确地从停止处恢复。<sup>[1](https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2)</sup> 第三，100 万 token 窗口可在单次会话中容纳依赖图、遗留代码和数千个文件。<sup>[2](https://developer.meta.com/ai/resources/blog/build-with-muse-code/)</sup>

## 发布历史与版本

该产品依托 Muse Spark 模型系列，该系列取代了 Meta 基于 [Llama](https://www.edgepedia.org/zh/llama-model-family) 的技术栈。Muse Spark 于 2026 年 4 月 8 日发布，是 Meta 超级智能实验室对其 AI 技术栈进行为期九个月的重建后，新 Muse 系列的首个模型；它也为 [Meta AI](https://www.edgepedia.org/zh/meta-ai) 助手提供动力。<sup>[6](https://about.fb.com/news/2026/04/introducing-muse-spark-meta-superintelligence-labs/)</sup> VentureBeat 指出了这一日期的重要性：初代 Muse Spark 是 Meta 的首个专有模型，仅限云端，无可下载权重，不支持自托管，终结了 Llama 开放权重时代——而恰在此时，竞争对手 OpenAI 和 Google 正走向开放许可（Codex CLI 采用 Apache 2.0，[Gemini CLI](https://www.edgepedia.org/zh/gemini-cli) 采用 Apache 许可）。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup>

此后时间线如下：Muse Spark 1.1 随后推出，具备多智能体编排和主动上下文管理；Muse Code 于 2026 年 8 月初在 Muse Spark 1.2 上进入测试版；<sup>[1](https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2)</sup> 到 2026 年 9 月，Muse Code 已结束测试，推出新计划和功能。<sup>[4](https://developer.meta.com/ai/resources/blog/muse-code-new-plans-and-features/)</sup> Muse Spark 1.3 在 Muse Code 发布后宣布，已在 Muse Code 和 Meta Model API 中可用。<sup>[7](https://research.meta.ai/blog/introducing-muse-spark-1-3)</sup>

## 工作原理

Meta 对架构的说明——均为厂商自述——分为三层。

**模型。** Muse Spark 1.2 是 Muse Spark 1.1 的编程聚焦更新版，在编程任务上以大幅扩展的算力训练，并扩大了训练环境的多样性。Meta 将其与 Muse Code 框架联合训练，包括拒绝采样的框架轨迹，因此该模型与该特定智能体配对时表现最佳。<sup>[1](https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2)</sup> 它在长程编程任务上进行了广泛训练，包括全仓库生成、大型端到端项目和自动研究。<sup>[1](https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2)</sup> 其前身 Muse Spark 1.1 已被训练为可编排多智能体系统，作为主智能体规划和委派给并行子智能体，并在作为子智能体时向主智能体上报，同时通过压缩上下文并保留关键步骤来管理其 100 万 token 上下文。<sup>[8](https://ai.meta.com/blog/introducing-muse-spark-meta-model-api/)</sup>

**框架。** 除上述 git 工作树扇出和事件日志外，测试版后的工作流功能可将大型任务转化为协同智能体团队，能够并行审查或构建，通过说出“使用工作流”或使用努力级别 `ultra` 来触发。<sup>[4](https://developer.meta.com/ai/resources/blog/muse-code-new-plans-and-features/)</sup>

**集成面。** SDK 处于开发者预览阶段，将会话、工具和权限控制作为 [TypeScript](https://www.edgepedia.org/zh/typescript) 库暴露。程序生成一个本地 `muse` 主机，并通过 Muse 会话协议（MSP）与之通信——这是一个基于标准 I/O 的开放协议，无服务器、无网络；SDK 与主机之间的通信保持在用户机器上，而模型推理则通过 Meta 的 Model API 账户运行，可能将数据发送到设备之外。<sup>[4](https://developer.meta.com/ai/resources/blog/muse-code-new-plans-and-features/)</sup>

VentureBeat 提出的一个方法论警示适用于对这些发布的任何前后对比解读：Muse Spark 1.1 公布的对比分数记录于通用的 mini-swe-agent 框架中，而 1.2 在 Muse Code 中运行，因此所报告的代际提升有一部分属于新框架而非新模型。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup>

## 数据一览

**基准测试。** 最广泛引用的数字来自 Meta 自己的基准图表，由 VentureBeat 于 2026 年 8 月独立转述。在 [Terminal-Bench](https://www.edgepedia.org/zh/terminal-bench) 2.1 上，Muse Spark 1.2 在 Muse Code 中运行得分为 82.9%，领先于 OpenAI 的 GPT-5.6 Terra 在 Codex 中的 81.8% 和 xAI 的 [Grok 4](https://www.edgepedia.org/zh/grok-4).5 在 Grok Build 中的 81.6%，但落后于 Anthropic 的 Opus 5 在 [Claude Code](https://www.edgepedia.org/zh/claude-code) 中以最高努力级别运行的 86.7%。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup> 在 DeepSWE 1.1 上，Muse Spark 1.2 得分为 59.3%，位列第三，落后于 Opus 5（65.0%）和 GPT-5.6 Terra（64.8%）。在 Meta 自己的内部基准上，它得分为 70.6%，而 Opus 5 为 79.4%，在 Meta 自己设计的测试上差距近九个百分点。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup>

Meta 自己的 Muse Spark 1.1 评估报告对同样的模式直言不讳：在 Terminal-Bench 2.1 和 SWE-Bench Pro 等编程基准上，Muse Spark 1.1 落后于 [Claude 4](https://www.edgepedia.org/zh/claude-4).8 Opus 和/或 GPT 5.5，在 DeepSWE 和 DeepSearchQA 等长程智能体任务上，其改进仍落后于或仅与最佳竞争对手模型持平。同一报告指出，Muse Spark 1.1 在 SWE-Bench Verified Hard 上至少一次解决了 42 个独特任务中的 24 个，勉强超过 Muse Spark 安全与准备报告中的一个能力检查点阈值，但仍缺乏足够的自主性来维持自动化 AI 研发，任务执行得分远低于人类基线。<sup>[9](https://ai.meta.com/static-resource/muse-spark-1-1-evaluation-report)</sup>

**定价。** 发布时，Muse Code 提供两个层级。标准层按 Model API 按需付费定价：每百万缓存输入 token $0.15，每百万输入 token $1.25，每百万输出 token $4.25。<sup>[2](https://developer.meta.com/ai/resources/blog/build-with-muse-code/)</sup> 贡献者层通过 `/model to muse-spark-1.2-contributor` 选择，每百万输入 token $0.10，每百万输出 token $0.20（缓存输入 $0.002），价格分别约为标准层的十二分之一和二十一分之一，以明确授权使用提示和补全来训练未来 Meta 模型为交换；它按滚动 5 小时窗口内的 token 数而非请求数进行速率限制。<sup>[2](https://developer.meta.com/ai/resources/blog/build-with-muse-code/)</sup><sup> • </sup><sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup> 标准层限制为每团队每分钟 3,000 次请求和 400 万 token，无长上下文溢价。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup> Meta 还在发布时开始接受零数据保留请求。<sup>[2](https://developer.meta.com/ai/resources/blog/build-with-muse-code/)</sup>

## 与 Claude Code、Codex 及同类的比较

根据 Decrypt 的独立报道总结，在 Meta 自己的图表上，Muse Spark 1.2 在所展示的每项编程基准上都落后于 Anthropic 的 Opus 5，但在大多数基准上击败 OpenAI 的 Codex 和 Google 的 Antigravity。<sup>[10](https://decrypt.co/375001/muse-code-meta-ai-coding-agent-claude-codex)</sup> 上述 Terminal-Bench 和 DeepSWE 数字给出了具体差距：在 Terminal-Bench 上领先 Codex 和 Grok Build 零点几个百分点，在 DeepSWE 和 Meta 内部基准上落后 Opus 5 数个点。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup>

一个结构性差异是许可。Codex CLI 采用 Apache 2.0 许可，Gemini CLI 采用 Apache 许可，而 Muse Code 和 Muse Spark 完全专有，无可下载权重。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup>

## 反响与事件

发布周包含一次公开的可靠性故障。在 VentureBeat 自己在 Mac mini 上的测试中，一行安装程序如宣传般工作——97 MB 下载和登录——但智能体未能运行任何东西，报告看不到任何模型，且“需要付款才能完成账户设置”。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup>

另外两点引起关注。Meta 自己的基准图表承认 Opus 5 即使在 Meta 内部测试中也领先，VentureBeat 称这是异常坦率的承认。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup> 贡献者层的权衡——近乎免费的 token 换取使用用户提示和补全进行训练的许可——被报道为一种以数据换折扣的安排，而非中性选项。<sup>[3](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)</sup>

## 发布以来的变化

到 2026 年 9 月，Muse Code 已结束测试，在 CLI 中提供会话间消息、工作流和回退功能，并提供 SDK 开发者预览，同时正陆续推出三种月度订阅计划。Meta 的帖子未说明计划价格。<sup>[4](https://developer.meta.com/ai/resources/blog/muse-code-new-plans-and-features/)</sup> Muse Spark 1.3 随后推出，具有更强的对抗鲁棒性和改进的提示注入抵抗力。在 Meta 工程师的比较中，它比 Muse Spark 1.2 少用约 20% 的工具调用和 25% 的 token，已在 Muse Code 和 Meta Model API 中可用。<sup>[7](https://research.meta.ai/blog/introducing-muse-spark-1-3)</sup>

## References

1. [Introducing Muse Code and Muse Spark 1.2 | Meta AI Research](https://research.meta.ai/blog/introducing-muse-code-and-muse-spark-1-2)
2. [Meet Muse Spark 1.2 and Muse Code: a coding model and the agent built to run it](https://developer.meta.com/ai/resources/blog/build-with-muse-code/)
3. [Meta enters the AI coding wars with Muse Spark 1.2 and Muse Code with persistent async background agents | VentureBeat](https://venturebeat.com/orchestration/meta-enters-the-ai-coding-wars-with-muse-spark-1-2-and-muse-code-with-persistent-async-background-agents)
4. [Muse Code: New plans and features](https://developer.meta.com/ai/resources/blog/muse-code-new-plans-and-features/)
5. [Meta Launches Muse Code, A New AI Coding Agent Powered By Spark 1.2 | Forbes](https://www.forbes.com/sites/jonmarkman/2026/08/06/meta-launches-muse-code-a-new-ai-coding-agent-powered-by-spark-12/)
6. [Introducing Muse Spark: Meta's Most Powerful Model Yet](https://about.fb.com/news/2026/04/introducing-muse-spark-meta-superintelligence-labs/)
7. [Introducing Muse Spark 1.3 | Meta AI Research](https://research.meta.ai/blog/introducing-muse-spark-1-3)
8. [Introducing Muse Spark 1.1](https://ai.meta.com/blog/introducing-muse-spark-meta-model-api/)
9. [Muse Spark 1.1 Evaluation Report](https://ai.meta.com/static-resource/muse-spark-1-1-evaluation-report)
10. [Meta Debuts AI Coding Agent Muse: Here's How It Compares to Claude Code and Codex | Decrypt](https://decrypt.co/375001/muse-code-meta-ai-coding-agent-claude-codex)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 19, 2026; Sep 30, 2026 · Edited: Sep 19, 2026; Sep 30, 2026; Oct 11, 2026 · Last review: Sep 30, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Model families and named models › Code models and coding agents

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/muse-code

English original: https://www.edgepedia.org/muse-code
