Skip to content
HardwareLab

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.

ESP-AI
No photo in the source; GitHub repository card, served from HardwareLab.

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 build guide

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.

Source: github.com/wangzongming/esp-ai#readme

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/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>