mentu-runtime is the daemon that manages VMs, sandboxed execution, and network interception. It runs alongside the mentu CLI.
In normal mode, mentu executes steps directly on the host. In VM mode (--vm ), it delegates to mentu-runtime for isolated execution. The daemon starts automatically on first use.
mentu-runtime < comman d > [subcommand] [flags]
Mode
What happens
When to use
Normal (default)
Steps run as host processes
Trusted tools, fast iteration
VM (--vm )
Steps run inside a sandboxed VM via mentu-runtime
Untrusted tools, long unattended runs
Command
Description
mentu-runtime daemon start
Start the daemon (foreground, blocks until SIGINT)
mentu-runtime daemon stop
Graceful shutdown
mentu-runtime daemon status
Show state, version, PID, uptime
mentu-runtime daemon logs
Stream logs
Logs flags:
Flag
Description
--pretty
Human-readable formatting
--level <level>
Filter by level (debug, info, warning, error)
--json
Raw JSON output
Command
Description
mentu-runtime vm start
Boot the VM
mentu-runtime vm stop
Graceful shutdown
mentu-runtime vm pause
Suspend the VM
mentu-runtime vm resume
Resume from suspend
mentu-runtime vm status
Show state, backend, CPU, memory, uptime
Start flags:
Flag
Description
--backend <vz|krun>
Choose VM backend
Stop flags:
Flag
Description
--force
Force immediate shutdown
Command
Description
mentu-runtime settings get
Show all settings
mentu-runtime settings set
Update settings
mentu-runtime settings check
Preview whether changes need a restart
mentu-runtime settings reset
Reset to defaults
Set flags:
Flag
Type
Description
--cpu
int
Number of CPU cores
--memory
int
Memory in MB
--engine
string
Backend (vz or krun )
--rosetta
bool
Enable Rosetta x86 translation
--network-mode
string
Network mode
Command
Description
mentu-runtime engine status
Show current backend and state
mentu-runtime engine switch <backend>
Switch backend (reports if restart is needed)
Command
Description
mentu-runtime service list
List all internal services
mentu-runtime service status <name>
Show service state
mentu-runtime service restart <name>
Restart a service
Command
Description
mentu-runtime network bindings
Show host-to-guest port bindings
Command
Description
mentu-runtime events
Stream events in real-time (Ctrl+C to stop)
Flag
Description
--json
Raw JSON output
Run a command inside a sandboxed VM using a profile:
mentu-runtime exec --profile spectre.sandbox.json -- /usr/local/bin/spectre analyze
Flag
Description
--profile <path>
Path to sandbox profile JSON
--interceptor
Enable network interception
Run mentu-runtime as an MCP server for AI agent control:
mentu-runtime --mcp
mentu-runtime --mcp --embedded
Flag
Description
--mcp
Start as stdio MCP server (requires running daemon)
--embedded
In-process mode, no separate daemon needed
These commands run locally and do not require the daemon.
Command
Description
mentu-runtime version
Show version
mentu-runtime config
Show configuration
mentu-runtime validate
Validate configuration
mentu-runtime backends
List available VM backends
mentu-runtime bind-port --port <n>
Bind a privileged port
mentu-runtime socket <username>
Create socket symlink