MirrorNeuron CLI
Project description
MirrorNeuron CLI
The official Command Line Interface for managing the MirrorNeuron distributed runtime system.
Installation
Note: This tool is installed automatically and symlinked globally as mn by the MirrorNeuron install.sh script.
pip install mirrorneuron-cli
Commands
Powered by Typer and Rich, this CLI provides elegant formatting for job lifecycle management:
mn nodes # View system summary and available executor pools
mn submit ./flow.json # Submit a new workflow manifest
mn list # View all active and completed jobs
mn status <job_id> # Detailed execution state of a specific job
mn monitor <job_id> # Stream live execution events
mn cancel <job_id> # Gracefully terminate a workflow
mn metrics # Inspect runtime metrics summary
mn dead-letters <job_id> # Inspect dead-letter events
Blueprint Commands
Blueprint execution and observability are grouped under mn blueprint so users have one CLI entry point:
mn blueprint list
mn blueprint install
mn blueprint update
mn blueprint run <blueprint_id>
mn blueprint run ./path/to/bundle_or_source_blueprint
mn blueprint run <blueprint_id> --offline
mn blueprint run <blueprint_id> --revision <git_sha_or_tag>
mn blueprint monitor --follow
mn blueprint tail <run_id>
mn blueprint compare <run_a> <run_b>
mn blueprint export <run_id> --format markdown
mn blueprint export <run_id> --format html
mn blueprint run accepts either an installed blueprint ID or a local folder. If the local folder is already a bundle, the CLI submits it directly; if it is a Python source blueprint, the CLI generates a bundle under ~/.mn/generated_blueprint_bundles/<run_id>/ first. Catalog runs use the cached blueprint library by default so runs are not silently changed by a network pull. Use mn blueprint update or mn blueprint run <id> --update when you want to refresh the cache. Each blueprint submission pre-generates a shared MN_RUN_ID, injects MN_BLUEPRINT_CONFIG_JSON into runtime workers, and prints both the blueprint run ID and runtime job ID.
Blueprint run artifacts are read from the shared run store at ~/.mn/runs/<run_id>/.
Use --runs-root <path> with monitor, tail, compare, or export when inspecting a custom run directory.
When a blueprint registers a shared or custom web UI, monitor shows the local URL and export --format html creates a static report page.
Configuration
All overrides use MN_ env vars:
MN_GRPC_TARGET: core gRPC target.MN_GRPC_TIMEOUT_SECONDS: RPC timeout;0ornonedisables it.MN_GRPC_AUTH_TOKEN: optional bearer metadata for protected core gateways.MN_CLI_LOG_PATH: error log path.MN_CLI_OUTPUT=plain: disable Rich color output.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mirrorneuron_cli-1.0.0.tar.gz.
File metadata
- Download URL: mirrorneuron_cli-1.0.0.tar.gz
- Upload date:
- Size: 39.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df65955ff5b1a9ce3cc311ec5f37afb695f6a0a6f9d29d7d7dffc1487bb07fa0
|
|
| MD5 |
351f32be8cf03fdbed6c7680fc927e66
|
|
| BLAKE2b-256 |
5bb5c28dfe269086fe1e51355302faaecf329b77307ddce985a28a21adb12fca
|
Provenance
The following attestation bundles were made for mirrorneuron_cli-1.0.0.tar.gz:
Publisher:
release.yml on MirrorNeuronLab/mn-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mirrorneuron_cli-1.0.0.tar.gz -
Subject digest:
df65955ff5b1a9ce3cc311ec5f37afb695f6a0a6f9d29d7d7dffc1487bb07fa0 - Sigstore transparency entry: 1438991971
- Sigstore integration time:
-
Permalink:
MirrorNeuronLab/mn-cli@3d6a28947d33d789ce51d18753f7293febb3fd5b -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/MirrorNeuronLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3d6a28947d33d789ce51d18753f7293febb3fd5b -
Trigger Event:
push
-
Statement type:
File details
Details for the file mirrorneuron_cli-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mirrorneuron_cli-1.0.0-py3-none-any.whl
- Upload date:
- Size: 28.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
142eb6806ac0791ebc035ebe2ec4a33a63507ba4aa655e446c29411de20ed4ff
|
|
| MD5 |
c667030fe72e0dab0943fff6ee63607e
|
|
| BLAKE2b-256 |
9737b50a7dda5e01da9ca0f7a2e56d1265a10e881ea8d236527b6259f3b1fac2
|
Provenance
The following attestation bundles were made for mirrorneuron_cli-1.0.0-py3-none-any.whl:
Publisher:
release.yml on MirrorNeuronLab/mn-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mirrorneuron_cli-1.0.0-py3-none-any.whl -
Subject digest:
142eb6806ac0791ebc035ebe2ec4a33a63507ba4aa655e446c29411de20ed4ff - Sigstore transparency entry: 1438991997
- Sigstore integration time:
-
Permalink:
MirrorNeuronLab/mn-cli@3d6a28947d33d789ce51d18753f7293febb3fd5b -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/MirrorNeuronLab
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@3d6a28947d33d789ce51d18753f7293febb3fd5b -
Trigger Event:
push
-
Statement type: