ESP-AI
ESP-AI is a low-cost framework for adding AI conversation to ESP32 hardware: you supply speech-recognition, LLM and TTS services and it handles the rest.
- Hardware:
- ESP32
- Difficulty:
- Beginner
- Creator:
- wangzongming
Low-cost framework to plug AI into ESP32 devices.

By wangzongming
- Posted
What it does
ESP-AI is a low-cost framework for adding AI conversation to ESP32 hardware: you supply speech-recognition, LLM and TTS services and it handles the rest.
What you need
- Difficulty
- Beginner
- License
- No license stated
Parts
- ESP32 (board)
- AI model or service
- multiple LLM/ASR/TTS providers
Full instructions: View original
How it works
A Node.js server package orchestrates the speech-recognition β LLM β TTS pipeline, and an Arduino/IDF library on the ESP32 handles audio in and out. It's added to an existing project as a dependency. An open platform offers hosted services, and docs are in Chinese, English and Japanese.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
Why it's interesting
ESP-AI packages the whole voice conversation chain, speech recognition, LLM or RAG, then TTS, as a dependency you add to an existing project, with a Node.js server side and Arduino or ESP-IDF code on the board. You supply the ASR, LLM and TTS services and ESP-AI handles the rest. The README lists customizable offline wake words and several wake-up methods (voice, button, serial port and the Tianwen ASRPro module), conversation interruption, recognition of user commands such as appliance control, and response tuning that balances service cost against speed. The authors also run an open platform with free ASR, TTS and LLM services where a custom voice can be cloned from a 15-second clip. Documentation is published in Chinese, English and Japanese, and it ships on npm.
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/esp-ai/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/esp-ai/?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 44 in Voice Assistants & Companions

Daedalus voice terminal
An ESP32 voice terminal for a home AI running OpenClaw.
- ESP32
- mic
- speaker
- +2 more
IntermediateAlex: ESP32 voice assistant with puppy eyes
A bare ESP32 voice assistant with animated OLED eyes.
- ESP32-D0WD-V3
- INMP441 I2S mic
- MAX98357A amp + 3W speaker
- +1 more
BeginnerLocal Xiaozhi on a Waveshare ESP32-S3 audio board
A Xiaozhi voice assistant that only talks to your own LAN server.
- Waveshare ESP32-S3-AUDIO-Board (ES8311/ES7210, dual mic AEC, amp, RGB LEDs)
IntermediateESP32-S3 voice frontend
An ESP32-S3 voice frontend that keeps GPIO and network actions local.
- ESP32-S3
- INMP441 I2S mic
- MAX98357A amp/speaker (Gerbers optional)
Intermediate