" An world first open standardized protocol enabling communication for autonomous robots to exchange data, coordinate tasks, and collaborate in real-time environments in the age of AI ". r2r-protocol (Robot2Robot Protocol) is now officially open source! π
"pip install r2r-protocol"
Whether you're a developer, researcher, or tech enthusiast, we invite you to explore, use, and contribute to the project.
π Check it out here: [ https://github.com/Tech-Parivartan/r2r-protocol?tab=readme-ov-file ]
Let’s build the future together! π‘ AI Parivartan Research Lab Tech Parivartan Pvt. Ltd.
Documentation of the r2r-protocal : [ https://techparivartanai.notion.site/Robot-to-Robot-r2r-Protocol-1f008f0fb18780439d70e8b9bbbdb869 ]
Article on Huggingface about r2r-protocol : https://huggingface.co/blog/rawalraj/rawalraj#%F0%9F%A4%96robot-to-robot-r2r%F0%9F%A4%96-communication-protocol-r2r-protocol
The R2R Protocol enables seamless robot-to-robot interaction across industrial automation, swarm robotics, logistics, and multi-agent systems. It defines structured message formats, negotiation logic, discovery mechanisms, and extensible APIs.
r2r-protocol (Robot2Robot-Protocol)World first open standardized protocol for robot in the age of AI : https://www.youtube.com/watch?v=r0ziEC6G-Kg
r2r-protocol (Explaining video in english by discussion) short Podcast : https://www.youtube.com/watch?v=JnqJQLAps80&t=6s
r2r-protocol (Explaining video in nepali by discussion) Podcast : https://www.youtube.com/watch?v=f-CrQTvAAFs&t=2s
β Structured JSON/Protobuf messaging
β Supports TCP/IP, UDP, MQTT, WebSocket
β Task negotiation (auction, consensus)
β Status & telemetry updates
β Optional authentication
β Extensible via plugins/modules
β Docker-ready
β GitHub Actions CI/CD integration
β Python SDK published on PyPI
π Python β Stable sdk/python
Abstract architecture of the R2R protocol, showcasing the components and their interactions
π§ Install from PyPI
pip install r2r-protocol
from r2r_protocol import RobotClient
# Connect to R2R server
client = RobotClient(robot_id="bot_01", host="192.168.1.10")
# Send status update
client.send_status({
"battery": 85,
"position": {"x": 10.2, "y": 5.1},
"task_progress": 0.75
})
You can run the R2R SDK in a Docker container:
docker build -t r2r-sdk .
docker run -it r2r-sdk
To contribute or extend the protocol:
1) Clone the repo
git clone https://github.com/Tech-Parivartan/r2r-protocol.git
cd r2r-protocol
2) Set up Python environment
cd sdk/python
pip install -e .
3) Install test dependencies
pip install pytest
Run unit tests using:
cd tests
python -m pytest test_messages.py
#r2r_protocol #robot2robot_protocol #r2r #robot2robot #communication #protocol #opensource