mirror_neuron binary. Commands are grouped by purpose. For each command you will find the exact syntax, available flags, and a practical example you can run directly.
Server
standalone-start
Starts an isolated, standalone runtime server instance. Use this for single-node deployments and local development where you do not need cluster membership.
Cluster
Use thecluster subcommands to start, discover, inspect, and manage the peer-to-peer distribution and membership lifecycle.
cluster start
cluster start
Start a new cluster node. The node binds to the given address and optionally joins existing seed nodes on startup.SyntaxFlags
Example
| Flag | Required | Description |
|---|---|---|
--node-id | Yes | Unique identifier for this node |
--bind | Yes | IP address and port to bind to (e.g. 127.0.0.1:4000) |
--data-dir | No | Directory for persistent node data |
--join | No | Comma-separated list of seed node addresses to join on startup |
cluster join
cluster join
Join an existing cluster by connecting to one or more seed nodes.SyntaxFlags
Example
| Flag | Required | Description |
|---|---|---|
--node-id | Yes | Unique identifier for this node |
--bind | Yes | IP address and port to bind to |
--seeds | Yes | Comma-separated seed node addresses |
cluster discover
cluster discover
Query seed nodes to discover current cluster membership without joining.SyntaxExample
cluster status
cluster status
Print the current cluster status, including membership and leader information.
cluster nodes
cluster nodes
List all known nodes in the cluster.You can also pass
--join to connect to a seed before listing:cluster leave
cluster leave
Gracefully remove a node from the cluster.SyntaxExample
cluster rebalance
cluster rebalance
Trigger a job and resource rebalance across all current cluster members.
cluster elect-leader
cluster elect-leader
Force a new leader election among the current cluster members.
cluster health
cluster health
Check the health of the cluster and print a status summary.
cluster reload
cluster reload
Reload configuration on a specific cluster node without restarting it.SyntaxExample
Job lifecycle
validate
Check a job bundle before submitting it. Validates the bundle structure, manifest syntax, and the node and edge relationships in the workflow graph. Fix any reported errors before running.
run
Submit a job bundle for execution. In the default interactive mode the CLI displays a banner, a job submission card, a live progress panel, and a final summary. Use flags to switch to machine-readable or detached modes.
Syntax
| Flag | Description |
|---|---|
--json | Output machine-readable JSON instead of the interactive display |
--timeout <ms> | Abort and return an error if the job does not complete within <ms> milliseconds |
--no-await | Submit the job and return immediately without waiting for completion |
- Interactive (default)
- JSON output
- Detached
- With timeout
Inspection
Use these commands to read runtime state without modifying it.job list
job list
List all jobs the runtime knows about.SyntaxPass
--live to continuously refresh the list.Examplejob inspect
job inspect
Print a detailed summary of a single job, including its status, agent graph, and runtime footprint.SyntaxExample
agent list
agent list
List all agents belonging to a specific job, including each agent’s current status.SyntaxExample
node list
node list
List all runtime nodes currently visible to this instance.
events
events
Stream the event log for a job. Useful for debugging message flow, seeing lease events, and seeing sandbox completion or failure events.SyntaxExample
Monitor
Themonitor command opens a terminal monitor — the CLI equivalent of a lightweight operations dashboard. At the top level it shows cluster nodes, executor pool usage, visible jobs, how many boxes each job is using, sandbox count per job, and the last significant event. Selecting a job drills down to agents, sandboxes, and recent events for that job.
Syntax
| Flag | Description |
|---|---|
--json | Output a machine-readable JSON snapshot instead of the interactive display |
--running-only | Show only jobs with a running status |
--limit <n> | Limit the number of jobs shown in the overview |
--box1-ip <ip> | IP address of the first cluster box to connect to |
--box2-ip <ip> | IP address of the second cluster box to connect to |
--self-ip <ip> | IP address of this machine, used when connecting to a remote cluster |
- Local
- JSON output
- Running jobs only
- Cluster mode
- Type a row number to open a job
- Type a full job ID to open it directly
- Press
rto refresh - Press
bto go back - Press
qto quit
The
--box1-ip, --box2-ip, and --self-ip flags also accept supplementary options: --seed-ip, --redis-host, --redis-port, --cookie, and --cli-port for fine-grained cluster attachment.Bundle
bundle reload
bundle reload
Reload a registered bundle by its ID, picking up any changes to its manifest or payloads without restarting the runtime.SyntaxExample
bundle check
bundle check
Validate a registered bundle by its ID without reloading or running it.SyntaxExample
Node management
node add
node add
Add a node to the runtime cluster by name.SyntaxExample
node remove
node remove
Remove a node from the runtime cluster by name.SyntaxExample
Job control
Use these commands to pause, resume, or cancel a running job. They communicate with the live runtime, so the target job must exist and be in an appropriate state.pause
pause
Pause a running job. All agents in the job will transition to Example
paused status.Syntaxresume
resume
Resume a paused job.SyntaxExample
cancel
cancel
Cancel a job and stop all of its agents.SyntaxExample
Send
Inject a message envelope directly into a specific agent in a running job. The message must be valid JSON. Use this for manual testing, sensor-style workflows where external input drives agent transitions, and operator intervention. SyntaxThe message JSON is passed as a shell argument, so wrap it in single quotes to prevent shell expansion of the JSON content.
Job status values
The following status values appear injob list, job inspect, and monitor output.
- Job statuses
- Agent statuses
| Status | Meaning |
|---|---|
pending | Job is submitted but not yet started |
running | Job is actively executing |
completed | Job finished successfully |
failed | Job encountered an unrecoverable error |
cancelled | Job was cancelled by an operator |