Quick Start
Install Miravo, then let your agent build and run a simulated factory, or start one yourself and connect over MQTT, OPC UA or Modbus TCP.
Install Miravo. Then ask your agent for the factory you need, or start one yourself.
Install Miravo
The install script puts the standalone binary in ~/.miravo/bin.
curl -fsSL https://miravo.dev/install | bashLet your agent run it
Install the Miravo Skill so your agent knows how to use Miravo. The install script offers to do this for you; otherwise run:
miravo skill installIt works with Claude Code, Codex and any agent that loads Agent Skills. Then ask in plain language:
- "Give me a bottling line I can point Grafana at over MQTT, and show me what happens when the capper jams."
- "I need OPC UA data from a water plant for my historian."
- "My SCADA polls Modbus: simulate a building's HVAC and give me the register map."
The agent picks or builds the factory, runs it, checks that values move and tells you how to connect. Ask it to add faults, change the plant or stop the run the same way. More in AI Agents.
Or run it yourself
Start a built-in template from the shell and check the data yourself.
Start a factory
miravo start -t smart-factorysmart-factory is the default template: a seven-asset machining line. To run another one, pass its name, for example -t water-treatment. See Templates for the list.
Without -t, Miravo uses a template in the current folder or resumes the one saved factory, if there is one. Otherwise a terminal shows a picker with smart-factory as the default. With --no-input, -d, --dry-run or no terminal, it starts smart-factory directly.
Built-in templates enable MQTT, OPC UA and Modbus TCP together. MQTT listens on 1883, OPC UA on 4840, Modbus TCP on 1502 and the Console on 8080. All bind to 127.0.0.1.
To get the shell back, run it in the background.
miravo start -t smart-factory -dFlags, detached mode and dry run: miravo start. If something fails, see Troubleshooting.
Open the Console
http://127.0.0.1:8080 in your browser.admin / admin. Set a new password when prompted.smart-factory. Inspect its card for a live view of the lines, or open the Assets tab to see live values.Connect your system
MQTT
On by default. A topic tree for any MQTT client.
OPC UA
A browsable address space for SCADA, HMI and OPC UA clients.
Modbus TCP
A fixed register map for polling clients.
Integrations
Map the running factory into a supported integration.
Check that data flows
Pick a protocol. Each check should show values that keep changing.
Subscribe with any MQTT client. This one needs only Node.js.
npx mqtt sub -h 127.0.0.1 -p 1883 -t 'MiravoWorks/smart-factory/#' -vWith Mosquitto installed: mosquitto_sub -h 127.0.0.1 -p 1883 -t '#' -v.
Each line is a topic followed by a JSON payload with value, timestamp, quality and, where the member has one, unit. More in MQTT.
Where to go next
What is Miravo?
What it does, its limits, and where it fits.
CLI reference
Start, inspect and automate from the shell.
Choose a template
Built-in templates by industry.
Miravo Core
Models, runtime and state.
AI Agents
Describe a plant in plain language and let your agent build and run it.
Troubleshooting
Ports, passwords, bind addresses and stale state.
Was this page useful?
Last updated on
Miravo