Software-Defined Embodied AI: The Operating System for Robotics.
English β’ δΈζζζ‘£ β’ Quick Start β’ Architecture β’ Discord
"Stop building custom state machines. Start building intelligent agents."
ROSClaw is a visionary Embodied AI Operating System framework inspired by OpenClaw and the Entangled Action Pairs (EAP) paradigm. It acts as the ultimate bridge between Large Language Models (LLMs) (low-frequency reasoning) and the Robot Operating System (ROS 2) / VLA Policies (high-frequency physical control).
With ROSClaw, you can write your agent logic once and deploy it across humanoid, quadruped, or wheeled robots seamlessly.
- π€ Cross-Embodiment (Semantic-HAL): Powered by
e-URDF. Map high-level semantic intents (e.g., "Pick up the apple") to local hardware dynamics automatically. Your code runs on ANY robot morphology without modification. - π Cross-Tool (Embodied MCP): Native Model Context Protocol (MCP) integration. Every ROS Topic, Service, and Action is instantly translated into standard JSON schemas for LLMs to consume.
- π§ Cross-Algorithm (Brain-Cerebellum Router): The asynchronous bus linking 1Hz LLM reasoning with 100Hz+ Vision-Language-Action (VLA) control policies. Soft-real-time execution guaranteed.
- πΎ Cross-Format (Unified Trajectory Engine): OS-level data interception. ROSClaw automatically time-syncs and packages heterogeneous sensor data into standard RLDS / HDF5 formats for Open X-Embodiment training.
When a physical action fails, ROSClaw intercepts the error, triggers an inverse recovery policy to reset the environment, and logs the negative sample. Your robot gets smarter every single day, completely autonomously.
ROSClaw operates on a dual-node architecture, elegantly decoupling cognitive planning from physical execution:
graph TD
subgraph Brain [Cognitive Layer - 1Hz]
LLM[LLM / OpenClaw Agent]
TMA[Task Management Agent]
end
subgraph ROSClawOS[ROSClaw Semantic Middleware]
MCP[Embodied MCP Router]
HAL[Semantic-HAL / e-URDF]
SDA[System Diagnostic Agent]
DF[Data Flywheel Engine]
end
subgraph Cerebellum [Execution Layer - 100Hz+]
VLA[VLA Policy Plugins e.g., Ο0.5, OpenVLA]
ROS2[ROS 2 DDS Network]
HW[Physical Robot Hardware]
end
LLM <-->|JSON Schema| MCP
TMA --> MCP
MCP <--> HAL
HAL <-->|Semantic Intent| VLA
VLA <-->|Torque/Velocity| ROS2
ROS2 <--> HW
SDA -.->|Monitor & Auto-Recover| ROS2
HW -.->|Sensor Stream| DF
DF -.->|Auto-Package RLDS| Storage[(Training Dataset)]
Zero configuration. Native ROS 2 compatibility. Ready in 60 seconds.
# Ensure you have ROS 2 (Humble/Iron/Jazzy) installed and sourced
curl -sSL https://rosclaw.io/install.sh | bashCreate a Python file agent.py:
from rosclaw import EmbodiedAgent
# 1. Connect to ANY robot running the ROSClaw OS kernel
agent = EmbodiedAgent.connect("robot_ip")
# 2. Define a semantic task (No hardware-specific APIs needed!)
task = "Navigate to the kitchen, check if the table is clean. If not, pick up the trash."
# 3. Execute with OS-level safety and data collection
# Brain (LLM) plans -> Cerebellum (VLA) executes -> OS logs RLDS data
agent.execute(
task,
auto_recovery=True, # Enable Auto-EAP error recovery
record_rlds=True # Silently build your training dataset
)ros2 run rosclaw core_agent --script agent.py- v0.1: Embodied MCP Protocol & Dynamic ROS Tooling. -[x] v0.2: Asynchronous Brain-Cerebellum Routing.
- v0.5: Auto-EAP Recovery & RLDS Data Flywheel Integration.
- v1.0: Full e-URDF Support for Cross-Morphology (Humanoid & Quadruped) validation.
We are building the open standard for the future of robotics. Contributions from researchers, ROS engineers, and AI developers are highly welcome!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Please read ourCONTRIBUTING.md for details on our code of conduct and development process.
- OpenClaw: For the groundbreaking digital AI Agent framework and MCP architecture.
- RoboClaw Paper: For the inspiration on Entangled Action Pairs (EAP) and autonomous data collection loops.
- ROS 2 Community: For providing the robust DDS middleware that powers the physical world.
Distributed under the Apache 2.0 License. See LICENSE for more information.
rosclaw.io