Hey Milo
A lightweight Python assistant host for Windows 10/11 PCs and Raspberry Pi 4. Running heymilo opens an interactive terminal menu. Version 0.2.0 is an initial alpha: it provides basic offline commands, optional online AI conversation, and optional local microphone recognition and speech output.
Install
Publication status: this source release must be published to PyPI before the name-based commands below will work. Until then install the supplied wheel with python -m pip install path/to/heymilo-0.2.0-py3-none-any.whl.
After publication:
python -m pip install HeyMilo
heymilo
Package installation does not launch a browser or record audio. Run heymilo after installing to open the menu. If the command is not on PATH, use python -m heymilo.
Windows 10 / 11 (Dell Latitude)
Install 64-bit Python 3.11 or 3.12 from python.org. In PowerShell:
py -3.11 -m venv "$HOME\heymilo-env"
& "$HOME\heymilo-env\Scripts\python.exe" -m pip install HeyMilo
& "$HOME\heymilo-env\Scripts\heymilo.exe"
Use -3.12 if that is the version you installed. Using full executable paths avoids PowerShell activation-policy changes.
Raspberry Pi 4 with 1 GB RAM
Recommended starting system: Raspberry Pi OS Lite 64-bit, Python 3.11/3.12. The base package supports Python 3.10+; optional voice wheels and system libraries have their own platform support.
sudo apt update
sudo apt install python3-venv libportaudio2 espeak-ng
python3 -m venv ~/heymilo-env
. ~/heymilo-env/bin/activate
python -m pip install HeyMilo
heymilo guide --no-browser --port 8765
View the Pi's guide from the Dell using an SSH tunnel:
ssh -L 8765:127.0.0.1:8765 YOUR_PI_USER@YOUR_PI_HOST
Then open http://127.0.0.1:8765 on the Dell. Keep both terminal processes running. The guide listens only on loopback; it does not expose a LAN administration interface.
Commands
heymilo # arrow-key terminal menu
heymilo --plain # simple numbered menus
heymilo guide # optional browser setup guide
heymilo doctor # inspect configuration and dependencies
heymilo run # terminal conversation; /quit exits
heymilo run --ask "What time is it?"
heymilo devices # list microphones; voice extra required
heymilo listen # opt-in microphone listening; Ctrl+C stops
Local commands: help, what time is it, what is today's date, system status, and greetings. This alpha does not control home devices or execute computer actions.
Terminal menu
Use Up/Down and Enter to choose Quick setup, Chat, Start voice, Settings, Voice setup, Check my system, or the browser guide. Escape returns to the previous menu. Number keys open an option directly. Chat accepts /back, /help and /clear. Use heymilo --plain if your terminal cannot display the full-screen interface.
Settings include the AI provider/model, microphone, speech-model folder, sample rate and spoken replies. Changes persist between launches. Hidden AI-key entry keeps the key only for the current session; set an environment variable for future launches. Voice starts only when selected.
The interaction flow was informed by Solo CLI (revision a113d2664cf6b87ef2a2827bcad12b47c7264423): guided setup, saved settings and system checks. This menu is an independent implementation using prompt-toolkit.
Online AI
Choose Online AI + local basic commands in Settings or the browser guide. The default endpoint is OpenAI's /v1 API and the suggested model is gpt-4.1-mini; select a model your provider/account supports. Provider billing and network access are separate from this package.
Set OPENAI_API_KEY locally in the terminal before starting Milo. The guide accepts the environment variable's name, never the key itself. On PowerShell use $env:OPENAI_API_KEY="your-key". On Linux you can use read -rsp 'API key: ' OPENAI_API_KEY; echo; export OPENAI_API_KEY to avoid putting the secret in command history. Do not share the key in chat or commit it.
Non-local questions send text to the configured provider. Terminal conversation history is limited to three turns in memory, and requested responses are capped at 256 tokens. Basic local commands never make an AI request. Guide test conversations are stateless. No local LLM is loaded on the 1 GB Pi.
Voice
python -m pip install "HeyMilo[voice]==0.2.0"
Before PyPI publication use python -m pip install "./path/to/heymilo-0.2.0-py3-none-any.whl[voice]" instead. Voice extras are Vosk, sounddevice and pyttsx3; Linux also needs PortAudio and espeak-ng. Download a small language model from https://alphacephei.com/vosk/models, review its license, extract it and select the folder containing am/final.mdl in Settings or the browser guide. Models are not bundled or automatically downloaded.
Select the microphone using heymilo devices, then heymilo listen --device INDEX. Say “Hey Milo, what time is it?” or “Hey Milo” followed by a question within 20 seconds. If needed, try --sample-rate 48000 for a device that rejects 16000 Hz. Enable speech output in Settings or the browser guide; output uses the OS default speaker. Windows requires microphone permission for desktop apps.
Audio recognition happens locally. Only wake-accepted text is forwarded to online AI; audio is neither uploaded nor saved. Audio capture pauses during replies. The wake phrase is recognized through Vosk, not a trained dedicated wake-word engine, and may miss or falsely detect speech. The input queue is bounded. Model memory usage and real-time performance depend on model/hardware; this release has not been benchmarked on the user's Pi or Dell.
ReSpeaker / ESP32-S3
This package is the Pi/PC host application. Use the board's supported USB-audio firmware and verify that the ReSpeaker appears as an input device. ESP32 flashing, microphone-array DSP/AEC tuning, pin assignments, home-device integrations and automatic boot startup are future work. Do not infer USB power isolation from software support; the mechanical project's independent-power limitation is unchanged.
Configuration and development
Settings: %APPDATA%\heymilo\config.json on Windows or ~/.config/heymilo/config.json on Linux. Override with HEYMILO_CONFIG for testing. API secrets are not written to configuration. The setup service checks its Host/Origin and a session token before accepting changes; do not proxy it publicly.
python -m pip install -e .
python -m unittest discover -s tests -v
python -m pip install build twine
python -m build
python -m twine check dist/*
See PUBLISHING.md for the PyPI publishing procedure. No account ownership or PyPI registration is implied by the package metadata.
Metadata
Release files for HeyMilo 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| heymilo-0.2.0.tar.gz | 26.6 kB | Without provenance | Details for heymilo-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| heymilo-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for heymilo-0.2.0-py3-none-any.whl |
Total release size: 51.2 kB
Release files / heymilo-0.2.0.tar.gz
| Download URL | heymilo-0.2.0.tar.gz |
|---|---|
| Size | 26.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9adfbe774f1405f6e669d8a66d3aa8c758f7d45378aba716999befd599141ec
|
|
BLAKE2b-256 checksum How to use checksums |
89f6ea704a398964866a6020b20d9eb15a566d8f74677af2da5c8dd27965b401
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / heymilo-0.2.0-py3-none-any.whl
| Download URL | heymilo-0.2.0-py3-none-any.whl |
|---|---|
| Size | 24.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
593bdc049d4a274fded336ae16f2df6f85465536408f8a3667378b41aeb528e3
|
|
BLAKE2b-256 checksum How to use checksums |
4534a428019de52815eaa3fdd306ae3a21b23e704f15f0493d7b4800f1b8e3c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Security for HeyMilo 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.