ElatoAI
ElatoAI brings Realtime AI Speech powered by 100+ Voice AI models to the Arduino ESP32, with Secure WebSockets and Edge Functions for >20-minute uninterrupted conversations globally.
- Hardware:
- ESP32-S3, speaker
- Difficulty:
- Intermediate · Our suggestion
- License:
- MIT
- Creator:
- akdeb
Realtime voice AI with 100+ models on an ESP32
By akdeb
What it does
ElatoAI brings Realtime AI Speech powered by 100+ Voice AI models to the Arduino ESP32, with Secure WebSockets and Edge Functions for >20-minute uninterrupted conversations globally. You create AI agents in a Next.js web app and send them to your ESP32 device.
- Realtime speech-to-speech powered by OpenAI’s Realtime API, Gemini’s Live API, xAI’s Grok Voice Agent API, Eleven Labs Conversational AI Agents, Hume AI EVI4, and Boson Higgs Realtime.
- Create custom agents with different personalities and voices.
- Talk to your AI with WebRTC in the Next.js web app and with websockets on the ESP32.
- Control the volume of the ESP32 speaker, and the pitch of the AI’s voice for cartoon-like voices, from the web app.
- The ESP32 device does not require PSRAM to run the speech-to-speech AI.
- Call tools and functions from the ESP32 device to the edge functions for a complete voice AI agent.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
What you need
- Difficulty
- Intermediate · Our suggestion
- License
- MIT (source)
Parts
- ESP32-S3
- Speaker
- Button or touch sensor [optional]
- AI model or service
- OpenAI Realtime API, Gemini Live API, xAI Grok Voice Agent API, Eleven Labs Conversational AI Agents, Hume AI EVI-4, Boson Higgs Realtime (source)
Prices, notes and sources: Parts and requirements
Parts and requirements
As an Amazon Associate HardwareLab earns from qualifying purchases.
| Part | Spec / notes | Needed | Price |
|---|---|---|---|
| ESP32-S3 | IoT client in the tech stack table | Required | View on Amazon |
| Speaker | The web app controls the ESP32 speaker volume | Required | View on Amazon |
| Button or touch sensor | Optional | View on Amazon |
Steps
- Difficulty
- Intermediate · Our suggestion
- Quick Start
- Build with PlatformIO
- Build on Arduino IDE
- Deploy globally
Full instructions: View original
How it works
ElatoAI has three main components: a Next.js frontend hosted on Vercel to create and talk to your AI agents and send them to your ESP32 device; edge server functions on Deno Edge or Cloudflare Workers that handle the websocket connections from the ESP32 and the LLM provider API calls; and the ESP32 client (PlatformIO/Arduino), which sends audio to the LLM provider through the edge server.
| Layer | Component | Runs on |
|---|---|---|
| Frontend | Next.js | Vercel |
| Backend | Supabase DB | Supabase |
| Edge Functions | Edge server functions | Deno Edge or Cloudflare Workers |
| IoT Client | PlatformIO, Arduino Framework | ESP32-S3 |
Setup effort
Follow the Quick Start, then build with PlatformIO or the Arduino IDE.
Limits and caveats
- 2-3s cold start time while connecting to the edge server.
- Tested with up to 17 minutes of uninterrupted conversations; the edge server stops when wall clock time is exceeded.
- No speech interruption detection on the ESP32.
Use-case ideas
- Create a global network of devices and toys with Cloudflare Voice Agents and Durable Objects.
Why it's interesting
ElatoAI puts Realtime AI Speech powered by 100+ Voice AI models on an Arduino ESP32, using Secure WebSockets and Edge Functions for conversations of more than 20 minutes. Speech-to-speech runs through OpenAI’s Realtime API, Gemini’s Live API, xAI’s Grok Voice Agent API, Eleven Labs Conversational AI Agents, Hume AI EVI4 and Boson Higgs Realtime, and you can create custom agents with different personalities and voices. The ESP32 device does not require PSRAM to run the speech-to-speech AI, and audio streams with Opus compression over encrypted WebSockets. A Next.js web app lets you control the volume and the pitch of the AI’s voice, view your conversation history and factory reset the device, while the firmware gets over-the-air updates and Wi-Fi setup through a captive portal. The README lists its limits plainly: a 2-3 s cold start and no speech interruption detection on the ESP32.
Source: github.com/akdeb/ElatoAI#readme
Hardware
- ESP32-S3
- speaker
Credits and links
- ElatoAI (akdeb): Creator
- License: MIT (source)
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/elato-ai/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/elato-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 & CompanionsXiaoZhi ESP32
Firmware that turns ESP32 boards into MCP voice assistants, with an on-device wake word and streaming speech.
- ESP32-S3
- I2S mic
- speaker
- +1 more
Intermediate33KDaedalus voice terminal
An ESP32 voice terminal for a home AI running OpenClaw.
- ESP32
- mic
- speaker
- +2 more
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


KALO ESP32 Voice Chat AI Friends
Chat with several custom AI friends on an ESP32.
- ESP32
- mic
- speaker
Intermediate76
Sources
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L87
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L88
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L98
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L99-L107
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L105
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L108
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L27
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L128
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L99
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L104
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L125
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L126
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L127
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L35-L38
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L194
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L195-L196
- github.com/akdeb/ElatoAI/blob/18d35fcf21d02109a48990e35eaaa694b3376cfb/README.md?plain=1#L197