Required for all deployments
The connection URL for your Redis instance. MirrorNeuron uses Redis for durable job state, snapshots, event history, and cluster leader election. All nodes in a cluster must point to the same Redis instance.
The Erlang distribution cookie used to authenticate BEAM nodes with each other. Every node in your cluster must use the exact same value. If this value differs between nodes, the cluster will reject connections with an “invalid challenge reply” error.
Executor concurrency
Sets the capacity of the default executor pool — the maximum number of OpenShell sandboxes that can run simultaneously on a single node. Executor agents that request a lease when the pool is full are queued and released in order as capacity becomes available.
Defines named executor pools and their individual capacities. Accepts a comma-separated list of Pool names are arbitrary strings. Reference them from executor node config using the
name=capacity pairs. When this variable is set, it extends (and can override) the default pool set by MIRROR_NEURON_EXECUTOR_MAX_CONCURRENCY. Named pools let different workflow nodes compete for separate capacity budgets.pool field. See Executor pools for details.API
The port on which the HTTP API server listens. Change this when port 4000 is already in use, or when running multiple nodes on the same machine.
If port 4000 is taken on startup, MirrorNeuron skips binding the API rather than crashing. Set an explicit port if you need the API to be reliably reachable.
OpenShell
The absolute path to the
openshell binary. Set this when openshell is not on your PATH. If not set, MirrorNeuron looks for openshell in your PATH.Clustering
A comma-separated list of Erlang node addresses that this node should connect to on startup. MirrorNeuron uses Each address must use the
libcluster with the EPMD strategy to discover and join peers. Leave this unset for single-node operation.name@host format where name is the Erlang node name and host is a resolvable hostname or IP address. All nodes in the cluster must list each other.Erlang VM flags passed at startup. Use this to pin the BEAM distribution port to a fixed range, which makes firewall rules and cluster failure analysis easier in development and production.
Companion to
ERL_AFLAGS. Set this to the fixed distribution port so that cluster scripts and tooling know which port to target.Using a fixed distribution port (for example, 4370) is strongly recommended for any multi-node deployment. Random dynamic ports make it hard to configure firewalls and diagnose split-brain failures.
LLM examples
Your Google Gemini API key. Required only when running LLM-based example workflows. MirrorNeuron passes this into sandbox environments so worker code can call Gemini APIs.