Skip to main content

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; 0 or none disables 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mirrorneuron_cli-1.0.0.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mirrorneuron_cli-1.0.0-py3-none-any.whl (28.9 kB view details)

Uploaded Python 3

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

Hashes for mirrorneuron_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 df65955ff5b1a9ce3cc311ec5f37afb695f6a0a6f9d29d7d7dffc1487bb07fa0
MD5 351f32be8cf03fdbed6c7680fc927e66
BLAKE2b-256 5bb5c28dfe269086fe1e51355302faaecf329b77307ddce985a28a21adb12fca

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirrorneuron_cli-1.0.0.tar.gz:

Publisher: release.yml on MirrorNeuronLab/mn-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mirrorneuron_cli-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mirrorneuron_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 142eb6806ac0791ebc035ebe2ec4a33a63507ba4aa655e446c29411de20ed4ff
MD5 c667030fe72e0dab0943fff6ee63607e
BLAKE2b-256 9737b50a7dda5e01da9ca0f7a2e56d1265a10e881ea8d236527b6259f3b1fac2

See more details on using hashes here.

Provenance

The following attestation bundles were made for mirrorneuron_cli-1.0.0-py3-none-any.whl:

Publisher: release.yml on MirrorNeuronLab/mn-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page