OrionKit

OrionKit Pro

A voice assistant that runs on your own computer: say "Hey Orion", talk over it whenever you like, and it answers with a local model or with Claude and Gemini using your own keys. Tools, smart home, documents, reminders, any MCP server, an orb window, a terminal app and a phone companion are included.

Quick start (about 10 minutes)

You need Python 3.11, 3.12 or 3.13 (3.12 recommended), about 2 GB of disk, 8 GB of memory (16 GB is comfortable), and a microphone. Check with python3 --version (on a Mac, the built-in python3 is too old: brew install python@3.12). The license key is in your purchase email (from Lemon Squeezy and OrionKit; check spam), and you can get it again any time at https://orion-kit.com/#recover with your email and order number.

cd OrionKit-Pro-*
python3.12 -m venv .venv
.venv/bin/pip install -r requirements.txt          # Windows: .venv\Scripts\pip install -r requirements.txt
.venv/bin/python scripts/download_models.py        # voice and speech models, about 290 MB; safe to stop and re-run (it resumes)

Linux: install PortAudio first (sudo apt install libportaudio2; Fedora sudo dnf install portaudio). Everything else installs from wheels. Push-to-talk on Linux (X11) is optional because it builds from source: sudo apt install build-essential python3-dev, then .venv/bin/pip install pynput.

Install Ollama for the free local model: download it from https://ollama.com/download, open the app, then:

ollama pull qwen3:4b-instruct

Activate your license (the key from your purchase email) and start Orion:

cp .env.example .env                                  # optional: API keys and settings, see below
.venv/bin/python main.py --license <your key>         # first run only; verified offline
.venv/bin/python main.py                              # the orb window opens; say "Hey Orion"
.venv/bin/python main.py --install-command            # optional: from now on, just type `orion` in any terminal

On a Mac the first run asks for microphone access for your terminal app. If Orion never hears you, allow it in System Settings → Privacy & Security → Microphone and restart the terminal.

For "what's on my screen" questions, also allow Screen Recording for your terminal (macOS). For push-to-talk, allow your terminal under Accessibility and Input Monitoring (macOS asks the first time; restart Orion after).

Orion checks all of this when it starts and tells you exactly what's missing.

Using Orion

Command What it does
orion After --install-command: the same as python main.py, from any folder (orion --tui, orion --text, …). Typing it again opens the window that's already running
python main.py Voice, in the orb window
python main.py --tui The terminal app instead (the orb window's Terminal button switches too)
python main.py --text Typed chat in the terminal, no audio
python main.py --ask "…" One answer, then exit
python main.py --remote Phone & browser companion over Tailscale (see below)
python main.py --features What's on; --setup <id> turns something on (e.g. --setup claude)
python main.py --report Send a bug report (you see everything first; secrets are removed)
python main.py --update / --rollback Install the latest signed release / undo it
python main.py --list-devices Microphones and speakers, for --input N / --output N
python main.py --help Every option

Talking. Say "Hey Orion", or click the orb / press the mic button, or hold ⌃⌥Space (Ctrl+Alt+Space) anywhere and let go when you're done: push-to-talk needs no wake word and waits through your pauses. ⌃⌥M mutes the microphone. Orion can tell a finished sentence from a pause for thought (Smart Turn), so it answers quickly without cutting you off. Talk over Orion to interrupt it: it goes quiet within about a second, and if you only said "mm-hmm", "yeah" or coughed, it carries on where it stopped; "stop" or "wait" ends the reply and listens. "Thanks" or "never mind" ends a conversation. Turn on Follow-up for one short window after each reply where you don't need the wake word.

The orb window shows captions, a box for typing, and Features, where you connect everything below with a few clicks. Report sends a bug report; Details shows the conversation, activity and system. The terminal app has the same orb in braille: ctrl+f features · ctrl+t talk · esc stop · ctrl+d details · ctrl+k mute · ctrl+r report · ctrl+o orb window · ctrl+q quit.

What it can do

Routines

One phrase, several things at once: "good morning" can read the weather, list today's reminders and turn the lights on, then Orion sums it up. Routines match instantly on your computer and work offline.

The easy way: ask Orion, "create a routine called good night that turns off the lights and sets a reminder for 7am". It tells you what it will do and saves it once you say yes. "What routines do I have?" and "delete the good night routine" work too.

Or edit ~/.orionkit/routines.json (start from routines.json.example): each routine has a name, the phrases that start it, the steps (tool names and arguments, run in order) and say (how Orion should sum up). Steps that aren't available, such as Hue without a bridge, are skipped and mentioned. Steps that change things still pause for your OK if Orion has just read something from outside, like a web page.

Phone & browser companion

Use Orion from your phone or another browser while it runs on your computer, privately over Tailscale (it gives Orion real HTTPS, which browsers need for the microphone).

brew install --cask tailscale-app        # Linux: curl -fsSL https://tailscale.com/install.sh | sh · Windows: winget install Tailscale.Tailscale
python main.py --remote                  # prints a QR code and the one-time `tailscale serve` command

Sign in to Tailscale on both devices with the same account. On phones it's tap-to-talk. For safety, a companion device can talk to Orion and switch features on and off, but keys, add-ons and MCP servers can only be set up on the computer itself. The access code is in ~/.orionkit/companion_token; delete it to sign out every device.

Settings (.env)

Everything is optional; Features writes these for you. Real environment variables override the file.

Setting Default
ANTHROPIC_API_KEY, GEMINI_API_KEY – your own keys (console.anthropic.com, aistudio.google.com)
ORIONKIT_FAST_MODEL qwen3:4b-instruct any Ollama model; OLLAMA_HOST if Ollama runs elsewhere
ORIONKIT_DEEP_MODEL / ORIONKIT_VISION_MODEL claude-sonnet-5-5 / gemini-flash-latest cloud models
ORIONKIT_VOICE, ORIONKIT_SPEED, ORIONKIT_PERSONA British male blend, 1.0, – voice & personality
ORIONKIT_LOCATION from your connection e.g. Springfield, IL, for weather and local answers
ORIONKIT_WEB / ORIONKIT_FOLLOWUP 1 / 0 web tools / follow-up window
ORIONKIT_TURN_THRESHOLD, ORIONKIT_TURN_MAX_SILENCE 0.5, 1.6 how sure Smart Turn must be that you've finished; the longest pause it waits through (seconds)
ORIONKIT_PTT, ORIONKIT_PTT_KEY, ORIONKIT_MUTE_KEY 1, <ctrl>+<alt>+<space>, <ctrl>+<alt>+m push-to-talk on/off and its keys (pynput syntax)
ORIONKIT_ALLOWED_DIRS ~/.orionkit/workspace folders the file tool may use (:-separated)
ORIONKIT_BASH_NETWORK 0 let the sandboxed shell use the network
HA_URL, HA_TOKEN, SMARTTHINGS_TOKEN, BRAVE_API_KEY – smart home, Brave Search instead of DuckDuckGo
ORIONKIT_HOME ~/.orionkit where Orion keeps its data
ORIONKIT_LOCAL_ONLY 0 1: Orion makes no internet connections on its own (see Privacy)
ORIONKIT_WAKE_SENSITIVITY normal low for a noisy room or a TV nearby (fewer false wakes); high for a quiet room or a far-away mic

Wake word: --wake-model "hey orion" (default; any phrase works, no training), or an openWakeWord model name or .onnx file. openWakeWord's pretrained models (e.g. hey_jarvis) are CC BY-NC-SA: fine for trying, not for products you sell. Speech recognition: --stt-model tiny.en | base.en | small.en.

Privacy and your data

Voice, wake word and speech recognition always run on your computer. Your words leave it only when a cloud model answers (with your own keys) or a tool needs the internet (web, weather, smart-home cloud APIs). OrionKit itself contacts its license server only for --update and --report, once on start to look for updates and, if you turn on Help improve OrionKit (Features; off by default), once a day for diagnostics; license checks are offline. Your location is approximated from your connection (ipinfo.io) unless you set ORIONKIT_LOCATION.

Every connection, in one list. Setup only: download_models.py fetches the voice models from github.com and huggingface.co, and Ollama fetches its model. After that, these are the only connections Orion makes: our license server (the start-up update check, --update, --report, opt-in diagnostics), ipinfo.io (approximate location, once per start, unless ORIONKIT_LOCATION is set), 1.1.1.1 / 8.8.8.8 / api.anthropic.com (an empty connectivity check, only if you've set up a cloud model), the cloud model you set up, and the tools you use (web search, weather, SmartThings, MCP servers you add).

Local-only mode. Set ORIONKIT_LOCAL_ONLY=1 in .env and Orion makes no internet connections on its own: the local model answers everything (keys in .env are ignored), and web, weather, SmartThings, internet MCP servers, the location lookup, the update check and diagnostics are all off. Home Assistant, Hue and MCP servers on your own network keep working. Command-line MCP servers you added (for example Notion via npx) still start; turn those off in mcp_servers.json. Three things still reach the internet because you ask for them: running --update or --report yourself (they contact the license server), and a speech model you haven't downloaded yet (fetched from Hugging Face the first time voice starts; run scripts/download_models.py beforehand to avoid it). The Home Assistant address is used as you set it, so point it at your own network.

What works with no internet at all (after setup): the wake word, speech recognition, Orion's voice, the local model, timers, reminders, routines, documents, files, the shell, history, Home Assistant and Hue on your network, and the license check. Cloud models, web, weather and updates wait until you're back online; Orion says so and answers locally meanwhile.

Everything Orion keeps is in ~/.orionkit: logs, preferences, reminders, the activation cache, update backups, add-ons, the companion code and the workspace. Bug reports are previewed before sending, with keys, tokens, emails and your user name removed.

Help improve OrionKit (off unless you turn it on) keeps a small summary in ~/.orionkit/diagnostics for 14 days and sends it once a day: app version, OS and architecture, crash types with stack frames (your home folder shown as ~), "Hey Orion" counts (activations, ones you cancelled within 3 seconds, "that wasn't for you"), response time (median and 95th percentile) and which model answered (local, Claude or Gemini). Never audio, transcripts, prompts, replies, keys, your license key or email. It's tied only to a random install ID. In Features → Help improve OrionKit you can view exactly what would be sent, send it now, delete it (here and on our server) or reset the install ID.

Your license

The key in your purchase email activates OrionKit on any computer you use yourself, with no seat count and no internet needed: it's checked offline. On a new computer (or after a restore from backup), run python main.py --license <key> again; the old computer keeps working too. Lost the key? Get it again at https://orion-kit.com/#recover with your email and order number. Refunds within 7 days are at https://orion-kit.com/refunds.html (a refund ends the license, so please delete your copy).

Updates

python main.py --update downloads the latest release, checks its signature (made with an offline release key, separate from the license key), backs up what it replaces and installs it. Your .env, mcp_servers.json and everything in ~/.orionkit (routines, reminders, history, add-ons) are never touched. Files you've changed in this folder are never overwritten either: the new version is saved beside yours as *.orionkit-new, so you can merge it. Afterwards the updater checks that Orion still starts; if your changed files don't fit the new release, it undoes the update by itself and lists what to merge. python main.py --rollback undoes the last update. If you have GitHub access to the private repository, use git pull instead (--update refuses to run in a git checkout).

Troubleshooting

Problem Fix
"Ollama isn't running" Open the Ollama app (or run ollama serve)
"The local model isn't downloaded" ollama pull qwen3:4b-instruct
Orion never hears you macOS: allow your terminal (or VS Code) under Privacy & Security → Microphone, then reopen it. Windows: Settings → Privacy & security → Microphone, turn on Let desktop apps access your microphone. Or pick a mic: --list-devices, then --input N
"The audio library (PortAudio) couldn't load" (Linux) sudo apt install libportaudio2 (Fedora: sudo dnf install portaudio)
A model download was cut off, or Wi-Fi is slow Run python scripts/download_models.py again: it carries on where it stopped and checks every file
Hotel or café Wi-Fi with a sign-in page Voice still starts: once downloaded, the models never need the internet. Cloud answers come back after you sign in
The window doesn't open Open the address printed in the terminal
Port 8770 is busy --port 8771
It wakes up by itself (TV, a noisy room) Set ORIONKIT_WAKE_SENSITIVITY=low in .env, use headphones, or pick a different wake phrase with --wake-model
It hears its own voice through the speakers Turn the volume down a little or use headphones; Orion ignores its own voice, but loud speakers close to the mic can still interrupt it
"Voice couldn't start" in the orb window Typing still works. The message says why: no microphone, the speech model couldn't download (run python scripts/download_models.py), or your antivirus quarantined a file in this folder (restore it or reinstall the requirements)
Behind a company proxy Set HTTPS_PROXY as usual for the cloud models and updates; Ollama, Home Assistant and Hue on your own network always connect directly
"Not enough free memory for my local model" Close some apps, or ollama pull qwen3:1.7b and set ORIONKIT_FAST_MODEL=qwen3:1.7b in .env
A Bluetooth headset or USB mic was switched off or unplugged Orion moves to the computer's current default microphone and speaker within a few seconds
Push-to-talk does nothing macOS: allow your terminal under Accessibility and Input Monitoring, then restart it. Linux Wayland doesn't allow global hotkeys (X11 works)
Anything else python main.py --report, or email support@orion-kit.com; logs are in ~/.orionkit/logs/orionkit.log

Platforms. macOS (Apple Silicon or Intel) is fully supported. Linux works, with the shell sandbox via bubblewrap (apt install bubblewrap). Windows works for voice, models, smart home and tools, except the sandboxed shell (macOS/Linux only) and screen reading (macOS only).

Uninstall

python main.py --deactivate (frees the activation), then delete this folder, ~/.orionkit, and the Ollama model (ollama rm qwen3:4b-instruct).

For developers

core/audio/      mic, wake word (sherpa-onnx / openWakeWord), Silero VAD, Faster-Whisper, Kokoro, echo gate, duplex state machine
core/router/     intent → tier → provider chain with circuit breakers; Ollama / Gemini / Claude adapters; timers & reminders
core/nebula/     the built-in MCP server (tools/), the MCP client for every server, the add-on catalogue
core/ui/         the orb window (one HTML file) and its local WebSocket server
core/tui/        the terminal app
core/licensing/  offline license verification
main.py          wires it together

Tests: pip install -r requirements-dev.txt, then python -m pytest -q tests/ and python test_voice.py --self-test (headless voice checks with synthetic speech). Your license (licenses/LICENSE-PRO.md) lets you build and sell your own products on this code.