
Local-first voice assistant for Linux
Voxa is a local-first voice assistant for Linux that can listen, converse, and carry out desktop tasks using local AI.
Voxa combines on-device speech recognition, selectable local AI backends, spoken replies, task state, and desktop-oriented capabilities in a native GTK 4 / libadwaita application. It is being developed as a major assistant component for Spaced Linux, while remaining useful on other Linux desktops.
Website: voxaai.me
- Talk to your computer. Say the wake word (yours to choose) and ask. After Voxa answers, keep talking during the follow-up window without repeating her name. One of 22 characters speaks the answer with synchronized lips.
- She hears you over your own speakers. Music and video sound is removed before she listens, so commands get through with something playing; saying “Voxa, stop” interrupts her, and her own voice does not.
- Commands run instantly. Opening apps, playing music, dictation, timers and system questions are handled by rules, with no model in the loop. Longer requests are planned by the local model.
- Answers come from the web, with the source. Anything current is looked up first and answered from the results.
- Works in other programs. Dictates into the window in front, cleans up text, saves files by voice, and presses real buttons in other applications.
- Local AI through Ollama, llama.cpp or Strata, chosen from the interface, with a model suggested for your hardware and a speech model picked to fit the machine on first run.
- On-device transcription with Faster Whisper; spoken replies with Edge TTS and an offline eSpeak NG fallback.
- Honest state. Ready, Listening, Thinking, Speaking or Paused is always on screen, with explicit ACTIVE / PAUSE / OFFLINE controls.
- Part of Spaced Linux. “Update Spaced Linux” and “Install GIMP” drive Spaced Update and Spaced Bazaar.
- What Voxa can do is the full, living list: a phrase to try for every feature and its current status. It doubles as the test checklist.
- Flatpak-first distribution with CI validation; on Spaced Linux, updates arrive through Spaced Bazaar and Spaced Update.
Single commands run instantly without a model; chained requests are planned by the local model.
| Say | What happens |
|---|---|
| “Open LibreOffice” / “Close Brutal Chess” | Opens or closes the app; names are matched by sound |
| “Minimize all apps” / “Maximize yourself” | Shows the desktop; maximizes Voxa's own window |
| “Play Dirty Old Town by the Pogues” / “Play Bob's Ska Radio” | Plays in VLC, or tunes an internet radio station |
| “Start dictation” … “stop dictation” | Types what you say into the window in front |
| “Clean up the text” | Fixes spelling, grammar and clarity in the text or selection |
| “Save file” | Asks “What should I save the file as?”, types the name and saves |
| “What is Tesla's stock price?” / “What is the British pound in USD?” | Speaks the current quote or latest reference exchange rate |
| “What is the price of Bitcoin?” | Looks it up and answers from the results, with the source |
| “Walking directions to the library” / “Nearest pharmacy” | Opens maps for it |
| “Open air ships dot com” / “Open my email” | Opens the website |
| “Set a timer for five minutes” / “Remind me at three to call Bob” | Spoken when it fires |
| “Update Spaced Linux” / “Install GIMP” | Drives Spaced Update or Spaced Bazaar, then checks the result |
| “Press Install in Spaced Bazaar” / “Read this window” | Presses real buttons and reads other programs' windows |
| “Voxa, stop” / “Voxa, pause” | Interrupts her reply; pauses listening until you say her name |
See docs/CAPABILITIES.md for everything, and docs/VOICE_COMMANDS.md for the command reference.
Core Voxa functionality can run locally: Faster Whisper handles speech recognition, llama.cpp or Ollama can provide inference, eSpeak NG provides offline speech, and configuration remains local.
Optional features may use the network. Edge TTS is a network speech service, model installation requires downloads, web features access the internet, and future communication integrations may contact external services.
Voxa is intentionally voice-first. The production interface centers the assistant, its current work and local-AI state instead of becoming a dense chat client.
It emphasizes:
- a centered assistant presence;
- compact task/activity information;
- visible backend and model selection;
- clear ACTIVE and OFFLINE controls;
- voice as the primary interaction method;
- minimal visual clutter.
The original transcript/dictation interface remains available from the application menu.
Download a Flatpak bundle from GitHub Releases:
flatpak install --user Voxa-<version>-x86_64.flatpak
flatpak run io.github.crhy.voxaRelease/update details are in docs/RELEASING.md.
Voxa supports local inference through llama.cpp and Ollama.
For Ollama, Preferences includes installation and model-management controls. Manual setup:
curl -fsSL https://ollama.com/install.sh | sh
ollama pull qwen2.5:0.5bFor llama.cpp, run a compatible local server and select the llama.cpp backend in Voxa.
Voxa requires Python 3.11+, GTK 4, libadwaita, GStreamer and Python GObject bindings.
git clone https://github.com/crhy/voxa.git
cd voxa
python3 -m venv .venv
.venv/bin/pip install -r requirements.txt
.venv/bin/python voxa.pyInstalled entry points are voxa, voxa-backup, and voxatest.
VoxaTest is the end-to-end voice harness shipped with the source package. It can
generate cases with the configured local model, speak them to a running Voxa
instance, capture and transcribe Voxa's reply, grade it, and write JSON/text
reports. It follows Voxa's selected llama.cpp or Ollama backend unless the
VOXATEST_BACKEND, VOXATEST_MODEL, or VOXATEST_URL environment variables
override it.
voxatest generate --count 25
voxatest run --limit 5The default cases are installed with the package. Running the full harness requires working speaker/microphone routing and a separately running Voxa instance; unit tests use a simulated audio pipeline.
The deterministic command audit checks every shipped phrase without playing audio or performing desktop actions. It repeats the 384-case corpus ten times by default, so one invocation performs 3,840 checks and verifies a minimum rate of 1,000 checks per hour:
.venv/bin/python -m voxatest commands --capability-report docs/VOXATEST_CAPABILITY_AUDIT.md
The Markdown and JSON reports in the report directory show the result for each capability category, each failure, the measured checks per hour, and any wishlist phrases that are not handled yet. Use --repeat 100 for 38,400 checks. Exit code 2 means the requested throughput was missed; change the gate with --min-checks-per-hour.
This fast audit proves that text reaches the expected registered tool with valid arguments. It does not exercise the microphone, speech recognition, model backend, network, or target application. Use voxatest run for that slower spoken end-to-end coverage and compare the result with the capability checklist.
VoxaTest is packaged as a separate desktop application, so it can run beside Voxa while speaking prompts, listening to replies, and streaming its progress:
flatpak run io.github.crhy.voxatestIts reports are written to ~/Documents/VoxaTest/reports/, including the
stable ~/Documents/VoxaTest/VOXATEST_FAILURES.md file that can later be
copied into a branch and pushed.
A complete pass exercises all 30 focused, independent shipped cases with no one at the microphone:
-
Start the llama.cpp (or Ollama) server that both apps use.
-
Start Voxa with simulated actions and switch on Conversation mode (
Ctrl+Shift+R):VOXA_SIMULATE_ACTIONS=1 python3 voxa.py # or: flatpak run --env=VOXA_SIMULATE_ACTIONS=1 io.github.crhy.voxa -
Start VoxaTest — the desktop app (
flatpak run io.github.crhy.voxatest), or the CLI, which runs all 30 installed cases:.venv/bin/python -m voxatest run
For each case VoxaTest speaks the prompt with the wake word, waits for the whole reply, grades it, and writes its JSON/text reports after every case, so a run that stops early still has usable output.
| Knob | Effect |
|---|---|
--limit |
Number of cases to run |
--start-at |
1-based index of the first case (resume point) |
--retries |
Retry a case when the microphone heard no reply |
--end-silence |
Seconds of silence that end a spoken reply |
--deadline-seconds |
Stop the run after this many seconds (0 means no limit) |
--max-silent |
Stop the run after this many consecutive cases with no reply (0 disables) |
Environment variables: VOXATEST_BACKEND, VOXATEST_MODEL, VOXATEST_URL,
VOXATEST_WAKE_WORD, VOXATEST_END_SILENCE, VOXATEST_REPLY_WAIT,
VOXATEST_RETRIES, VOXATEST_RUN_DEADLINE, VOXATEST_MAX_SILENT, VOXATEST_REPORTS_DIR,
VOXATEST_FAILURE_REPORT, and VOXATEST_VOXA_CONFIG (path to Voxa's config.json to inherit its backend, model and wake word; without it
VoxaTest uses the most recently modified of ~/.config/voxa/config.json and the Voxa Flatpak's config).
Press Ctrl+C in the terminal, or the Stop button in the desktop app, to end
a run early; a partial report is written and the run can be resumed later with
--start-at N.
Reports land in ~/.local/state/voxatest/reports/ plus ./VOXATEST_FAILURES.md
for a source install, and in ~/Documents/VoxaTest/reports/ plus
~/Documents/VoxaTest/VOXATEST_FAILURES.md for the Flatpak. Exit codes: 0
all cases passed, 1 some failed, 2 the grading backend was unreachable,
3 Voxa stopped answering, 130 interrupted.
VoxaTest writes its complete timestamped run artifacts outside the repository and also maintains a concise, Git-friendly snapshot containing only the latest failures:
.venv/bin/python -m voxatest run --cases voxatest/data/test_cases_smoke.json
git add VOXATEST_FAILURES.mdThe snapshot defaults to VOXATEST_FAILURES.md in the working directory. Use --failure-report path/to/file.md or the VOXATEST_FAILURE_REPORT environment variable to choose another location. A successful run replaces the snapshot with a clear zero-failures result, while the full JSON and text reports remain available for diagnostics.
| Shortcut | Action |
|---|---|
Ctrl+R |
Start or stop dictation |
Ctrl+Shift+R |
Start or stop conversation mode |
Ctrl+Enter |
Ask AI |
Ctrl+Shift+C |
Copy transcript |
Ctrl+Shift+V |
Copy AI response |
Ctrl+L |
Clear |
Ctrl+, |
Preferences |
Ctrl+Q |
Quit |
Settings are stored in $XDG_CONFIG_HOME/voxa/config.json. Backup and restore are documented in docs/BACKUP.md.
The production UI is driven by an AssistantModel and AssistantController. Audio, transcription, speech, inference and desktop capabilities sit behind that orchestration instead of making widgets responsible for application behavior.
See docs/ARCHITECTURE.md for the current component map, architectural rules, backend direction, security model and planned agent/capability system.
Voxa is evolving toward this deterministic pipeline:
voice
-> transcription
-> intent / planning
-> structured capability request
-> schema validation
-> permission policy
-> task execution
-> structured result
-> spoken response
The model may propose work, but model output should never be equivalent to unrestricted desktop or shell authority. Consequential actions should pass through deterministic validation, policy and confirmation.
The next architectural foundation is:
- normalized local-AI backend interface;
- structured capability registry;
- argument/schema validation;
- deterministic permission policy;
- confirmation UI for consequential actions;
- task lifecycle and cancellation;
- a small initial set of safe desktop tools.
CI validates compilation, linting, unit tests, GTK/window tests, AppStream metadata, the desktop file, the Flatpak manifest and generated bundle/OSTree behavior.
See docs/RELEASING.md for release mechanics.
Issues and pull requests are welcome. Read docs/ARCHITECTURE.md before major architectural work.
New code should preserve these principles: state-driven UI, non-blocking GTK behavior, interchangeable AI backends, stale-result rejection, deterministic permissions for side effects, and graceful fallback for optional features.
- Faster Whisper
- Ollama
- llama.cpp
- Edge TTS
- eSpeak NG
- GTK 4, libadwaita and GStreamer
MIT — see LICENSE.


