Metadata-Version: 2.4
Name: r2r-protocol
Version: 0.1.0
Summary: Robot-to-Robot (R2R) Communication Protocol SDK in Python
Author-email: Tech-Parivartan <techparivartan022@gmail.com>
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# 🤖 Robot-to-Robot (R2R) Communication Protocol

> A standardized communication protocol for autonomous robots to exchange data, coordinate tasks, and collaborate in real-time environments.

[![License](https://img.shields.io/badge/license-MIT-blue.svg )](https://opensource.org/licenses/MIT )

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.

## 🧩 Features

- Structured JSON/Protobuf messaging
- Supports TCP/IP, UDP, MQTT, WebSocket
- Task negotiation (auction, consensus)
- Status & telemetry updates
- Optional authentication
- Extensible via plugins/modules

## 📦 SDKs

- [x] Python (in progress)
- [ ] Rust
- [ ] C++
- [ ] Go
- [ ] JavaScript

## 📘 Documentation

See the full [Protocol Specification](docs/spec.md).

## 🚀 Quick Start

```bash
pip install r2r-protocol
```


from r2r-protocol import RobotClient

client = RobotClient(robot_id="bot_01", host="192.168.1.10")
client.send_status({
    "battery": 85,
    "position": {"x": 10.2, "y": 5.1},
    "task_progress": 0.75
})
```

## 🛠️ Contributing 

Contributions welcome! Please read our [here](CONTRIBUTING_GUIDE.md).

