Blog post
Introducing buddy-lab
By Owen Hart, co-founder and CTO, Buddy Robotics
With help from Samir Khan, lead scientist, and Daniel Brooks, senior software engineer

Today we are sharing buddy-lab, an open-source repo with the code we use to teach Buddy to walk: our training recipe, practice worlds and 3D models of Buddy. With it, anyone can train walking skills for Buddy in simulation, with no robot on the desk.
Our team leans on a wide group of researchers, builders and makers who take the platform places we would never think of. They tell us what breaks and show us what is possible. When we build together, everyone learns faster.
Plenty of teams already build on Buddy, from university labs to small studios. With buddy-lab, they all now share one solid starting point for walking research.
There are many examples of robot training code out there already. We think buddy-lab adds something new with its focus on soft, safe movement around people.
What is in the repo
We are starting with two training tasks.
The first task trains a standard walk. The robot learns to walk at a set speed over mixed ground while random shoves try to knock it off balance. If you have trained a walking policy before, this will feel familiar, and we kept it that way on purpose so people have a clear baseline to build on.
The second task trains a gentle walk, and it is the part of this release we are most excited about.
Most walking robots are trained to stand firm. Push them and they push back. That works for staying upright, but we want our robot to give way when it shares a room with people. If you take Buddy by the arm, it should move with you, softly.
While it trains, we move the robot’s waist, arms and hands around as it walks, and we do not tell the policy which joints are being moved. We also reward smooth joint motion, so the robot moves the way it means to and not only the way it was told to.
Put those together and smooth starts to mean yielding. The robot learns that the right answer to an outside push is often to go along with it. This idea comes from how living things move. Bodies are not stiff. They absorb, adjust and give, and we think robots that live near people should do the same. The full method is in our tech notes.
This release also ships the Buddy robot models in the common open formats, with ready-to-run example policies for both tasks. The training setup runs on a widely used open simulator and comes with simple install steps and docs, so people can get going fast.
The code is released under an open license, and the robot models and example policies are free to share and adapt with credit.
What comes next
We believe the field moves faster when people can see the work, change it and push it further. If someone takes this idea somewhere we never imagined, that is a win for everyone building robots that live alongside people.
We will keep adding to buddy-lab with more training tasks and walking skills over time. After that, we plan to open up more of our simulation tools, starting with a simulated Buddy that runs the same software as the robot, so you can build and test end to end without the hardware.
We would love your help. Try it, break it, open an issue or send a fix. Tell us what is missing. If you train something cool, show us. Want a robot of your own to test on? Request a robot.