Open protocol · draft 0.2

What is the Open Model Hardware Protocol?

OpenMHP (MHP) is an open standard for connecting AI agents to physical devices: microscopes, liquid handlers, robot arms, furnaces, lasers. It gives an agent one way to find an instrument, learn how to use it, operate it safely, and hand it long-running work.

Wire format JSON-RPC 2.0Transports stdio · HTTPWorks with any MCP-capable agent harnessReference implementation Python

Think of MHP the way you think of MCP. MCP gives an AI application a standard port for data and software tools. MHP gives it a standard port for hardware. An instrument that speaks MHP can be operated by any agent harness, and a harness that speaks MHP can operate any instrument, without a bespoke integration in between.

Any agent harness Claude Code · Codex OpenClaw · Hermes Claude Science · Open Science your own SDK agent speaks MCP (8 tools) or the MHP client directly OpenMHP directory: find describe: card, instructions signals · settings · actions safety gates in the driver mhp-mcp bridge stdio or HTTP Instruments native MHP drivers SiLA 2 · PyLabRobot · MADSci OPC UA · Modbus · ROS 2 through adapters one device package each two or two thousand
The harness on the left is whatever you already run. MHP sits in the middle. The hardware on the right keeps whatever control layer it has.

What can MHP enable?

Why does MHP matter?

Works with any agent harness

MHP is not tied to one model or one product. The reference bridge, mhp-mcp, is an ordinary MCP server, so any MCP-capable harness can operate an MHP lab: Claude Code, Codex, OpenClaw, Hermes, Claude Science, Open Science, and custom agents built on any SDK. Harnesses that would rather skip MCP can use the MHP client library or the CLI directly. Three Agent Skills ship with the protocol so that skills-capable harnesses know how to onboard hardware and operate it safely without bespoke prompting.

Start building

Where OpenMHP came from

Getting several devices in a lab or on a factory floor to work together has always been hard, and putting an AI agent in charge of them is harder still. Each instrument has its own programming interface. There has been no standard way to integrate them, and once they are wired up there is no common way for them to share data with an agent, or to let the agent operate them safely. The knowledge that makes a device safe to use, such as how heavy an arm is or when a lid is too hot to open, sits in paper manuals, on someone's laptop, or in the head of the person who runs it.

Anthropic solved the equivalent problem for software when it open-sourced the Model Context Protocol. MCP gave any AI application one standard way to reach digital tools, and the ecosystem followed. Agent Skills, also open-sourced, showed how to package procedural knowledge so an agent loads only what a task needs. OpenMHP is the same idea carried across to hardware: a shared, open protocol so that any AI agent can connect to lab instruments and machines the way MCP connected it to digital tools, and run experiments agentically, from routine drug-discovery assays to laser calibration on a quantum computer.

Three choices follow from that origin.

MHP also takes two lessons from MCP's first year. Listing every capability up front bloats the agent's context and makes selection worse, so devices load progressively: a search returns cards, choosing a device loads its instructions, and detailed specs and reference files load only when asked. And examples teach conventions that schemas cannot, so every action and every bridge tool carries them. Both are described in the Scale section of the specification.