logo
0
0
WeChat Login
Forkfromgevico.online/rtclaw/rt-claw, behindmain270 commits

RT-Claw

Making AI Assistants Cheap Again

Discord QQ Group Telegram Bilibili MIT License

中文 | English

RT-Claw is an OpenClaw-inspired intelligent assistant for embedded devices. Multi-RTOS support via OSAL. Build swarm intelligence with networked nodes. ESP32-S3 WiFi support adapted from MimiClaw.

Deploy your own AI assistant on hardware that costs just one dollar — seamlessly integrated into your daily workflow, efficiently bridging the digital and physical worlds.

RT-Claw Demo — AI drawing on LCD via Tool Use

Getting Started · Usage · Architecture · Porting · Tuning · Contributing

Features

FeatureDescriptionStatus
LLM Chat EngineInteractive conversation with LLM API over HTTPDone
Tool UseLLM-driven function calling to interact with hardware and services; 30+ built-in toolsDone
SkillsComposable multi-tool workflows; AI can create, persist, and execute skills that orchestrate multiple toolsDone
Conversation MemoryShort-term RAM ring buffer + long-term NVS Flash persistent storage; AI can save/delete/list memoriesDone
Swarm IntelligenceNode discovery, heartbeat, capability bitmap, remote tool invocation across nodesDone
Scheduled TasksTimer-driven task execution and periodic automation; AI can create/list/remove tasksDone
Chat-first ShellUART REPL with insert-mode editing, tab completion, UTF-8; direct input goes to AI, /commands for systemDone
OSALWrite once, run on FreeRTOS and RT-Thread with zero code changesDone
GatewayThread-safe message routing between servicesDone
NetworkingEthernet (QEMU) and WiFi (real hardware); HTTP client for API callsDone
IM IntegrationsFeishu (Lark) via WebSocket long connection; planned: DingTalk, QQ, TelegramIn Progress
Web Flash & SerialBrowser-based firmware flash (esptool-js) and serial terminal with ANSI color renderingDone
Multi-Model APISupport mainstream LLM APIs: Claude, GPT, Gemini, DeepSeek, GLM, MiniMax, Grok, Moonshot, Baichuan, Qwen, Doubao, Llama (Ollama)Planned
Web Config PortalLightweight built-in web page for configuring API keys, selecting models, and tuning parameters at runtimePlanned
Claw Skill ProviderServe as a skill for other Claws, giving them the ability to sense and control the physical worldPlanned

Architecture

+--------------------------------------------------------------+
|                     rt-claw Application                      |
|    gateway | net | swarm | ai_engine | shell | sched | im    |
+--------------------------------------------------------------+
|                      skills (AI Skills)                      |
|             (one skill composes multiple tools)              |
+--------------------------------------------------------------+
|                       tools (Tool Use)                       |
| gpio | system | lcd | audio | http | scheduler | memory      |
+--------------------------------------------------------------+
|                    drivers (Hardware BSP)                    |
| WiFi | ES8311 | SSD1306 | serial | LCD framebuffer           |
+--------------------------------------------------------------+
|                  osal/claw_os.h (OSAL API)                   |
+-------------------+------------------------------------------+
| FreeRTOS (IDF)    |                RT-Thread                 |
+-------------------+------------------------------------------+
| ESP32-C3 / S3     |             QEMU vexpress-a9             |
+-------------------+------------------------------------------+

Supported Platforms

PlatformTargetRTOSBuildStatus
ESP32-C3QEMU, xiaozhi-xmini, generic devkitESP-IDF + FreeRTOSMeson + CMakeVerified
ESP32-S3QEMU, real hardwareESP-IDF + FreeRTOSMeson + CMakeVerified
vexpress-a9QEMURT-ThreadMeson + SConsVerified

Quick Start

# 1. Install ESP-IDF + QEMU (one-line setup)
./scripts/setup-esp-env.sh

# 2. Set your API key
export RTCLAW_AI_API_KEY='<your-api-key>'

# 3. Build and run on QEMU
make build-esp32c3-qemu
make run-esp32c3-qemu

No hardware? No problem. Try the CNB Cloud IDE — all toolchains pre-installed, build and run in your browser.

For real hardware (ESP32-S3/C3), WiFi setup, Feishu bot, and more — see the Getting Started Guide.

Community

Join the GTOC (Gevico Open-Source Community) channels:

Acknowledgments

Inspired by OpenClaw, Nanobot, and MimiClaw.

Star History

Star History Chart

License

MIT

About

Making AI Assistants Cheap Again!

Language
C64.4%
HTML13.7%
Perl11.8%
Shell3.8%
Others6.3%