WireClaw
WireClaw is an AI agent that lives on an ESP32 and controls real hardware.
- Hardware:
- ESP32
- Difficulty:
- Intermediate
- Creator:
- M64GitHub
ESP32 agent with memory you configure by chatting.

By M64GitHub
- Posted
What it does
WireClaw is an AI agent that lives on an ESP32 and controls real hardware. Tell it what you want over Telegram, serial or NATS, and it wires up GPIO, sensors and relays.
What you need
- Runs offline
- Yes, per the source
- Difficulty
- Intermediate
- License
- No license stated
Parts
- ESP32 (board)
- AI model or service
- LLM agent, offline rule engine
Steps
- Difficulty
- Intermediate
- Install PlatformIO:
pip install platformio. - Configure:
cp data/config.json.example data/config.json. - Edit
data/config.json:wifi_ssid,wifi_pass,api_key,model(google/gemini-2.5-flash). - Build and flash the default ESP32-C6 target:
pio run -t uploadfs, thenpio run -t upload. - Connect via serial:
pio device monitorat 115200 baud.
Full instructions: View original
How it works
The LLM turns plain-language requests into automation rules that then run on the chip with no cloud or LLM in the loop, for example checking a sensor every 5 seconds or sending a Telegram alert. Notes and preferences persist to flash between reboots. It supports ESP32-C6, S3 and C3 and installs from a browser flasher.
Limits and caveats
- 4 MB flash required; smaller chips do not work with the OTA partition table and web installer.
- The memory file is limited to 512 characters.
- Up to 16 devices total, shared with physical sensors/actuators and built-in virtual sensors.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
Hardware
- ESP32
This page is a short summary written by HardwareLab. Build steps, code and photos belong to the creator; follow “View original” for the full project.
Featured? Add this badge
Built this? Paste the badge into your README. It links back to this page.
Markdown
[](https://hardwarelab.dev/projects/wireclaw/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/wireclaw/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w"><img src="https://hardwarelab.dev/badge.svg" alt="Featured on HardwareLab" width="188" height="20"></a>Related builds
All 23 in Local LLM Rigs & Edge Agents
ESP32 iPhone Agent
An ESP32-S3 board lets an AI model use a real iPhone: no computer at run time, no jailbreak.
- Seeed XIAO ESP32S3 (plain, 8MB PSRAM; any ESP32-S3 with native USB + PSRAM)
- iPhone on iOS 18+ with cellular data
- Lightning to USB Camera Adapter (Lightning iPhones only)
- +2 more
Intermediate4.8K

Muse Gadgets SDK
Meta’s open SDKs for connecting Muse to ESP32 and Raspberry Pi gadgets.
- ESP32 boards
- Raspberry Pi (3B+, 4, 5 or Zero 2 W) or another Linux computer with Bluetooth LE
Intermediate2.7K

Needle 2 ESP32
45M-parameter LLM offline on an ESP32-S3 turning English into valid commands.
- ESP32-S3
Advanced209
ESP32s3 LLM Cluster
Seven ESP32-S3s daisy-chained to run a 0.5B ternary LLM.
- 7x ESP32-S3 over SPI
Advanced259
Sources
- github.com/M64GitHub/WireClaw/blob/ad846145de0c05e0be6bd36202fb01ae2b37374c/README.md
- github.com/M64GitHub/WireClaw/blob/ad846145de0c05e0be6bd36202fb01ae2b37374c/README.md#L261-L261
- github.com/M64GitHub/WireClaw/blob/ad846145de0c05e0be6bd36202fb01ae2b37374c/docs/CONFIGURATION.md#L102-L102
- github.com/M64GitHub/WireClaw/blob/ad846145de0c05e0be6bd36202fb01ae2b37374c/docs/NATS.md#L128-L128