Skip to main content

Hey Milo

A lightweight Python assistant host for Windows 10/11 PCs and Raspberry Pi 4. Running heymilo opens a local setup guide. Version 0.1.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.1.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 guide. 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                         # open the 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.

Online AI

Choose Online AI + local basic commands in the 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.1.0"

Before PyPI publication use python -m pip install "./path/to/heymilo-0.1.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 the 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 the 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.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for HeyMilo 0.1.0
File Size Uploaded Provenance Actions
heymilo-0.1.0.tar.gz 20.4 kB Without provenance Details for heymilo-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for HeyMilo 0.1.0
File Interpreter ABI Platform Actions
heymilo-0.1.0-py3-none-any.whl Python 3 none any Details for heymilo-0.1.0-py3-none-any.whl

Total release size: 38.5 kB

Release files / heymilo-0.1.0.tar.gz

Download URL heymilo-0.1.0.tar.gz
Size 20.4 kB
Tags Source
SHA-256 checksum
How to use checksums
fde93ed39854d9a12aaacfa2bba92405e6c0542e36c74e17e874ef1e8eac6b2e
BLAKE2b-256 checksum
How to use checksums
c9b1549428b47b1bc06003d4fe41db759d1ba9d99f953c0f7ae1bb3eefdb64e0
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.1.0-py3-none-any.whl

Download URL heymilo-0.1.0-py3-none-any.whl
Size 18.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6238a36b21430da6cc948b1a37ef604cfad21697d34d5979f6b662ce5b0f3393
BLAKE2b-256 checksum
How to use checksums
ea0b182007dd86c6b721729191f4ef1af6be8ecfdbcd77688302f18d12ca29b3
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.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page