Domdhi DMO
A desk companion modeled on BMO. It talks back, watches movies with you and remembers what you told it. Runs fully local, no cloud.
README
Domdhi.DMO
<p align="center"> <img src="characters/dmo/faces/idle/00.png" alt="DMO's face — minty rectangle with two pixel eyes" width="200" /> </p><p align="center"> <a href="https://github.com/Domdhi/Domdhi.DMO/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/Domdhi/Domdhi.DMO/actions/workflows/ci.yml/badge.svg?branch=main"></a> <img alt="Python" src="https://img.shields.io/badge/python-3.12-blue"> <img alt="Phase" src="https://img.shields.io/badge/phase%201-closed-success"> <img alt="License" src="https://img.shields.io/badge/license-Proprietary-lightgrey"> </p>A BMO-inspired AI companion that lives on your desk, watches movies with you,
remembers your dog's name, and screams when you unplug it.
What DMO is
A standalone AI companion device — picture BMO from Adventure Time, but it
actually runs. A small computer sits on your desk with a touchscreen face,
a microphone, a camera, and speakers. You say "Hey DMO" and it talks back.
It watches whatever you're watching on the second screen, has opinions about
it, remembers what you told it yesterday, and forgets what you ask it to forget.
Everything runs local. No cloud, no remote service, no network surface
beyond loopback. The hardware target for v1 is an Intel N100 mini-PC; v2 moves
to NVIDIA Jetson Orin Nano Super. The enclosure is 3D-printed.
It's a single-user, single-device project. You build one, you keep it, it
boots when you turn it on, and it's yours.
What works today
Phase 1 (software validation on bare N100) closed 2026-05-16. The full
voice + face + memory + vision + media-watching loop runs end-to-end on the
N100 with regular monitor + USB peripherals — no custom hardware yet. The
8 of 16 epics that make up Phase 1 are all shipped: custom "Hey DMO"
wake-word, Whisper.cpp STT, Ollama LLM with conversation history, Kokoro 82M
TTS with interrupt handling, Pygame-CE face renderer with lip-sync, USB
camera + Moondream VLM, sqlite-vec long-term memory with a nightly dailies
job, fullscreen DMO mode with hotkey toggle, character bundles, and the
Media Consigliere (two-display routing, watch context, transport voice
intents, watch journal, TMDb enrichment).
Phase 2 (touchscreen + KB2040 firmware + final HW selection) is next.
For the full picture — vision, requirements, architecture, ADRs, design, and
the implementation backlog — see docs/_project-context.md.
Quickstart (dev)
Prerequisites: Python 3.12, uv, and a
checkout of this repo. On a fresh machine, seedocs/setup/n100-bootstrap.md for the full
host setup (Ollama, Whisper.cpp, Kokoro, system libs).
# 1. Install uv (one-time)
curl -LsSf https://astral.sh/uv/install.sh | sh
# 2. Bootstrap the venv from pyproject.toml + uv.lock
cd Domdhi.DMO
uv sync --extra dev
# 3. Install openwakeword separately (no Python 3.12 tflite-runtime wheel; ONNX backend)
uv pip install --no-deps openwakeword
# 4. (One-time) install pre-commit hooks
uv run pre-commit install
# 5. Run DMO
uv run python -m dmo # or: uv run dmo
# 6. Run tests
uv run pytest
# 7. Lint, format, typecheck
uv run ruff check .
uv run ruff format .
uv run mypy src tests
Repo layout
src/dmo/ # the orchestrator package — face, voice, memory, vision,
# media, state, character, cartridge, tools, watch_journal,
# tmdb_client
tests/ # pytest suite (385 passing on CI; ~50 skipped behind
# hardware/network gates)
docs/ # planning + design + backlog
characters/ # character bundles (DMO + community packs); see ADR-008
# Bundles whose directory name starts with `_` are dev fixtures, not user-facing — use them for swap-mechanism testing, not as v1 alternate bundles.
systemd/ # dmo.service + dailies timer units
vendor/ # third-party source builds (whisper.cpp); gitignored
models/ # downloaded model weights (Kokoro ONNX, etc.); gitignored
.claude/ # agent definitions, skills, slash commands
Where to look next
| Want to... | Look at |
|---|---|
| Understand the vision | docs/_project-brief.md |
| Understand the requirements | docs/_project-requirements.md |
| Understand the tech stack + ADRs | docs/_project-architecture.md |
| See implementation status | docs/todo/_backlog.md |
| Find session continuity | docs/__handoff.md (when present) |
<details> <summary><strong>Deployment: systemd units (dmo.service + dailies timer)</strong></summary>
The dmo-dailies console script (Story 4.3) consolidates the prior day's
conversation and watch history into long-term memory. It runs at 03:00 local
time via a systemd timer. Unit files live in systemd/ at the repo root.
Installing the systemd units
Run these steps on the deployment machine as root (or with sudo):
# 1. Create the dmo system user (if not already present)
useradd --system --home /var/lib/dmo --shell /usr/sbin/nologin dmo
chown -R dmo:dmo /var/lib/dmo
# 2. Symlink the unit files into the system unit directory
ln -sf /opt/dmo/systemd/dmo-dailies.service /etc/systemd/system/dmo-dailies.service
ln -sf /opt/dmo/systemd/dmo-dailies.timer /etc/systemd/system/dmo-dailies.timer
# 3. Reload systemd and enable + start the timer
systemctl daemon-reload
systemctl enable --now dmo-dailies.timer
# 4. Verify the timer is active
systemctl status dmo-dailies.timer
The timer uses Persistent=true so a missed 03:00 run (e.g., the device was
powered off) will catch up automatically on next boot.
Manual run
# Run for yesterday (default)
/opt/dmo/.venv/bin/dmo-dailies
# Run for a specific date
/opt/dmo/.venv/bin/dmo-dailies --date 2026-05-08
# Dry-run (parse inputs, skip writes)
/opt/dmo/.venv/bin/dmo-dailies --dry-run
</details>DMO is a single-user, single-device project. There is no remote service,
no cloud sync, and no network surface beyond loopback in v1. See ADR-001
through ADR-014 in the architecture doc for the rationale.