Mirror Neuron Documents

Choose A Blueprint Example

Documentation for Choose A Blueprint Example.

Choose A Blueprint Example

This guide helps you choose a checked-in blueprint for a first run, smoke test, or runtime demonstration.

Run commands from the workspace root unless a step says otherwise.

List Available Blueprints

mn blueprint list

Expected output includes:

ID
Name
Job Name

Blueprint availability depends on your local blueprint index and checkout. The catalog source of truth is mn-blueprints/index.json.

OrderBlueprintUse it when
1message_routing_traceYou want the smallest local routing workflow.
2python_sdk_research_pipelineYou want to review a Python-defined batch workflow.
3python_sdk_research_serviceYou want a long-running Python service pattern.
4openshell_sandbox_worker_pipelineYou want sandboxed worker execution and artifact handoff.
5parallel_worker_benchmarkYou want fan-out/fan-in scheduler pressure.
6stream_backpressure_simulationYou want bounded stream and backpressure behavior.
7ecosystem_simulationYou want a larger stateful simulation.
8liquidity_risk_monitorYou want a finance workflow with optional external integrations.

1. Message Routing Trace

Path:

mn-blueprints/message_routing_trace

Use it when:

  • you want the smallest local workflow;
  • you want to validate routing and manifest shape;
  • you do not want external APIs.

Run:

mn blueprint run message_routing_trace

Expected output:

Job submitted successfully

2. Python SDK Research Pipeline

Path:

mn-blueprints/python_sdk_research_pipeline

Use it when:

  • you want to author workflows in Python;
  • you want the SDK compiler to generate a normal bundle;
  • you want a deterministic research pipeline example.

Generate a quick deterministic bundle with the shared support generator:

cd mn-blueprints/python_sdk_research_pipeline
python3 -m pip install -e ../../mn-skills/blueprint_support_skill
python -m mn_blueprint_support.python_workflow_bundle_cli \
  --blueprint-dir . \
  --quick-test \
  --output-dir /tmp/mirror-neuron-bundles

3. Python SDK Research Service

Path:

mn-blueprints/python_sdk_research_service

Use it when:

  • you want a service-style Python workflow;
  • you want repeated stateful turns;
  • you want a long-running workflow that can be cancelled.

Run:

mn blueprint run python_sdk_research_service

Cancel when done:

mn job cancel <job_id>

4. OpenShell Sandbox Worker Pipeline

Path:

mn-blueprints/openshell_sandbox_worker_pipeline

Use it when:

  • you want sandboxed shell or Python execution;
  • you want to test OpenShell setup;
  • you want to inspect payload staging.

Run:

mn blueprint run openshell_sandbox_worker_pipeline

If the run fails before worker code starts, check OpenShell:

openshell status

5. Parallel Worker Benchmark

Path:

mn-blueprints/parallel_worker_benchmark

Use it when:

  • you want fan-out/fan-in executor behavior;
  • you want to exercise pools and backpressure;
  • you want a local or cluster scale smoke test.

Run from the catalog:

mn blueprint run parallel_worker_benchmark

Run from the local folder:

cd mn-blueprints/parallel_worker_benchmark
mn blueprint run --folder .

6. Stream Backpressure Simulation

Path:

mn-blueprints/stream_backpressure_simulation

Use it when:

  • you want a stream workflow;
  • you want bounded queue behavior;
  • you want retry-later and pressure signals.

Run:

mn blueprint run stream_backpressure_simulation

7. Ecosystem Simulation

Path:

mn-blueprints/ecosystem_simulation

Use it when:

  • you want a larger stateful simulation;
  • you want to test many messages and actors;
  • you want a richer cluster workload.

Run:

mn blueprint run ecosystem_simulation

8. Liquidity Risk Monitor

Path:

mn-blueprints/liquidity_risk_monitor

Use it when:

  • you want a market-signal workflow;
  • you want optional LLM or Slack integration;
  • you want dry-run delivery before live adapters.

Run in local/mock configuration first:

mn blueprint run liquidity_risk_monitor

Security Notes

  • Review manifest.json before running any blueprint.
  • Check pass_env before passing secrets.
  • Use mock, quick-test, and dry-run modes before external delivery.
  • Cancel service jobs when you are done.

On this page