ESP32 AI Agent

AI That Lives on
the Wire

ESP32-C6 ESP32-S3 ESP32-C3

A self-contained AI agent on a $5 microcontroller. Chat with it over Telegram. It reads sensors, controls hardware, and creates automation rules that run forever.

wireclaw - serial

OpenClaw controls files. WireClaw controls wires.

OpenClaw lives in your laptop. WireClaw lives in the wall.

WireClaw turns intent into signals.

Sensors In. Signals Out.

In
Temp Light GPIO NATS Clock Serial
Out
LED GPIO Relay PWM Telegram NATS Serial

What Makes It Different

No Raspberry Pi. No Home Assistant. No YAML.
A real AI agent running on bare metal. Just talk.

$5 AI Agent

Full agentic AI on an ESP32. A reasoning, tool-calling AI agent on a chip that costs less than a coffee.

Rule Engine

Persistent local automation. Edge-triggered rules with multi-step chains and delays. No LLM. No cloud. Survives reboots.

sensor alert 5s LED red 10s LED off

Multi-Channel Control

Telegram bot, USB serial, or NATS. Same intelligence, any interface.

Agentic Tool Loop

Not just chat - a true agent. Reasons, calls 20 tools, observes results, iterates up to 5 times per request.

Persistent Memory

Tell it your favorite color is blue. Reboot. Ask it to set the LED to your favorite color. It writes to flash, loads on boot. 512 bytes that make it personal.

Your AI, Your Network

Run with OpenRouter, or go fully local with Ollama or llama.cpp. No API key, no internet, no cloud. Direct LLM calls from the ESP32 - no intermediary, no backend.

Web Config

Configure from any browser. Edit prompt, memory, and settings at device.local. No reflash needed.

Try the demo →

Serial Bridge

Connect any serial device - Arduinos, GPS modules, CO2 sensors. Read data as a sensor, send commands, trigger rules. All over UART.

Device Mesh

WireClaws talk to each other over NATS. Ask another device a question. Trigger cross-device rules. Build a network of $5 autonomous agents.

When Desktop Meets the Wire

Drop one skill into OpenClaw. Your desktop AI agent learns to talk to every WireClaw on your network - discover devices, read sensors, create rules. 30ms over NATS. Rules run forever, even after OpenClaw disconnects.

OpenClaw NATS WireClaw hardware

OpenClaw Integration →

How It Works

Two loops inside every ESP32. One thinks. One acts.

always-on

Rule Loop rulesEvaluate()

Sensors
Conditions
Actions

Every iteration. No network. No LLM. Reads sensors, checks conditions, fires actions. Supports multi-step chains with delays. Edge-triggered or periodic.

The AI creates the rules. The rules run without the AI.
on-demand

AI Loop

Message
LLM
20 Tools

Triggered by Telegram, serial, or NATS. Calls the LLM. Creates rules, registers devices, configures the system.

Ready to Put AI on the Wire?