Turn any robot into an intelligent agent. Swap AI brains — Gemini, GPT-4o, Claude — with one line of config. From unbox to agent in 5 minutes.
pip install opencastor
Why OpenCastor
OpenCastor decouples the brain from the body. Define your robot in YAML, pick your AI provider, and let the framework handle the rest.
Switch between Gemini, GPT-4o, and Claude with a single config change. No code rewrites. Ever.
Built-in drivers for PCA9685, Dynamixel, and serial devices. If it speaks I2C, CAN, or USB — Castor can drive it.
Interactive wizard with pre-built presets for popular Amazon robot kits. One command to install, one command to run.
Hard-coded safety layers prevent LLM hallucinations from causing physical damage. Emergency stop built into every loop.
Built on the open RCAN specification. Your configs are portable, validated, and ecosystem-ready.
Touch-friendly web dashboard with voice input, chat interface, and live camera feed. Works on any HDMI screen or phone.
The Magic Switch
Your robot's entire personality — brain, body, and behavior — lives in a single YAML file. Swap providers, tune latency, enable safety features. No recompilation needed.
View RCAN SpecAI Providers
OpenCastor normalizes every provider into a standard Thought object. Same input, same output. Your robot code never changes.
Supported Hardware
Pre-built presets for popular Amazon kits. Or bring your own config for any hardware.
| Manufacturer | Kit | Status | Driver |
|---|---|---|---|
| Waveshare | AlphaBot / JetBot | Supported | PCA9685 |
| Adeept | RaspTank / DarkPaw | Supported | PCA9685 |
| SunFounder | PiCar-X | Supported | PCA9685 |
| Robotis | Dynamixel X-Series | Supported | Dynamixel v2 |
| Custom | DIY / ESP32 / Arduino | Beta | Serial / GPIO |
Architecture
The brain never touches hardware. The hardware never calls an API. OpenCastor is the universal translator in between.
Open source. Apache 2.0. Built for the community.