Privacy-first, self-hosted AI life hub: home automation, a touch/voice UI, and a local-LLM agent stack that runs entirely on your own hardware. No cloud account required for the core experience.
Heads up — this is a real, hardware-specific deployment, not a one-command demo. Zoe is developed and run on an NVIDIA Jetson Orin (aarch64 + CUDA) with a locally-built
llama.cpp. It will run on other Linux hosts, but the LLM and voice steps assume Jetson/CUDA and will need adjustment elsewhere (see HARDWARE_COMPATIBILITY.md). Read the whole Install section before starting.
Zoe is a split stack — Docker for the stateful/edge services, host-native systemd user services for the latency-sensitive ones.
| Layer | Service | Port | How it runs |
|---|---|---|---|
| Data | zoe-database (PostgreSQL + pgvector) |
5432 | Docker |
| Auth | zoe-auth |
8002 | Docker |
| UI | zoe-ui (nginx) |
80/443 | Docker |
| Home | homeassistant + homeassistant-mcp-bridge |
8123 | Docker |
| Brain (LLM) | llama-server (Gemma 4 E4B-QAT + MTP, llama.cpp) |
11434 | systemd (host) |
| API | zoe-data (primary backend: chat, memory, Skybridge) |
8000 | systemd (host) |
| STT | Moonshine v2 Medium (in-process in zoe-data) |
— | systemd (host) |
| TTS | kokoro-tts (Kokoro → Edge TTS → espeak-ng waterfall) |
10201 | systemd (host) |
| Layer | Service | Port | Notes |
|---|---|---|---|
| Brain sidecar | flue-zoe-brain-2x |
3579 | Flue 2.x Pi-Agent brain, enabled via ZOE_BRAIN_BACKEND=flue |
| Router | functiongemma-router |
11436 | Two-stage router stage-2 decoder (FunctionGemma-270M) |
| Music | zoe-music-assistant (Music Assistant) |
8095 | Docker module (docker-compose.modules.yml), proxied at /modules/music-assistant/ |
The brain, STT, and TTS models above are locked — Gemma 4 E4B-QAT+MTP (brain), Moonshine v2 Medium (STT), Kokoro (TTS). See docs/CANONICAL.md. Boot order matters and is documented in docs/guides/OPERATOR_RUNBOOK.md.
Brain dispatch. services/zoe-data/brain_dispatch.py selects the brain,
configured lane order flue > core — both sharing the same Gemma 4 rock on
llama-server. services/zoe-core (the Pi agent) is the wired default core
lane; flue is the opt-in sidecar. That order is configured lane selection,
not runtime failover (failover behind ZOE_BRAIN_FAILOVER, default off): with
flue selected and its sidecar down, turns fail on that lane rather than falling
through to core. The active layout is described in
docs/guides/REPO_LAYOUT.md.
- Host: Linux. Reference target is NVIDIA Jetson Orin (JetPack 6, CUDA 12.6).
- Docker + Docker Compose plugin.
- Python 3.10+ with
pip(host-native services run on system Python). - A GGUF chat model for
llama-server(~8 GB VRAM for the reference model). - The repo is expected at
~/assistant. Some setup scripts assume that path.
One idempotent script does the whole host: generates .env secrets, starts the
Docker spine, runs Postgres migrations, downloads the Gemma 4 brain, and installs
the host-native systemd services.
git clone https://github.com/jason-easyazz/zoe-ai-assistant.git ~/assistant
cd ~/assistant
./scripts/setup/install-jetson.sh # add -y for non-interactiveIt's re-runnable — existing .env, models, and running services are left in
place. After it finishes, fill in the user-supplied values it flags in .env
(HA_ACCESS_TOKEN, and cloud *_API_KEYs only if you use the cloud agent
tiers). Useful flags: --skip-models, --skip-docker, --skip-systemd,
--with-router, --models-dir DIR (--help for all).
llama.cpp is platform-specific. The installer downloads the model but does not build llama.cpp. If the
llama-serverbinary isn't present it says so and skips enabling that unit; build llama.cpp for your platform, point~/.config/systemd/user/llama-server.serviceat your binary + GGUFs, thensystemctl --user enable --now llama-server. See HARDWARE_COMPATIBILITY.md.
Optional add-on modules (e.g. Music Assistant on :8095):
docker compose -f docker-compose.modules.yml up -d music-assistantStep-by-step equivalent of the quick installer
git clone https://github.com/jason-easyazz/zoe-ai-assistant.git ~/assistant
cd ~/assistant
# Secrets — generate strong values for POSTGRES_URL/password + tokens
cp .env.example .env
cp services/zoe-data/.env.example services/zoe-data/.env
# Docker spine
docker compose up -d zoe-database zoe-auth zoe-ui homeassistant homeassistant-mcp-bridge
# PostgreSQL migrations (alembic + auth DDL)
./scripts/deploy/migrate.sh
# Local brain — Gemma 4 E4B-QAT + MTP drafter
./scripts/setup/download_gguf_models.sh
# Host-native services (edit llama-server.service for your binary + model path)
cp scripts/setup/systemd/*.service ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now llama-server zoe-data kokoro-ttsSee scripts/setup/systemd/README.md for the host-native services and OPERATOR_RUNBOOK.md for start/stop order and troubleshooting.
curl -f http://localhost:8000/health # zoe-data backend
curl -f http://localhost:8002/health # zoe-auth
docker compose ps- UI:
https://localhost(orhttp://localhost) - API docs:
http://localhost:8000/docs - Home Assistant:
http://localhost:8123
# Restart backend after Python changes
systemctl --user restart zoe-data
# Restart UI after nginx/HTML changes
docker compose restart zoe-ui./RESTART_SERVICES.sh restarts the common set. The full "restart after X"
matrix is in the OPERATOR_RUNBOOK.md.
Zoe supports a kiosk touch panel on a separate Linux device (Raspberry Pi). One script provisions it over SSH — kiosk UI and the wake-word/voice daemon:
./scripts/setup/install-pi.sh \
--host <TOUCH_PANEL_IP> \
--user <USER> \
--server-url https://<ZOE_SERVER_IP> \
--panel-id zoe-touch-piMint a panel device token on the host (admin: POST /api/panels/<panel-id>/token)
and pass it with --device-token to enable voice auth in the same run. Use
--skip-voice / --skip-kiosk to run just one half; --help for all flags.
The underlying pieces live in scripts/setup/touchscreen/ and
scripts/setup/pi_voice_daemon_install.sh; guides in docs/guides/.
| Doc | What it covers |
|---|---|
| QUICK-START.md | Start/stop cheat sheet |
| docs/guides/OPERATOR_RUNBOOK.md | Boot order, env vars, troubleshooting |
| docs/guides/REPO_LAYOUT.md | Where things live |
| HARDWARE_COMPATIBILITY.md | Platform notes (Jetson/Pi/x86) |
| CAPABILITIES.md | Agent tiers + MCP tool inventory |
| CHANGELOG.md | Release history |
| AGENTS.md | Conventions for AI coding agents in this repo |
MIT — see LICENSE.