Skip to main content

NixOrb v2.0 🌐

Floating AI assistant orb for Arch Linux — KDE Plasma 6 Wayland — Local-Only

A complete ground-up remake of NixOrb with a focus on local AI, rock-solid Qt6 stability, and clean modular architecture.


What's New in v2.0

  • Local-only AI — Ollama backend, no API keys needed
  • Fixed Qt errors — Proper qasync integration, QSocketNotifier fixes, accessibility bridge disabled
  • Simplified architecture — Removed broken backends, focused on what works
  • Better VRAM management — Priority eviction keeps GTX 1080 from OOM
  • Offline TTS — Piper + espeak-ng fallback
  • Improved settings — GUI settings editor with live updates

Architecture Overview

NixOrb Architecture Pipeline

Quick Start

Install (Arch Linux)

git clone https://github.com/minerofthesoal/nixorb.git
cd nixorb
chmod +x install.sh
./install.sh

Start NixOrb

nixorb start          # Launch the floating orb
nixorb status         # Check system status
nixorb ask "What is 2+2?"   # One-shot query
nixorb check          # Check dependencies

Pipeline Flow

Trigger (Hotkey/WakeWord/Click)
  → Record Audio (sounddevice + VAD)
  → Transcribe (faster-whisper INT8, ~2.1GB VRAM)
  → Think (Ollama LLM stream, localhost:11434)
  → Speak (Piper TTS, offline)
  → Execute (<ACTION> sandboxed bash)

VRAM Budget (GTX 1080 8GB)

Component VRAM Priority
Whisper Large v3 INT8 ~2.1 GB LOW — evicted first
Ollama LLM (loaded by Ollama) ~4.0 GB HIGH
Piper TTS ~0.1 GB MEDIUM
System + KDE ~0.5 GB reserved
Safety buffer 0.25 GB reserved

Configuration

Edit ~/.config/nixorb/config.toml or use the GUI (right-click orb → Settings):

hotkey = "Ctrl+Alt+Space"
llm_model = "llama3.2"
ollama_host = "http://localhost:11434"
tts_backend = "piper"

# Requires the optional extra: pip install 'nixorb[wakeword]'
wake_word_enabled = false

# Ask before running every command the model emits.
require_action_confirmation = true

See config/default.toml for every option with comments.

Keyboard Shortcuts

Action Default Notes
Activate Ctrl+Alt+Space Global hotkey (via pynput/XWayland)
KDE Shortcut Custom Set in System Settings → Shortcuts
Orb double-click Double-click Direct activation
Orb right-click Right-click Menu: Activate / Settings / Quit
Opacity Scroll wheel While hovering over orb
Drag Click+drag Reposition the orb

Project Structure

nixorb/
├── core/           # Event bus, VRAM manager
├── asr/            # Whisper speech-to-text + wake word
├── llm/            # Ollama local LLM backend
├── tts/            # Piper text-to-speech
├── ui/             # Qt6 UI (orb, tray, settings, hotkey)
├── action/         # Sandboxed command execution + clipboard
├── memory/         # ChromaDB vector memory
├── plugins/        # Plugin loader
├── utils/          # Paths, logging, web search
├── vision/         # Screen capture
├── main.py         # Entry point
├── cli.py          # CLI interface
└── settings.py     # Configuration

Dependencies

  • System: python 3.12+, qt6-base, qt6-declarative, qt6-wayland, portaudio, wl-clipboard, grim, piper-tts, ollama
  • Python: See requirements.txt / pyproject.toml

Troubleshooting

NixOrb writes everything it does to ~/.local/share/nixorb/logs/nixorb.log. Start with nixorb status — it reports whether Ollama is actually reachable and whether the configured model is installed.

Symptom Check
Orb never appears qt6-declarative and qt6-wayland installed? The log prints any QML error.
nixorb: command not found ~/.local/bin on your PATH (the installer links it there).
Orb appears, nothing happens on activate nixorb status — Ollama unreachable, or the model isn't pulled.
It speaks no audio Install piper-tts-bin or espeak-ng; the log says which is missing.
Commands are always denied Approve the confirmation dialog, or set require_action_confirmation = false.
Actions do nothing when run as root NixOrb disables command execution as root — run it as your normal user.

Testing

pip install -e ".[dev]"
pytest tests/ -v

License

MIT © NixOrb Contributors

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nixorb-0.3.0.tar.gz (128.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nixorb-0.3.0-py3-none-any.whl (90.3 kB view details)

Uploaded Python 3

File details

Details for the file nixorb-0.3.0.tar.gz.

File metadata

  • Download URL: nixorb-0.3.0.tar.gz
  • Upload date:
  • Size: 128.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nixorb-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1bc65a8f832d6bca903d078ba2235a78afcb6052fd004db36b8517f859f467e5
MD5 43f9d1b0a8d37312bf222d97d751f787
BLAKE2b-256 42870d029a28d6856500efebfe0ecab30b00a0994aa01fcb84e2f2c4fbd39fb3

See more details on using hashes here.

Provenance

The following attestation bundles were made for nixorb-0.3.0.tar.gz:

Publisher: release.yml on minerofthesoal/nixorb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nixorb-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: nixorb-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 90.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nixorb-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca0ced37f88087e731ae70dfc57ffe93c418e4856ba2cd222bf9e5963206bf6e
MD5 26b6e48fbead297e80e8009794e26f12
BLAKE2b-256 1d00a63adf64051730ed4c31432773db8a21a27c670024c473143c93c29b452c

See more details on using hashes here.

Provenance

The following attestation bundles were made for nixorb-0.3.0-py3-none-any.whl:

Publisher: release.yml on minerofthesoal/nixorb

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.1

2 files

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.0.10

2 files

0.1.0.9

2 files

0.1.0.8

2 files

0.1.0.7

2 files

0.1.0.5

2 files

0.1.0.4

2 files

0.1.0.1

2 files

0.1.0

2 files

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