GitHub - akdeb/open-toys: Local AI Toys and Companions with Arduino ESP32 and inference on your MacBook

3 min read Original article โ†—

๐Ÿ‘พ OpenToys

Make your own conversational Local AI Toys, Desk Companions, Robots and more with an ESP32. OpenToys enables multilingual realtime speech with voice cloning and runs fully on-device on Apple Silicon chips without sending your data to the cloud.

News

  • 2026-03-14: OpenToys launched๐ŸŽ‰ And it's Pi Day! If you're looking to run realtime AI models like OpenAI Realtime, Gemini, Eleven Labs and more on your ESP32 device, check it out here.

๐ŸŽฅ Demo Video

OpenToys Demo

App Design

OpenToys Demo

Why OpenToys?

  • Fully Local: NO cloud, NO subscriptions, NO data leaving your home, FREE AI forever.
  • Multilingual: OpenToys supports multiple languages and accents: English ๐Ÿ‡บ๐Ÿ‡ธ/๐Ÿ‡ฌ๐Ÿ‡ง, Chinese ๐Ÿ‡จ๐Ÿ‡ณ, Spanish ๐Ÿ‡ช๐Ÿ‡ธ, French ๐Ÿ‡ซ๐Ÿ‡ท, Japanese ๐Ÿ‡ฏ๐Ÿ‡ต, Korean ๐Ÿ‡ฐ๐Ÿ‡ท, Portuguese ๐Ÿ‡ต๐Ÿ‡น, German ๐Ÿ‡ฉ๐Ÿ‡ช, Italian ๐Ÿ‡ฎ๐Ÿ‡น and more!
  • Voice Cloning: Clone your own voice or your favorite characters with <10s of audio.
  • Customizable: Build your own toys, companions, robots and more with an ESP32.
  • Open-source: The community is open-source and free to use and contribute to.

Download & Install

๐Ÿš€ Quick Start (for development)

  1. Clone the repository with git clone https://github.com/akdeb/open-toys.git
  2. Install Rust and Tauri with curl https://sh.rustup.rs -sSf | sh
  3. Install Node from here
  4. Run cd app
  5. Run npm install
  6. Run npm run tauri dev

ESP32 DIY Hardware

ESP32 DIY Hardware Firmware Docs โญ๏ธ

Cards & Stories

Create experiences with personalities that can play games, tell stories, engage in educational conversations. Here are some of the default characters with more prompt details in personalities.json.

Stack

  • STT: Whisper Turbo ASR
  • TTS: Qwen3-TTS and Chatterbox-turbo
  • LLMs: any LLM from mlx-community (Qwen3, Llama, Mistral3, etc.)
  • App: Tauri, React, Tailwind CSS, TypeScript, Rust
  • Platform focus: Apple Silicon (M1/2/3/4/5)
  • Hardware device: ESP32-S3

โšก๏ธ Flash to ESP32

  1. Connect your ESP32-S3 to your Apple Silicon Mac.
  2. In OpenToys, go to Settings and click Flash Firmware.
  3. OpenToys flashes bundled firmware images (bootloader, partitions, firmware) directly.
  4. After flashing, the toy opens a WiFi captive portal (ELATO) for network setup.
  5. Put your Mac and toy on the same WiFi network; the toy reconnects when powered on while OpenToys is running.

๐Ÿ›ก๏ธ Safety Considerations

AI systems (local or cloud) are not perfect. This project is built with data privacy and safety in mind, but there are still important limitations:

  • Hallucinations: LLM and TTS models can give incorrect or misleading answers. This should not be treated as a source of truth.
  • Inappropriate outputs: Adversarial or ambiguous prompts can sometimes produce unsafe responses.
  • Emotional impact: AI should not replace real human interaction, especially for children.

When using with children, use with parental awareness and treat this as a tool for exploration, not authority.

Tested on โœ…

  1. M1 Pro 2021 Macbook Pro
  2. M3 2024 Macbook Air
  3. M4 Pro 2024 Macbook Pro

Project Structure

open-toys/
โ”œโ”€โ”€ app/
โ”œโ”€โ”€ arduino/
โ”œโ”€โ”€ resources/
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ python-backend/
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ firmware/
โ””โ”€โ”€ README.md

Python 3.11 runtime binary, packages and HF models are downloaded on first app setup into the app data directory.

License

MIT


If you like this project, consider supporting us with a star โญ๏ธ on GitHub!