pycoClaw is a fully featured implementation of OpenClaw based on Micropython #18889
jetpax
started this conversation in
Show and tell
Replies: 3 comments 3 replies
-
|
Hi Jonathan, |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Its mainly Python , when you install you get the scripts , so in that sense yes, its already open, did you already look at them? |
Beta Was this translation helpful? Give feedback.
3 replies
-
|
how to setting config ,pls |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I've been building PycoClaw for a while and it kinda spiralled…
The short version: it's a full AI agent running on MicroPython on a $5 ESP32-S3. Not a "send a prompt and get a response" wrapper — a proper OpenClaw-compatible agent loop with recursive tool calling, context compaction, persistent memory (hybrid TF-IDF + vector search, SD card backed), multi-model routing, background tasks, the works.
A few MicroPython-specific notes that might be interesting to folks here:
Async architecture: fully uasyncio-based, non-blocking dual-loop design so WiFi, Telegram polling, and heartbeat all stay alive during multi-step agent reasoning.
C user modules: SSE (Server-Sent Events) streaming is handled by a native C parser — chunked HTTP parsing in pure Python was too slow and heap-hungry for real-time token delivery.
LVGL integration: touchscreen UI runs via the MicroPython LVGL bindings for boards with displays.
Memory on device: SD card-backed persistent memory with on-device TF-IDF + cosine similarity search. No cloud DB needed.
You can talk to it over Telegram or through its own PWA interface (Scripto Studio — a browser-based MicroPython IDE I built that handles flashing, file management, and live chat over WebREPL/WebRTC). PycoClaw installs as an extension, and there are other apps on ScriptoHub, but the Claw is the headline act.
And before anyone says WebREPL!!??, I actually defined a new IANA websocket sub-protocol https://github.com/jetpax/webrepl.git which uses binary frames exclusively over wss:// which is fast secure and reliable, so check that out if you always wanted a webREPL that works
Hardware: any ESP32-S3 with 8 MB flash + PSRAM. ESP32-P4 (RISC-V) also works. RP2350 support is in progress.
Getting started: hit the one-click web installer at pycoclaw.com, plug in your board, done.
GitHub Would love feedback — especially from anyone who's pushed MicroPython's async and memory limits on ESP32.
Beta Was this translation helpful? Give feedback.
All reactions