Skip to main content
Install the Dari CLI and Muse Code, then launch Muse Code through its own Dari router:
On first use, Dari signs you in if needed, creates and privately caches a Routing key, and starts the installed muse executable pointed at your router. Your Muse Code settings and sign-in are left intact: the launcher passes the Routing key as META_API_KEY and sets the router’s endpoint for that run only. Gateway serves any model enabled on your router: switch between them with /model, or request dari/model/<model> directly. Autorouting is the dari/routing option, which picks a model per request; it appears in /model only with the Autorouting plan. On first launch, setup opens an Accounts page where you can connect a Muse Code subscription, connect an API key, or choose Dari managed billing. It then asks which models Muse Code can use, starting from Muse Wonder 1.0, Muse Spark 1.3, and Muse Ember, and when Dari picks the model, and creates a Dari Muse Code router (Dari Muse Code (Managed) without a subscription). A Muse Code subscription serves only Muse Code, so the other launchers never use it, and it needs at least one selected model served directly by Meta. Later launches go straight to Muse Code; run dari accounts to connect another one, or use dari credentials subscription connect muse-code. When every connected subscription is at its usage limit, Meta models with API Fallback keep running on the router’s Meta API credential; see Personal Subscriptions. In the model picker, each model shows what pays for it (a subscription, an API key, or Dari credits), preferring a subscription; press s to change it. Every following argument is forwarded to Muse Code:
In Muse Code’s interactive view, the launcher adds a status row under Muse Code’s own: the model that served the turn, its thinking level when one is enabled, how many turns remain on the current routing lease (or pinned when Session Pinning holds the model), and a link to the turn’s conversation in Activity. Routing values come from the X-Dari-Selected-Model, X-Dari-Thinking-Level, X-Dari-Lease-Turns-Remaining, and X-Dari-Session-Pinned response headers, and the link from X-Request-Id. The launcher reads them through a local proxy that forwards Muse Code’s requests to your router, and reserves the terminal’s last row for them. Headless runs such as dari muse exec get no status row. Muse Code sends its reasoning effort on every request. On dari/routing, Dari ignores it so the router chooses the reasoning level; on an explicit dari/model/<id>, the chosen effort is used. Set DARI_ROUTING_API_KEY before launching to use an existing Routing key instead of the CLI-managed key, or DARI_MUSE_PATH to launch a specific muse executable.

Setup Across Computers

The CLI loads your router configuration and subscription preferences from the server. A new computer reuses the existing models and thinking levels rather than applying launcher presets again. Subscription opt-outs are saved per organization, user, and launcher. Local files cache authentication and Routing keys, not setup completion. Use the dashboard or dari router update to change the Dari Muse Code router’s models. To launch dari muse on another router, add Muse Code to its card on the Routers page or run dari router assign-agent <router_id> muse; the X on the card, or assigning it to the default router, moves it back. Run dari accounts to manage connected accounts, see each plan’s usage, or buy another.