Meta AI Releases Muse Code (Beta): A Terminal Coding Agent Powered by the New Muse Spark 1.2 Model
Meta AI released Muse Code (beta), a terminal coding agent for macOS/Linux powered by the new Muse Spark 1.2 model, targeting complex software engineering across large repositories Muse Spark 1.2 was co-trained with the Muse Code harness itself, using rejection-sampled trajectories, long-horizon repository-scale training, and self-improvement loops from Muse Spark 1.1-generated environments The agent architecture features persistent async background agents that remain alive throughout sessions (
Analysis
TL;DR
- Meta AI released Muse Code (beta), a terminal coding agent for macOS/Linux powered by the new Muse Spark 1.2 model, targeting complex software engineering across large repositories
- Muse Spark 1.2 was co-trained with the Muse Code harness itself, using rejection-sampled trajectories, long-horizon repository-scale training, and self-improvement loops from Muse Spark 1.1-generated environments
- The agent architecture features persistent async background agents that remain alive throughout sessions (avoiding per-task spawning overhead) and an append-only local event log that is replay-exact and restart-safe after crashes
- A notable case study demonstrated iterative GPU kernel optimization over 1,000+ tool calls spanning up to 24 hours on NVIDIA Hopper GPUs, producing optimized KDA and MLA Triton kernels
- Evaluation on Terminal-Bench 2.1, DeepSWE v1.1, and Meta Internal Coding Bench (440 tasks from real PRs) positions Muse Spark 1.2 as a frontier coding model with expanded global API access
Why It Matters
Meta's simultaneous release of a coding-focused model and its dedicated agent harness represents a significant step toward production-grade autonomous software engineering, demonstrating that co-training models with their operational tools yields measurable performance gains. The persistent agent architecture and crash-resilient event logging address two of the most persistent challenges in long-running AI coding workflows, making this directly relevant to teams building or adopting agentic development pipelines.
Technical Details
- Architecture: Muse Code runs a main agent loop plus persistent async background agents that stay alive across sessions, eliminating redundant information gathering. Three bundled skills ship by default:
/plan(approval-gated task planning),/grill(stress-testing plans), and/goal(objective-driven execution) - Training methodology: Muse Spark 1.2 was co-trained with the Muse Code harness using rejection-sampled trajectories, recipe optimizations for goals/compaction/subagents, and long-horizon training on whole-repository generation and auto-research tasks. Muse Spark 1.1 generated challenging coding environments and graded solutions to produce scalable training data for 1.2
- Runtime reliability: A local append-only event log records every model call, tool execution, approval, and edit, providing a single source of truth that is replay-exact and restart-safe—agents resume precisely where they stopped after crashes
- Evaluation benchmarks: Terminal-Bench 2.1 (89 tasks, pass@1 over five attempts), DeepSWE v1.1 (113 tasks across 91 repos and five languages), and Meta Internal Coding Bench (440 tasks from real internal PRs), all executed in isolated Daytona cloud sandboxes with comparisons against Grok 4.5, Claude Opus 5, GPT-5.6 Terra, Gemini 3.6 Flash, and Kimi K3
- Kernel optimization case study: Iterative GPU kernel optimization over 1,000+ tool calls across 24 hours on NVIDIA Hopper GPUs; produced a chunk-parallel + sequential inter-chunk scan for KDA kernels and a two-kernel Triton pipeline reusing shared KV latent for MLA kernels, both outperforming baselines
Industry Insight
The co-training paradigm—where models are trained alongside their operational harness—should become a standard practice for agentic AI systems, as it directly bridges the gap between model capability and tool proficiency; teams building internal coding agents should prioritize similar integrated training approaches rather than treating models and tools as separate concerns. The persistent agent architecture with crash-resilient logging sets a new bar for reliability in long-running autonomous workflows, suggesting that future agent frameworks will increasingly emphasize session continuity and fault tolerance as key differentiators. With Muse Spark 1.2 available via API and the agent in beta, organizations should evaluate integrating these tools into sandboxed review-gated pipelines for repository-scale refactors, test generation, and performance-critical workloads like GPU kernel optimization.
Disclaimer: The above content is generated by AI and is for reference only.