Is it safe to let an AI agent control a robot arm?

It can be, if the safety lives in code under the agent instead of in the prompt. Models take 2 to 15 seconds per decision and don't reliably respect speed or joint limits on their own. bot-use puts a 50 Hz control loop between the agent and the motors that clamps limits, caps speed, and stops on overload, heat, bad voltage or silence.

Why can't the model just be careful?

Two reasons. It's too slow: a servo needs a new goal 50 to 300 times a second, and a model needs seconds to think. And instructions aren't enforcement: a prompt that says "never exceed 30 degrees per second" is a suggestion. So the agent decides what ("go above the red block"), and code decides how, fast and within hard limits.

What does bot-use enforce?

Protection Rule What happens
Joint limits calibrated range minus 2 deg target clamped, the agent is told
Speed per-joint caps, slow by default per-tick step limit
Overload load above 85% for 0.3 s stop, fault latched
Overheat / voltage / motor flags confirmed on 3 readings in a row stop, fault latched
Agent goes quiet 20 s without a tool call during a motion stop and hold
Teleop deadman 0.4 s without a command hold
Two programs on one arm exclusive lock on the serial port the second one is refused
Shutdown goals set to the current position squeezes and pushes don't continue

Latched faults block new motion until the cause is fixed and clear_faults succeeds.

What did real hardware teach us?

What can't software do?

It reacts to load and tracking error, after contact; it doesn't see people. Limits come from calibration, so rearranging the workspace changes what's safe. An SO-101 pushes with a few newtons at the tip, which is the real safety margin. Anything stronger needs a hardware e-stop that cuts power.

FAQ

Can a jailbroken model make the arm dangerous? It can ask for anything, but every target still passes the same clamps and stops. Keep the workspace clear and the robot small.

What happens if the agent crashes mid-move? The heartbeat stops the motion and holds within 20 seconds; teleop holds within 0.4 s.

Should I let an agent run unattended? Not yet on hardware you care about. Watch it, keep STOP within reach.

Is the safety layer optional? No. Every path (SDK, MCP, HTTP, skills, teleop) goes through it.

By Dheeraj Pai ยท last updated 2026-11-22