[HN Gopher] Show HN: OpenClaw-class agents on ESP32 (and the IDE...
___________________________________________________________________
Show HN: OpenClaw-class agents on ESP32 (and the IDE that makes it
possible)
Author : pycoclaw
Score : 7 points
Date : 2026-03-12 21:38 UTC (1 hours ago)
(HTM) web link (pycoclaw.com)
(TXT) w3m dump (pycoclaw.com)
| pycoclaw wrote:
| Hi HN, I'm the creator of pycoClaw.
|
| I wanted to run OpenClaw-class, platform-agnostic, autonomous
| agents on MicroPython hardware, but standard tools couldn't
| handle the scale of the task.
|
| pycoClaw is the result, which bridges the gap between high-level
| AI reasoning and bare-metal execution.
|
| The Stack:
|
| - PFC Agent (~26k LOC): A full-featured agent that uses an LLM to
| 'self-program' its own local MicroPython scripts. Once a task is
| solved, it runs locally without requiring the LLM.
|
| - ScriptoStudio IDE: A PWA https://scriptostudio.com designed for
| the iteration speed required by autonomous agents. Since it's a
| PWA, it brings a full dev environment (including a real single-
| step debugger) to any platform, including iPadOS.
|
| - ScriptoHub ( https://scriptohub.ai ): A repository for "Skills"
| and extensions. Since the agent can generate and execute code, I
| built a curated hub with automated malware checking to ensure the
| community can safely share and deploy hardware logic.
|
| - IANA Protocol: To make the IDE fast and reliable, I registered
| a new WebSocket subprotocol (registry:
| https://www.iana.org/assignments/websocket/websocket.xhtml ).
| It's designed for high-frequency state sync and you can read the
| spec here:
| https://jetpax.github.io/webrepl/webrepl_binary_protocol_rfc...
|
| - Custom C Extensions: ~17,900 lines custom modules for
| MicroPython memory/ fast-path speed optimization
|
| Stats: 10k LOC platform, 26k LOC PFC agent, and ~18k LOC of
| custom C extensions to optimize MicroPython's memory and fast-
| path execution on the ESP32.
|
| Quick Start: You can flash the runtime to an ESP32S3 or P4 in one
| click via WebSerial at https://pycoclaw.com. Note that all
| flashing and serial communication happens entirely client-side in
| your browser.
|
| I'd love to hear your thoughts on the 'self-programming' model or
| the system architecture!
___________________________________________________________________
(page generated 2026-03-12 23:00 UTC)