Mitos Robotics

· 9 min read

Robots You Can Talk To and Rely On

Factory robots are reliable, but every movement has to be programmed in advance. The new AI robots use one large model that turns camera images straight into movement, known as an end-to-end model. They are flexible, but they fail in ways that are hard to explain. MRCF uses AI to understand the job and ordinary tested code to do it, so the robot is flexible and can be trusted.

MRCF on the SO-101 and the UR5, from typed requests. Sped up clips are marked.

MRCF, the Modular Robotics Control Framework, is open source robot control software from Mitos Robotics. You tell a robot what to do in plain English. Type "put all the tools in the box" or "stack the blocks into one tower" and the robot looks at the scene, works out the steps and carries them out.

It has been tested on two very different robots: the SO-101, a low-cost hobby robot, and the UR5, an industrial one. Between them they pack tools into a box, clear a table into a tub, stack blocks and play chess. MRCF is not tied to either, and other robots can be added.

The AI model can run on your own machine. Everything shown in the demos ran on a laptop with no internet connection.

The AI decides. It never moves the robot.

“put all the tools in the box”
MRCF
  1. Scancode

    The overhead camera measures every object on the work surface: where it stands and how big it is.

  2. UnderstandAI model

    The AI names what it sees and splits the instruction into smaller goals.

  3. PlanAI model

    It chooses skills from the fixed list, such as pick, place and stack, and returns a short list of steps.

  4. Checkcode

    The plan is checked against the safety rules: the work area, that every object exists, the order of the steps. A plan that fails does not run.

  5. Actcode

    Each skill takes positions from the cameras, moves the robot and checks its own result. A failed step stops the plan and the robot looks again.

  6. Recordcode

    The result updates the robot’s picture of the scene, and every step goes on the run’s timeline.

Alongside every step, a camera watches the space around the robot and pauses it when anything else moves nearby.

How MRCF handles one instruction

The AI model can only choose from a fixed list of skills such as pick, place and stack. It cannot invent a movement that is not on the list.

The AI names what it sees. It never says where anything is. Early on I asked it where a chess piece was. Four times out of five it said e4, because that is where chess pieces usually are. The piece was on c4. Positions now come from the cameras.

Each skill is ordinary code that works from camera measurements and checks its own result. Engineers call this closed-loop control: act, measure, correct.

The idea is not new. Google's SayCan research in 2022 had a language model choose from a fixed set of robot skills (paper). MRCF builds on that idea, with skills written as tested code rather than trained from data.

Where MRCF fits

I have written before that scaling end-to-end models alone will not get us to general purpose robots, and that the real cost of a robot is the setup. MRCF is what I built in response.

It does not replace the software that already drives robots. It sits on top of it and adds the layer that turns an instruction into steps that are checked, carried out and recorded. That could include ROS, the most widely used robotics software, which MRCF does not use today.

Instruction and camera images
End to end model
One trained modelcamera images in, movement out
MRCF
AI modelunderstands the job, chooses skills
Safety checkthe plan is checked before anything moves
Skillstested code that measures, acts and checks
The robot’s own control software and hardware
Where each layer sits: an end to end model compared with MRCF

An end-to-end model replaces the whole chain with one model. MRCF keeps the layers separate, so each one can be checked and changed.

What you get

Quick to set up

A new job is configuration, not a build. Setting up a robot for a new job is usually an engineering project. In MRCF, when the skills the job needs already exist, it is configuration. You name the robot, describe the layout and the objects, and set the rules for the task.

A tool creates the setup for the new job from the nearest existing one. Stacking blocks on the UR5 needs under 100 lines of its own code, because everything else is shared.

The UR5 stacked its first tower of blocks on its first day moving under MRCF. Packing hand tools into a box was then set up in a day from that task. By the evening the robot was putting a hammer and a screwdriver into the box, run after run.

No training data and no big computer. A new task does not start with weeks of recorded demonstrations. It starts with the skills that already exist. MRCF was developed on a laptop and can run entirely on one. Set up that way, your camera images never leave the building.

Reliable and traceable

It does the same thing every time. A skill that works today works tomorrow, because it is code and not a statistical guess. When it fails, it fails for a specific reason. Fix that reason once and it stays fixed.

Tidying four objects into a tub is the example. The first run placed nothing. Four days later every object went in first try, in under two minutes. Each step in between was one fault found and fixed.

Not every fault was dignified. The robot once announced that a plug was in the tub while the plug sat on the table. The cause was one faulty check, and fixing it took one change.

You can see why it failed. Every run is recorded on one timeline: what the robot saw, what it decided, each movement and each check. When something goes wrong, MRCF saves the camera frames and the steps that led up to it.

Every command passes through the same named stages, so a failure sits in exactly one of them. You read the record, find the stage and fix it. A model that maps camera to movement in one step gives you no such place to look.

You can adjust it as conditions change. A workplace does not stay still. Lighting changes, cameras get knocked and parts vary from batch to batch. A trained model can get worse as the real world moves away from the data it learned from, and the fix is new data and retraining.

MRCF checks its camera position on every scan, then corrects for a shift or stops. When something else changes, you adjust a setting or a rule and carry on. Nothing is retrained.

It is precise. Positions are measured by camera, not estimated by the AI model. On the hobby robot, a chess piece was placed 0.4 mm from its target.

Safety checks are built in. The robot's plan is a short list of steps, so it is checked against safety rules before anything moves. While the robot works, a camera watches the space around it and pauses it when anything else moves nearby. The first three times it stopped, the cause was my own feet. You set the limits for your own site: the work area, the force limits and the zone to watch. MRCF is not a certified safety system, and these checks do not replace a safety assessment of your own installation.

Built to change

Every part can be swapped. MRCF is modular. The robot, the gripper, the cameras, the AI model and the task are separate parts. You can change one without redoing the others.

A model trained end to end ties them together. It learns from one robot with one set of cameras, so moving a camera or adding a sensor usually means collecting data and training again.

In MRCF a new camera needs a calibration, which means measuring exactly where it is. It does not need a new model. A new robot needs one piece of connecting code, written from a template.

The two robots it has been tested on have different cameras, different grippers and different ways of sensing force. The same framework drives both.

It does not depend on which AI wins. I spent a long time trying to work out which kind of AI will end up running robots. Nobody knows yet, and new kinds of model keep arriving.

MRCF is built so that the answer does not have to be known. The AI is one replaceable part. Whatever does the thinking only has to choose from the skill list.

Today that is a general model that can see and read. It could also be one of the new decision models, such as TypeSafe AI's Jev or OpenAI's Decisions API. These are small, fast models that only choose from a list of options, which is the job MRCF gives its AI.

The skills, the safety checks and the records stay the same. What you build on MRCF today keeps working when the AI changes.

New skills do not break old ones. Teach a single large model a new task and it can get worse at the old ones. In MRCF each skill is separate, so adding one leaves the rest untouched.

The same holds across robots. Automated tests record how each robot behaves, so a change made for one cannot quietly alter another.

What you give up

Skills do not improve each other. Large end-to-end models get better at each task as they learn more tasks. MRCF does not work that way. Each skill is built and tested separately. In industrial work this matters less, because an operator cares that the jobs on their floor are done correctly every shift.

A new kind of movement is written as code. That used to be slow, specialist work. Today's AI coding assistants write most of it, and much of MRCF was built that way. A person still tests the skill on the real robot, and once it works it can be used in every task that needs it. What you cannot do is show the robot a task fifty times and have it copy you.

Some jobs do not suit it yet. MRCF works best with solid objects on a known work surface and a two-finger gripper. Folding cloth or handling soft, shifting material is hard to describe with measurements. Learned models are better placed there, and MRCF has a slot to run one as a single skill among the others.

The cameras have to be calibrated. MRCF works from measurements, so it has to know exactly where each camera is. A learned model skips this step, but its cameras have to stay where they were during training. MRCF comes with tools that do the calibration.

These are the right trade-offs for industrial work. A factory needs a robot that does a set list of jobs correctly, can be fixed when it fails, and can be changed without starting again.

Who it is for

Integrators. Setup is where the cost of a robot sits, and MRCF is built to cut it. A new job for a customer starts from one you have already delivered, with the safety checks already in place.

Every failure and every retry is recorded as it happens, so you can see a problem before the customer calls about it. Most fixes are a changed setting or rule, made on the spot. When they want a second task, you add it without retesting the first from scratch.

Startups. You can get a robot doing useful work without collecting data or training a model for each task. You do not need a compute budget. A robot and a camera are enough to begin. You can start on a cheap robot and move to an industrial one later, and keep your tasks.

Hobbyists. MRCF runs on the SO-101, a low-cost robot you can build at home. Add a camera and you can type instructions to it.

MRCF was built this way: by a small company, on a laptop, with two robots.

MRCF is open source for a practical reason. It runs close to the hardware, and every robot and every site is different. Teams need to be able to read the code and change it for their own setup. People should also be able to inspect software that moves a robot near them.

Where this goes

Most robots at work today are fixed in place in car factories, doing one job for years. General purpose robot brains are still years away, and businesses that want to automate cannot wait for them.

MRCF is meant as the foundation for the years in between. It is for automation that spreads to smaller factories, workshops and warehouses because it is cheap to set up and can be trusted once it is running.

Got a robot that keeps getting it wrong?

MRCF is free, open source and in alpha, so expect some rough edges. Clone it, run the tests and point it at your arm.

$ git clone https://github.com/mitos-robotics/MRCF