logo
11
6
WeChat Login

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-OS support via OSAL (FreeRTOS, RT-Thread, Linux). 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, RT-Thread and Linux with zero code changesDone
GatewayThread-safe message routing between servicesDone
NetworkingEthernet (QEMU) and WiFi (real hardware); HTTP client for API callsDone
IM IntegrationsFeishu (Lark) WebSocket + Telegram HTTP long polling; planned: DingTalk, QQDone
Web Flash & SerialBrowser-based firmware flash (esptool-js) and serial terminal with ANSI color renderingDone
Multi-Model APIClaude native API + OpenAI-compatible format (GPT, DeepSeek, GLM, MiniMax, Grok, Moonshot, Baichuan, Qwen, Doubao, Llama/Ollama); auto-detect by model nameDone
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) | FreeRTOS(standalone) | RT-Thread | Linux | +----------------+----------------------+--------------+---------+ | ESP32-C3 / S3 | QEMU Zynq-A9 (GEM) | vexpress-a9 | Native | +----------------+----------------------+--------------+---------+

Supported Platforms

PlatformTargetOSBuildStatus
ESP32-C3QEMU, xiaozhi-xmini, generic devkitFreeRTOS (ESP-IDF)Meson + CMakeVerified
ESP32-S3QEMU, real hardwareFreeRTOS (ESP-IDF)Meson + CMakeVerified
Zynq-A9QEMUFreeRTOS (standalone)Meson (full firmware)Verified
vexpress-a9QEMURT-ThreadMeson + SConsVerified
LinuxNative (x86_64, aarch64)Linux (pthreads)MesonVerified

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.

License

MIT

About

Making AI Assistants Cheap Again!

12.80 MiB
11 forks6 stars79 branches0 TagREADMEMIT license
Language
C69.6%
HTML9.2%
Perl7.5%
Python5.1%
Others8.6%