█

AI/TLDR

Buy me a coffee
Buy me a coffee

Willow

Self-hosted, privacy-focused voice assistant firmware for the ESP32-S3-BOX

Assistants & ChatbotsOpen source
Language
C
License
Apache-2.0
IN SHORT

What is Willow?

Willow is open-source firmware, built on Espressif's ESP-IDF, that turns an ESP32-S3-BOX into a self-hosted smart-speaker front end. It sits in the Assistants & Chatbots category of the Agents & Automation tools and is open-source, written in C and licensed Apache-2.0. To get started: run the Willow Application Server.

Overview

ESP32-S3-BOX-3 in its white dock showing the Willow logo on its touchscreen
Willow running on the ESP32-S3-BOX-3, the project's primary hardware targetWillow docs ↗

Willow is open-source firmware, built on Espressif's ESP-IDF, that turns an ESP32-S3-BOX into a self-hosted smart-speaker front end. Its stated goal is Amazon Echo/Google Home competitive performance, accuracy and cost with Home Assistant, openHAB and other platforms, on commercially available hardware the project puts at roughly $50 plus a USB-C power supply. Nothing depends on a vendor cloud: you can build and flash the firmware yourself, run it on a network without internet access, or proxy its traffic to inspect it.

The project is deliberately narrow about its job. The device listens for a wake word ("Hi ESP" or "Alexa"), uses voice-activity detection to tell when you have stopped talking, cleans the audio with automatic gain control, acoustic echo cancellation and noise suppression, then either streams it to a speech-to-text server or recognises the command on the device itself. The resulting text is sent to a command endpoint — Home Assistant, openHAB or any HTTP POST target — and the device plays a success/failure tone or speaks the reply, showing the transcript on its screen.

VideoThe demo video embedded on the Willow docs home pageTovera ↗

Willow is one piece of a small stack. The Willow Application Server (WAS), run as a Docker container, handles configuration, over-the-air firmware updates and basic monitoring for every device; Willow Web Flash does the first flash from the browser; and the separate Willow Inference Server (WIS) provides GPU-optimised Whisper speech recognition, text-to-speech and optional LLM pass-through for fully self-hosted transcription. The firmware repository is Apache-2.0 licensed and written in C; its 0.4.3 release shipped on 2026-07-21 with concurrency and memory-correctness fixes.

What it does

  • Wake word engine ("Hi ESP" or "Alexa", user selectable) with voice-activity detection to end listening automatically
  • Audio front end with automatic gain control, acoustic echo cancellation, noise suppression and blind source separation, tested for far-field wake and recognition at roughly 25 feet
  • Two recognition modes: stream audio to the Willow Inference Server for full speech-to-text, or recognise up to 400 commands entirely on the device with ESP-SR MultiNet
VideoTechnical deep dive into how Willow and the Willow Inference Server achieve their response timesTovera ↗
  • Command endpoints for Home Assistant, openHAB and generic REST APIs — anything that accepts an HTTP POST can receive the transcript
  • Willow Application Server for fleet-wide configuration and over-the-air updates, caching firmware so devices can update on an isolated network
  • Colour LCD and capacitive touchscreen support on the ESP32-S3-BOX-3, plus optional audio compression for congested 2.4 GHz Wi-Fi

Getting started

Willow needs its Application Server running before you flash a device. The quick-start guide on heywillow.io walks through WAS, the browser-based flasher and the device itself; supported hardware is the ESP32-S3-BOX family (the docs recommend the BOX-3 and advise against the Lite).

Run the Willow Application Server

Start WAS as a Docker container on a machine on the same network as the device.

bashbash
docker run --detach --name=willow-application-server --pull=always --network=host --restart=unless-stopped --volume=was-storage:/app/storage ghcr.io/heywillow/willow-application-server

Open the WAS web interface

Find the host's IP address, then browse to it on port 8502 (for example http://192.168.1.1:8502).

bashbash
ip route get 1.1.1.1 | grep -oP 'src \K\S+'

Configure connectivity and the command endpoint

On the Configuration tab, enter your WAS URL and Wi-Fi credentials under Connectivity, then pick your Willow Command Endpoint (such as Home Assistant or openHAB) under Main settings and save both sections to reveal the Willow Web Flash link.

Flash the device from the browser

Open Willow Web Flash in Chrome/Chromium, Edge or Opera (the Web Serial API is required), click Connect, pick the device's port, confirm Wi-Fi and the WAS URL, choose your hardware type and click Flash. After a few minutes the device should appear on the WAS Home or Clients tab.

Optionally self-host speech recognition

For fully self-hosted transcription, deploy the Willow Inference Server (NVIDIA driver and nvidia-container-toolkit recommended) and point Willow at https://<your host>:19000/api/willow.

bashbash
git clone https://github.com/toverainc/willow-inference-server.git && cd willow-inference-server
./utils.sh install
./utils.sh gen-cert [your hostname]
./utils.sh run

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Reach for it when you want to replace an Echo or Google Home with a voice front end that never sends audio to a vendor cloud
  • Reach for it when adding voice control to Home Assistant or openHAB using off-the-shelf ESP32-S3-BOX hardware
  • Reach for it when a small set of device commands must work with no server at all, via on-device MultiNet recognition
  • Reach for it when you need a wake-word microphone that forwards transcripts to your own HTTP endpoint or automation

How Willow compares

Willow alongside other open-source assistants & chatbots tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
OpenClaw★ 395kOpenClaw is a self-hosted personal AI assistant that answers you on WhatsApp, Telegram, Slack, Discord, and many other channels, with voice and a live visual canvas.
Hermes Agent★ 267kA self-improving personal AI agent from Nous Research that builds skills from experience, remembers across sessions, and reaches you on Telegram, Discord, Slack, and more.
Odysseus★ 96.1kA self-hosted AI workspace that puts chat, agents, deep research, documents, email, notes, tasks and calendar behind one Docker Compose stack, over local or API models.
CowAgent★ 48.2kA self-hosted assistant that plans and executes tasks with built-in file, terminal, browser and search tools, and answers across a web console plus a dozen messaging platforms.
AstrBot★ 47.8kAn all-in-one agent chatbot platform that puts LLM conversations, tools, knowledge bases and a plugin marketplace inside messaging apps like Telegram, Slack, Discord, QQ and Feishu.
OpenHuman★ 43kA local-first desktop personal AI for macOS, Windows and Linux that keeps a compressed memory tree on your machine and orchestrates checkpointed research and automation workflows.
MindsHub★ 39.9kAn agent workspace for knowledge work and software development that runs swappable open-source agent harnesses against your choice of frontier or open models.
Willow★ 3.1kSelf-hosted, privacy-focused voice assistant firmware for the ESP32-S3-BOX