malibu-cli

The provider binary. Runs MLX inference, connects outbound to the coordinator.
malibu-cli is the underlying provider binary. The Malibu app wraps it for interactive use; use malibu-cli directly for headless installs, CI, or custom orchestration.

What it does

  • Loads an MLX model into unified memory.
  • Opens an outbound WebSocket to coordinator.malibu.tech.
  • Advertises the loaded model, RAM tier, and identity.
  • Streams inference results back to the coordinator on request.
  • Emits signed v0.3 receipts for every response.
  • Holds a caffeinate sleep assertion for the duration of the run.

Commands

malibu-cli serve

Start serving. Loads the configured model, connects to the coordinator, holds the WebSocket open.
Or with flags:

malibu-cli models

Manage local model weights.

malibu-cli autotune

Recommend a model based on this Mac’s RAM, sustained TPS, and 4K-prompt TTFT, filtered by the signed catalog feed.
Output: a ranked list of eligible models with expected TPS. The Malibu app runs this on first launch.

malibu-cli identity

View provider identity and receipt keys.

malibu-cli earnings

Query the earnings endpoint from the CLI.
Same data as the Malibu app’s earnings view.

malibu-cli version

Config file

Default location: ~/.malibu/config.yaml. Example:
Full flag reference: Flags & config.

Logs

Default log location: ~/Library/Logs/malibu/malibu-cli.log (macOS). Rotates daily, keeps 7 days.