ULTIMATE is a standalone tri-anchor personal AI operating system that connects a Windows Laptop Account, an Android Phone, and an Autonomous AI Voice Core over local radio, post-quantum 100km+ tunnels, acoustic air-gap links, and zero-internet offline modes.
ULTIMATE is built around three cryptographic anchors (UTA-QRP):
| Anchor | Component | Implementation |
|---|---|---|
| 1. Windows Laptop Node | Hardware DPAPI SID enclave + direct screenshot-free desktop control | enclave.py, laptop_control.py |
| 2. ULTIMATE AI & Voice Core | Multi-model Groq failover engine + Whisper STT + Windows SAPI laptop speaker output | groq_failover.py, speaker.py |
| 3. Android Phone Node | Mobile control interface (/ultimate), wireless phone mic, 100km+ companion bridge, and ADB |
control_routes.py, phone_control.py |
- Windows DPAPI Binding (
enclave.py): Seals the master seed, pairing API key, and ratchet secret using WindowsCryptProtectDatatied to your logged-in Windows account SID (whoami /user) and hardwareMachineGuid. - One-Time Chain Ratchet: Optional
X-Ult-Nonce,X-Ult-Ts,X-Ult-Step, andX-Ult-Sigheaders enforce replay protection (HTTP 403on reused nonces or expired timestamps) with mutual server proof responses. - 100km+ Post-Quantum Tunnel (
launch_ultimate.py): Launchescloudflaredwith--post-quantum(X25519MLKEM768) when internet is available and generates a mobile pairing QR code.
- Direct Laptop Control (
laptop_control.py):- Live browser virtual touchpad (
mouse_delta), click, double-click, right-click, and scroll - Open windows enumeration and focus/minimize/close manager
- Direct directory and file browser (
list_files), app launcher and process terminator - Volume slider, mute, media playback keys, screen brightness slider, clipboard sync, hotkeys, power/account lock, and PowerShell console
- Live browser virtual touchpad (
- Direct Phone Control (
phone_control.py):- Browser Companion Bridge (
/v1/control/phone-bridge/sync) plus optional USB/Wireless ADB (tools/platform-tools/adb.exe) - Hardware keys, app launching, URL push, calls, SMS composer, and Find My Phone siren + vibration alert
- Browser Companion Bridge (
- Speak into the Tap to Speak bar in
/ultimatefrom your phone microphone (MediaRecordertranscribed bywhisper-large-v3-turboor native browser speech recognition). - Commands run through
AgentLoopover/v1/control/voice-audio. - Replies are spoken aloud directly from the laptop speakers using Windows SAPI (
speak_on_laptop_async).
Implemented in src/ultimate/engine/groq_failover.py:
- Primary:
openai/gpt-oss-120b - Failover 1:
openai/gpt-oss-20b - Failover 2:
qwen/qwen3.8-27b(handles HTTP 400tool_use_failedby failing over cleanly) - Zero-Internet Fallback: Local
execute_offline_nl_command
- Zero-Internet Local Radio Links: Scans local Wi-Fi Direct, Mobile Hotspot, Bluetooth PAN, and USB adapters (
get_offline_radio_links). - Acoustic Air-Gap Receiver (
offline_transport.py): FFT frequency detector on the laptop microphone decoding2450 Hzpreamble +2800-4000 Hzcommand tones emitted from the phone speaker when Wi-Fi and internet are disabled. - 1-Laptop + 1-Phone Autonomous Guardian (
guardian.py): Countdown rules, battery-threshold sleep protection, and phone-away dead-man account lock paired with an offline browser Store-and-Forward queue. ULT1Off-Grid Ratcheted Packets (offgrid_100km.py): Compact authenticated SMS and LoRa command frames (ULT1:<step>:<ts>:<nonce>:<sig16>:<command>).
# 1. Create a Python 3.11 virtual environment
uv venv .venv --python 3.11
# 2. Install ULTIMATE and dependencies
uv pip install -e . --python .venv\Scripts\python.exe
# 3. Set your Groq API key
$env:GROQ_API_KEY = "your_groq_api_key"
# 4. Start ULTIMATE (creates DPAPI vault, local radio QR code, and server)
.venv\Scripts\python.exe launch_ultimate.pyOptional external binaries (place under tools/, ignored by Git):
tools/cloudflared.exefor 100km+ post-quantum global accesstools/platform-tools/adb.exefor USB or Wireless Android ADB control
Licensed under the MIT License.