The AI-ready robotics dev kit, with built-in remote control and VLA support.
Project description
phosphobot
phosphobot – CLI Toolkit for Robot Teleoperation and Action Models
A simple, community-driven middleware for controlling robots, recording datasets, training action models.
All from your terminal or browser dashboard.
Features
- Easy Installation: python module
- Web Dashboard: Instant access to an interactive control panel for teleoperation
- Dataset Recording: Record expert demonstrations with a keyboard, in VR, or with a leader arm
- Model Training & Inference: Kick off training jobs or serve models through HTTP/WebSocket APIs
phosphobot installation
Install the compiled version
Check out our compiled versions for installation on MacOS, Windows, and Linux without thinking about Python versions.
Install the python module
We recommend using uv:
# Install uv (if not already installed)
curl -LsSf https://astral.sh/uv/install.sh | sh
# Add phosphobot to your project
uv add phosphobot
You can also use pip.
pip install phosphobot
Install from source
For development or if you face issues with some submodule or version, you can install phosphobot from source.
-
Clone the phosphobot repo. Make sure you have git lfs installed beforehand.
git clone https://github.com/phospho-app/phosphobot.git --depth 1
-
Install uv to manage python dependencies. The recommended python version for dev is
3.10curl -LsSf https://astral.sh/uv/install.sh | sh
Then restart your terminal and verify that uv is in your path.
uv --version # should output: uv 0.7.10
-
Install nvm and Node.js. We recommend to manage Node versions via nvm.
# Install nvm curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
Then restart your terminal and verify:
command -v nvm # should output: nvm
Finally, install the latest Node.js:
nvm install node # “node” is an alias for the latest version
-
Build the app. (Linux and MacOS) From the root of the repo, run:
make
Which is a shortcut for the following command:
cd ./dashboard && ((npm i && npm run build && mkdir -p ../phosphobot/resources/dist/ && cp -r ./dist/* ../phosphobot/resources/dist/) || echo "npm command failed, continuing anyway") cd phosphobot && uv run phosphobot run --simulation=headlessOn Windows, run the full command to build the app.
Troubleshooting: pybullet won't compile on MacOS Silicon
This is a recurring issue with Mac Silicon (M1, M2, M3, M4, etc.) linked to pybullet.
-
Make sure you followed all the previous instructions in Install from source until you had the pybullet compilation error.
-
Sync submodules to get the patched version of pybullet. This should add files in the bullet3 folder.
git submodule update --init --depth 1
This adds a forked version of pybullet with a modified examples/ThirdPartyLibs/zlib/zutil.h to comments the lines with #define fdopen(fd, mode) NULL that break pybullet compilation on some verisons of MacOS.
- Go to the root of this github repo. Enable the python environment created by uv
source phosphobot/.venv/bin/activate
-
With the environment active, build and install pybullet using
setup.pycd bullet3 python setup.py build python setup.py install
Note: If you installed the XCode app, you may need to set the following flags to make the pybullet compilation work.
export LDFLAGS="-L/Library/Frameworks/Python.framework/Versions/3.10/1ib" export CPPFLAGS="-I/Library/Frameworks/Python.framework/Versions/3.10/include/python3.10" export CPFLAGS="$CPPFLAGS"
-
Edit the
phosphobot/pyproject.tomlto uncomment the following line:
[tool.uv.sources]
# Troubleshooting: on MacOS Silicon, you may need to compile pybullet from source.
# If so, follow the guide in the README.md file and uncomment the line below.
pybullet = { path = "../bullet3", editable = true } # <-- uncomment!
- Run
makeagain. You should now see logs similar to this. Note that the pybullet version is now tagged asphospho version. The date and time should also match.
Built pybullet @ file:///Users/nicolasoulianov/robots/robots/phospho
Built phosphobot @ file:///Users/nicolasoulianov/robot
Uninstalled 3 packages in 276ms
Installed 2 packages in 2ms
2025-07-16 23:04:07.468 | INFO | phosphobot.main:<module>:4 - Starting phosphobot...
sys.stdout.encoding = utf-8
░█▀█░█░█░█▀█░█▀▀░█▀█░█░█░█▀█░█▀▄░█▀█░▀█▀
░█▀▀░█▀█░█░█░▀▀█░█▀▀░█▀█░█░█░█▀▄░█░█░░█░
░▀░░░▀░▀░▀▀▀░▀▀▀░▀░░░▀░▀░▀▀▀░▀▀░░▀▀▀░░▀░
phosphobot 0.3.61
Copyright (c) 2025 phospho https://phospho.ai
2025-07-16 23:04:08.399 | DEBUG | phosphobot.utils:get_tokens:354 - Loaded dev tokens
pybullet build time: Jul 16 2025 23:03:57 (phospho version)
Dashboard & Control
After launching the server, open your browser and navigate to:
http://<YOUR_SERVER_ADDRESS>:<PORT>/
By default, the address is localhost:80
Here you can:
- Teleoperate your robot via keyboard, leader arm, or Meta Quest
- Record demonstration datasets (40 episodes recommended)
- Train and deploy action models directly from the UI
Adding a New Robot
You can extend phosphobot by plugging in support for any custom robot. Just follow these steps to install phosphobot from source on any OS:
-
Install phosphobot from source (see instructions just above)
-
Create your robot driver
In the directory
phosphobot/phosphobot/hardwareadd a new file, e.g.my_robot.py. Inside, define a class inheriting fromBaseRobot:from phosphobot.hardware.base import BaseRobot class MyRobot(BaseRobot): def __init__(self, config): super().__init__(config) # Your initialization here ... # Implement the BaseRobot's abstract methods here
We use pybullet (docs) as a robotics simulation backend. Make sure to add your robot's
urdfinphosphobot/resources/urdf. -
Make your robot detectable Open
phosphobot/phosphobot/robot.pyand locate theRobotConnectionManagerclass. Make sure your robot can be detected. -
Try in simulation first
-
When running phosphobot, use the
--only-simulationflag andconfig.ONLY_SIMULATIONto force theRobotConnectionManagerto detect your robot, even if it's not connected to hardware. You'll need to change theRobotConnectionManagerso that it's actually your robot that gets loaded. -
When running phosphobot, use the
--simulation=guiflag to display the pybullet GUI. This way, you can check if keyboard control and VR control actually work in simulation before trying it on hardware. Pay attention to the ways the joints bends and the limits set in the urdf.
Some general advice: go step by step, don't make any drastic movements, check what values you send to the motors before writing to them, keep your robot near mattresses if ever it falls, keep it away from pets, children, or expensive furniture.
-
Build and run the app again and ensure your robot gets detected and can be moved. Happy with your changes? Open a pull request! We also recommend you look for testers on our Discord.
Start building
- Docs: Full user guide at https://docs.phospho.ai
- Discord: Join us on Discord for support and community chat: https://discord.gg/cbkggY6NSK
- GitHub Repo: https://github.com/phospho-app/phosphobot
- Examples: Browse the examples
- Contribute: Open a PR to expand the examples, support more robots, improve the tool
License
MIT License
Made with 💚 by the Phospho community.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file phosphobot-0.3.82.tar.gz.
File metadata
- Download URL: phosphobot-0.3.82.tar.gz
- Upload date:
- Size: 14.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09fc733f0fc0667092cbac881e9a30ffeb39d05dd9725acc8218c347cb255b5c
|
|
| MD5 |
d58506c12ea95275013f67f9c4b6d704
|
|
| BLAKE2b-256 |
543d29bff0d02c93215b5a9d193b82a5dd8449a248c08a71faa521b832e1bfb1
|
File details
Details for the file phosphobot-0.3.82-py3-none-any.whl.
File metadata
- Download URL: phosphobot-0.3.82-py3-none-any.whl
- Upload date:
- Size: 14.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2aef5e9a5cb568145f258c97d7c8d03b0979a71f3739e9938dfbb2750a5deee
|
|
| MD5 |
335062ec74f46410bf426e8d7693308d
|
|
| BLAKE2b-256 |
eb241f3be55bbb6568b8d22417311ee7ec6d86ab92322d0eb999a7da6a2e3a0b
|