maple.cmd.cli.serve.serve_root

maple.cmd.cli.serve.serve_root(ctx: Context, port: int = <typer.models.OptionInfo object>, device: str = <typer.models.OptionInfo object>, detach: bool = <typer.models.OptionInfo object>) None

Start the MAPLE daemon.

Launches the MAPLE daemon which manages policy and environment containers and provides the API for running evaluations. Can run in foreground (blocking) mode or detached as a background process.

When detached, the daemon runs in a new session and logs to /tmp/vla.out and /tmp/vla.err.

Parameters:
  • ctx – Typer context for checking if subcommand was invoked.

  • port – Port number for the daemon to listen on.

  • device – Default device for policy containers (e.g., ‘cuda:0’, ‘cpu’).

  • detach – If True, run daemon in background as separate process.