ESPAI
A unified AI API library for ESP32/Arduino with streaming, tool calling, async and conversation memory across providers.
- Hardware:
- ESP32 / S2 / S3 / C3
- Difficulty:
- Beginner
- Creator:
- enkei0x
One Arduino library for OpenAI, Claude, Gemini and Ollama.

By enkei0x
What it does
A unified AI API library for ESP32/Arduino with streaming, tool calling, async and conversation memory across providers.
What you need
- Difficulty
- Beginner
- License
- No license stated
Parts
- ESP32 / S2 / S3 / C3 (board)
- AI model or service
- OpenAI, Claude, Gemini, Ollama
Full instructions: View original
How it works
C++ provider abstraction with built-in TLS certificates.
Like this build? Get the weekly builds
Every Thursday: the 5 best gadget hacks you can copy. Free.
Built something? Submit a build
Hardware
- ESP32 / S2 / S3 / C3
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/espai/?utm_source=badge&utm_medium=referral&utm_campaign=launch_2w)HTML
<a href="https://hardwarelab.dev/projects/espai/?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 7 in Builder Tools
Embedded AI Harness
The AI writes, flashes and tests firmware on real hardware.
- ESP32 and other MCUs
Intermediate279
Sticky Remote
A reTerminal Sticky becomes a dedicated e-ink Apple TV and lights remote through Home Assistant.
- Seeed reTerminal Sticky (ESP32-S3, 3.97-inch 800×480 touch e-paper, 750 mAh battery, magnet back)
- USB-C cable
- Apple TV or another Home Assistant media_player
- +1 more
Beginner · Our suggestion6AI Fuel Gauge for Claude and Codex
A Waveshare ESP32 screen beside the keyboard that shows how much Claude and Codex allowance is left, so checking limits is just a glance.
- Waveshare ESP32 long-format display (exact model not named by the builder)
- Mac running a small usage service
Intermediate
Muse Gadgets SDK
Meta’s open SDKs for connecting Muse to ESP32 and Raspberry Pi gadgets.
- ESP32 boards
- Raspberry Pi (3B+, 4, 5 or Zero 2 W) or another Linux computer with Bluetooth LE
Intermediate2.7K
ESP32 iPhone Agent
An ESP32-S3 board lets an AI model use a real iPhone: no computer at run time, no jailbreak.
- Seeed XIAO ESP32S3 (plain, 8MB PSRAM; any ESP32-S3 with native USB + PSRAM)
- iPhone on iOS 18+ with cellular data
- Lightning to USB Camera Adapter (Lightning iPhones only)
- +2 more
Intermediate4.8K
unidex
A pocket e-ink OS that turns voice notes into Obsidian Markdown.
- Waveshare ESP32-S3 1.54" e-paper board
Intermediate83