espressif/esp-claw

ESP-Claw, a "Chat Coding" AI agent framework for IoT devices

What it solves

ESP-Claw transforms traditional IoT devices from passive executors of commands into active decision-making centers. It allows users to define device behavior through conversation (Chat Coding) instead of traditional programming, enabling the device to handle sensing, decision-making, and execution locally on ESP32-series chips.

How it works

The framework implements an Agent Runtime on Espressif chips. It uses a combination of IM chat interfaces (like Telegram or WeChat) and dynamic Lua loading to allow users to define behaviors. The system is event-driven, meaning any event can trigger the Agent Loop for millisecond-level responses. It also supports structured memory to keep privacy off the cloud and utilizes the Model Context Protocol (MCP) for communication, acting as both a server and a client.

Who it’s for

IoT developers and hobbyists using ESP32-S3, ESP32-P4, ESP32-C5, and ESP32-S31 chips who want to build intelligent, autonomous edge agents without needing to write extensive local code.

Highlights

  • Chat as Creation: Define device behavior via IM chat without traditional programming.
  • Event-Driven Architecture: Fast, millisecond-level responses to triggers.
  • Structured Memory: Localized memory organization for improved privacy.
  • MCP Support: Compatible with standard Model Context Protocol devices.
  • Broad LLM Compatibility: Supports OpenAI, Anthropic, Alibaba Cloud Bailian, and DeepSeek APIs.
  • Easy Deployment: Supports one-click browser-based flashing for many development boards.

Related

  • Project
  • Project
  • Project
  • Project
  • Project