Skip to Main Content

Spark Gate is a CI safety gate for Muse Spark model upgrades. It tells you whether it is safe to move your agent to a newer model version or a cheaper endpoint, using your own conversations, before the upgrade ships. Teams run agents on a pinned model. When a newer version or a cheaper endpoint arrives, switching is a guess: the new model may skip a policy check, call tools in a different order, change a refund amount, or stop returning valid JSON. Benchmarks can’t tell you that about your agent. Spark Gate records real conversations of the agent on today’s model, replays them on each candidate through the Meta Model API, and measures exactly what changed: tool-call fidelity, policy rules, output schema, judged answer quality, latency and cost, each against a threshold you set. Muse Spark 1.3 judges quality in both orderings so position bias can’t decide, groups the regressions, explains them, and drafts a prompt fix that is re-tested on the whole suite before it counts. The verdict is cleared, cleared with fix, or held. As a GitHub Action it posts the report on the pull request and fails the check when the answer is no. Results on the demo agent (a five-tool customer-support agent, 24 recorded conversations replayed 3 times each, 72 replays per candidate): Spark 1.2 cleared at 0.8x the cost of 1.1. Spark 1.3 was held for 2.1x p95 latency. Both contributor endpoints were over 90% cheaper but held, one for broken policy rules and invalid JSON, the other for 2.5x latency. The GitHub Action blocked a real pull request that tried to upgrade to 1.3. The gate tests itself: 150 planted mistakes (skipped calls, swapped order, altered refunds, broken JSON, wrong outcome, forbidden calls) were all caught with zero false alarms on untouched copies, and the judge audit shows it never preferred the wrong customer’s answer and its two orderings agreed 36 of 36 times. Because Muse Spark is not deterministic even at temperature 0, single runs flipped a verdict; the gate now reports its own noise floor, pools three replays and scores quality as net loss. Live dashboard: https://demonjd2026-afk.github.io/spark-gate/ Blocked pull request: https://github.com/demonjd2026-afk/spark-gate/pull/1

Team

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview