🤖Robot to Robot (r2r)🤖 Communication Protocol
" 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: [ Github link ]
Let’s build the future together! 💡
Documentation of the r2r-protocol : [ r2r-protocol documentation ]
Article on Huggingface about r2r-protocol : [ Article on Huggingface about r2r-protocol ]
Article on Linkedin about r2r-protocol : [ Article on Linkedin about 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 :
r2r-protocol (Explaining video in english by discussion) short Podcast :
r2r-protocol (Explaining video in nepali by discussion) Podcast :
🧩 Features
✅ 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
📦 SDKs
🐍 Python ✅ Stable sdk/python
r2r-protocol System Architecture :
Abstract architecture of the R2R protocol, showcasing the components and their interactions
Detailed architecture of the R2R protocol, showcasing the components and their interactions.
🚀 Quick Start (Python SDK)
🔧 Install from PyPI
pip install r2r-protocolfrom 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
})🐳 Run with Docker
You can run the R2R SDK in a Docker container:
docker build -t r2r-sdk .
docker run -it r2r-sdk⚙️ Development Setup
To contribute or extend the protocol:
1) Clone the repo
git clone https://github.com/Tech-Parivartan/r2r-protocol.git
cd r2r-protocol2) Set up Python environment
cd sdk/python
pip install -e .3) Install test dependencies
pip install pytest🧪 Running Tests
Run unit tests using:
cd tests
python -m pytest test_messages.py#r2r_protocol #robot2robot_protocol #r2r #robot2robot #communication #protocol
#opensource






🤖Robot to Robot (r2r)🤖 Communication Protocol