research_flow example bundle that ships with MirrorNeuron — it is a simple multi-step research workflow that exercises the core runtime without requiring any external services beyond Redis.
Complete the installation guide before following these steps. You need the
mirror_neuron binary built and Redis running.Validate the workflow
Before running a workflow, validate its manifest to catch any structural errors:The validate command:
- loads the job bundle folder
- validates
manifest.json - checks node, edge, and entrypoint structure
Run the workflow
Start the workflow:You will see:JSON mode emits structured output to stdout instead of the interactive progress view.
- a CLI banner identifying the job
- a live progress view as agents move through the graph
- a final run summary when the workflow completes
--json flag:Inspect the runtime
List the nodes visible to this MirrorNeuron process:On a single machine this usually shows one node. In a cluster, all connected nodes appear here.To inspect the jobs the runtime knows about:Add To inspect a specific job by its ID:To view the event history for a job:
--live to filter for currently running jobs:What just happened
When you ranresearch_flow, MirrorNeuron:
- Loaded the job bundle and validated the manifest graph
- Started long-lived BEAM processes (logical workers) for each agent node
- Routed messages between agents according to the manifest edges
- Persisted job state and events to Redis throughout execution
- Printed a summary when all agents reached terminal states
executor nodes in the graph acquired leases on OpenShell sandboxes for any isolated execution steps, then released those leases when done — keeping execution capacity bounded.
Explore more examples
MirrorNeuron ships with additional example bundles that demonstrate more runtime capabilities:GEMINI_API_KEY in your environment.
Next steps
CLI guide
Full reference for every
mirror_neuron command, flag, and output format.Examples guide
Walk through each bundled example and learn what runtime features it demonstrates.
Monitor guide
Learn how to navigate the terminal monitor and use it for operational visibility.
Execution model
Understand the two-layer model, message routing, and how execution leases work.