Elixir / OTP / Robotics

Make robots.
Give them supervision.

Build things that wave, wobble, balance and occasionally surprise you—with Elixir and the BEAM keeping the software organised.

Open source · Apache 2.0 · Built on the BEAM

Meet the localsA little balance. A lot of personality.Lars Wikman’s balance bot. Press play to meet it.

Start with a little Elixir

Every robot starts
with an idea.

Define links, joints and motion limits in ordinary Elixir. Beam Bots turns that description into a robot model and a supervision hierarchy.

Keep geometry, units and constraints together. Add sensors and actuators where they belong in the topology.

Walk through the definition

The first tutorial needs Elixir 1.19+ and Beam Bots. Start with a robot definition; connect hardware when you’re ready.

Framework / OverviewIllustrative topology
A robot's structure becomes its supervision structure A base link branches into a sensor and a shoulder joint. The shoulder leads to an arm link, with a tool joint and its actuator supervised beneath it. The tool branch is outlined to illustrate a supervision boundary. SUPERVISED BRANCH base_linksensorshouldertool_jointactuator arm_link
  • base_link
    • sensor
    • shoulder
      • arm_link
        • tool_joint
          • actuator
Physical structure. Supervised processes.Links and joints organise the robot. OTP supervisors organise the work.
robot.exTopology example
defmodule MyRobot do
  use BB

  topology do
    link :base do
      joint :shoulder do
        type :revolute

        limit do
          lower ~u(-90 degree)
          upper ~u(90 degree)
          effort ~u(5 newton_meter)
          velocity ~u(60 degree_per_second)
        end

        link :arm
      end
    end
  end
end

One joint, explicit limits. Extend the same structure as your robot grows.

A few useful superpowers

Give your robot a helping hand.

Robotics brings concurrency, partial failure and changing state. The BEAM gives those problems a shared foundation.

Connect

Hardware, behind a common interface.

Wire sensors, actuators and controllers into your robot. Use existing drivers or implement the same behaviours for your hardware.

Browse packages on Hex

Supervise

Give failures a boundary.

Supervision follows the robot’s topology. Components run in separate processes, with OTP supervision to isolate failures and manage restarts.

Explore the architecture

Operate

Observe, coordinate, adjust.

Subscribe to sensor messages, solve motion with pluggable kinematics, and inspect your robot through Livebook or LiveView.

Read the guides

From the workbench

Things we’ve persuaded to move.

Robot arms, balance bots, and the occasional questionable idea. Here’s what people are building with Beam Bots.

Teleoperation

Robot see. Robot do.

Two SO-101 arms running teleoperation on Beam Bots. Demonstration by Damir Batinović.

Read the development notes
Feedback & control

Look, no hands. Okay, one remote.

An NSK Balance Bot driven from a Goatmire badge running AtomVM. Demonstration by Gus Workman.

Read the build story

Notes from the workbench

Built in the open.

All updates

December 2026: I See What You Did There

Still taking a break, still making robots: working on Hubris brings me joy, and this month that means camera support and our first vision estimator.

October 2026: Goats, Cats and Balance Bots

Back from Goatmire: a workshop rescued by hand-flashing, a talk with two robot arms and a HAL 9000 theme nobody noticed, and a balance bot that went home, learned to drive, grew a face and got a remote control. Plus kits, two new packages, and a disarm that told fibs.

An open-source project

Bring your hardware.
And your “what if?”

Got a spare servo, a half-built robot, or an idea that won’t leave you alone? Come build with us. Drivers, bug reports, questions and tales from the workbench are all welcome.

Supported by

Thank you to the people and organisations supporting this work.

Sponsor Beam Bots