Skip to content
HardwareLab

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.

WireClaw
No photo in the source; GitHub repository card, served from HardwareLab.

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

Full build guide

Steps

Difficulty
Intermediate
  1. Install PlatformIO: pip install platformio.
  2. Configure: cp data/config.json.example data/config.json.
  3. Edit data/config.json: wifi_ssid, wifi_pass, api_key, model (google/gemini-2.5-flash).
  4. Build and flash the default ESP32-C6 target: pio run -t uploadfs, then pio run -t upload.
  5. Connect via serial: pio device monitor at 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

More ESP32 builds

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.

Featured on HardwareLab

Markdown

[![Featured on HardwareLab](https://hardwarelab.dev/badge.svg)](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>