shipwithmuse

№ 0102GitHub

Muse Spark Anywhere

A set of small fixes that let Muse Spark run in pi, Agent Orchestrator, opencode and other OpenAI-compatible tools, handling its non-standard SSE event and missing model-catalog entries.

Muse Spark Anywhere on github.com
everyai-com/muse-spark-anywhereREADME ↗
# Muse Spark Anywhere

Use **Meta's Muse Spark** (the model behind the `muse` CLI / Meta Model API) in
**pi**, **Agent Orchestrator**, **opencode**, and any OpenAI-compatible tool —
with full reasoning-effort control and no secrets in your configs.

Muse Spark speaks an OpenAI-compatible API (`https://api.meta.ai/v1`), but two
things trip up most tools:

1. **Streaming quirk** — it injects a non-standard SSE event
   (`event: response.subscription_usage`) that strict OpenAI parsers reject.
2. **Discovery gaps** — it isn't in [models.dev](https://models.dev), so tools
   that generate their catalog from there (pi, opencode, Kilo Code) don't list
   it, and some UIs (Agent Orchestrator) hardcode an older model list.

This repo collects small, focused fixes for each.

## What's here

| Path | What it does |
|------|--------------|
| [`pi/`](pi/) | Drop-in `~/.pi/agent/models.json` + a Keychain key reader. Muse Spark in **pi today**, with `minimal…max` thinking levels. pi handles the streaming quirk natively. |
| [`proxy/`](proxy/) | A ~120-line, dependency-free Node proxy that strips the non-standard SSE event, so **opencode / any OpenAI GUI** works. Point them at `http://127.0.0.1:8788/v1`. |
| [`agent-orchestrator/`](agent-orchestrator/) | A patch adding `muse-spark-1.3` (+ contributor) to Agent Orchestrator's muse model catalog. |
| [`pi-provider/`](pi-provider/) | Draft for an upstream pi PR: a built-in `meta` provider (mirrors the existing openai-compatible providers). |

## The clean, ecosystem-wide fix

Because pi, opencode, and Kilo Code all build their catalogs from **models.dev**,
the highest-leverage contribution is adding a **Meta provider + Muse Spark
models** (with reasoning options) to models.dev. Then every one of those tools
gets Muse Spark natively. The `pi-provider/` draft is the pi-side wiring that
pairs with it.

## Auth & safety

No key material is stored in any file here. The pi config and the proxy read the
key from the macOS Keychain (service `ai.meta.dev.credentials`, written by the
`muse` CLI) at request time. If you don't use the `muse` CLI, set `META_API_KEY`
in your environment instead. This is developer tooling for your **own** Meta
Model API access — mind Meta's terms for how your plan/key may be used.

## Quick start (pi)

```bash
cp pi/models.json ~/.pi/agent/models.json
cp pi/meta-key.sh ~/.pi/agent/meta-key.sh && chmod +x ~/.

Also filed under Coding & dev tools

See all →
  1. 0561

    Muse-Desktop★

    A desktop app for Muse Code on macOS and Windows with projects, git worktrees, subagents, MCP, a diff review panel and opt-in computer use that lets the agent see the screen and use apps.

    @EtienneLescot

    GitHub

    Coding & dev tools

  2. 0547

    MuseGlass★

    A hands-free interface that turns Meta AI glasses into a voice control surface for Muse Code on a Mac: assign a task, walk away, hear progress, interrupt and approve sensitive steps.

    @MoheetBrain

    GitHub

    Coding & dev tools

  3. 0150

    Helicon: desktop app for Muse Code★

    I pay for @Muse Code but didn't want to live in a terminal. On Windows it's WSL-only. So I built Helicon: an open-source desktop app for the actual Muse CLI. • uses your existing muse login, no API key • talks to muse serve over MSP, so Muse stays the agent • resumes

    @harjjotsinghh

    X post

    Coding & dev tools

  4. 0128

    Helicon desktop app for Muse Code★

    Helicon is an open-source desktop and web app that wraps Meta's Muse Code CLI in a Codex/Claude-style interface, grouping sessions by project with history, resume and diffs on Windows, macOS and WSL2.

    @HarjjotSinghh

    GitHub

    Coding & dev tools

More GitHub

See all →
  1. 1074

    Ziggy, a 24/7 voice assistant on Muse Spark

    An always-on laptop voice companion: local Porcupine wake word, local Whisper speech-to-text in Hindi and English, Muse Spark via the Meta Model API as the brain, offline TTS and local conversation memory.

    @TanayYadavDev

    GitHub

    Agents & automation

  2. 1066

    Muse remote-control bridge for Intel Macs

    Since Muse for Mac ships only for Apple silicon, this small service lets Muse's cloud VM screenshot, click and type on an Intel Mac, compressing each 5K frame to about 150 KB and handling Retina coordinate scaling.

    @LilMuh

    GitHub

    Errands & personal agent

  3. 1040

    CursorBench 4.0 score-vs-cost report

    A self-contained visual report comparing CursorBench 4.0 score against cost per task for Opus 5.5, Fable 5.1, Grok 4.7 and Muse Spark 1.3, where Muse Spark 1.3 Max scores 41.6% at $2.64 per task. GPT-6 points are clearly marked as estimates.

    @dominicletz

    GitHub

    Benchmarks & research

  4. 0995

    BitNet Gateway: cheap CPU triage, Muse Spark decides

    A hybrid FastAPI gateway where a 1-bit BitNet layer on CPU filters routine traffic and Muse Spark 1.3 is called only for sales, urgency, money or low-confidence cases; the author estimates the local filter handles about 60-70% of volume.

    @rafaelnovaes22

    GitHub

    Agents & automation

Curator picks

  1. 1046

    Medical bills audited line by line, $4,000 saved★

    Got Muse logged in to my medical provider’s portal, he pulled the itemized bills, and questioned every line. So far he’s found several times I’d been double billed, asked for some discounts and has saved me over $4,000. If your moat is bureaucracy, you’re cooked.

    @Ryan_Holdaway

    X post

    Errands & personal agent

  2. 1013

    Shop Pay agentic checkout on every Shopify store★

    We are excited to announce we are partnering deeply with Muse to enable agentic checkout with Shop Pay on all Shopify stores, offering people an easy and delightful way to shop and check out with Muse.

    @tobi

    X post

    Business & commerce

  3. 1009

    Private e-book library app from Google Drive★

    Muse built me a private library for the e-books and articles in my Google Drive. Everything is organized by topic, and each section opens onto its own subcategorized shelves. Each book opens like a real book and is readable in-app

    @chiasmus_cap

    X post

    Apps & websites

  4. 1007

    Plumbing company run by a Muse agent★

    I still can’t believe I can run my plumbing company with an agent so easily. I send this message to my Muse agent while in bed at 6am. And it: updates my job board, texts customer, updates office manager who arrives at 8am in slack Notifies technician

    @HouseHackerJon

    X post

    Agents & automation