Meta has released Muse Code, a beta terminal-based coding agent designed to perform software engineering tasks across large repositories. The tool can plan changes, write code, and validate results.

Muse Code operates through a terminal rather than an application interface and can be accessed via a one-line command in a macOS terminal. The installation command is 'curl -fsSL https://dev.meta.ai/install.sh | bash'.

The agent uses a simple loop combined with asynchronous background agents, coordinating multiple persistent subagents for each task to resolve problems. It also includes default skills such as /plan, /grill, and /goal.

A local event log records every model call, tool run, approval, and edit, making the runtime restart-safe and replay-exact.

Muse Spark 1.2 integration

Muse Code is powered by Muse Spark 1.2, Meta's newest model and a coding-focused update to Muse Spark 1.1. Meta co-trained Muse Spark 1.2 with Muse Code.

To develop Muse Spark 1.2, Meta scaled up training compute on coding tasks and expanded training environment diversity. The training process included rejection sampled harness trajectories and recipe optimizations for goals, compaction, and subagents.

Meta also utilized Muse Spark 1.1 to generate instruction-following templates and coding environments to create a training dataset for the new model.

Muse Spark 1.2 was trained on long-horizon coding tasks, such as auto-research, large end-to-end projects, and whole-repository generation.

Performance and pricing

The model's ability to iteratively optimize GPU kernels was tested over 1,000 tool calls lasting up to 24 hours, with benchmarking performed on MLA and KDA kernels for NVIDIA Hopper GPUs.

Beyond code, Muse Code can interpret an mp4 fly-through video of a home to produce a booking and marketing page for vacation homes.

$1.25 / $4.25 per million tokens

Muse Code pay-as-you-go pricing for developers: $1.25 for input tokens and $4.25 for output tokens.

It maintains a specialized terminal-based workflow.