AnovaX: open-source local multi-agent voice assistant with adaptive recovery
A few-thousand-line Python script replaces cloud assistants with offline desktop automation.
AnovaX is a proof-of-concept desktop voice assistant that runs completely offline, challenging the dominance of cloud-based pipelines like Siri and Alexa. Built as a single Python process, it chains together a wake-word gate, local speech recognition, and an LLM planner (Gemini) that outputs structured JSON plans of tool calls. A whitelist-and-denylist safety layer ensures only approved actions execute. The multi-agent orchestrator spawns typed child agents—AppAgent, TypingAgent, BrowserAgent, and six others—each with its own timeout, retry policy, and shared-resource locks. A recursive MetaAgent allows the planner to delegate sub-goals to itself (capped at two nesting levels).
What sets AnovaX apart is its adaptive recovery loop: when a core step fails, a compact ReAct-style prompt takes over, and the system hides Gemini's latency behind speculative execution of read-only tools. A companion Flask server exposes a phone-friendly remote over local WiFi, mirrors every agent lifecycle event in real time, and streams the laptop's screen via MJPEG. The project shows that a legible, few-thousand-line assistant can open apps, type, run searches, coordinate concurrent actions, recover from single-step failures, and be driven entirely from a phone—without the LLM ever directly touching the keyboard.
- Uses Gemini as an LLM planner that emits structured JSON plans of tool calls, enabling dynamic multi-step actions
- Multi-agent orchestrator deploys typed executors (AppAgent, TypingAgent, BrowserAgent) with dedicated timeouts and retry policies
- Adaptive recovery loop with ReAct-style prompting and speculative execution hides LLM latency and handles failures
Why It Matters
Proves a lightweight local assistant can match cloud-based automation while preserving privacy and offline reliability.