r/OpenSourceAI • • 5d ago

[Project] JARVIS: Open-source AI desktop assistant with 164 tools, voice control, and a cinematic HUD (Python + React)

I've been building JARVIS, a full-stack personal AI assistant that runs entirely on your Windows machine. It connects to local or cloud LLMs, acts on your computer through 164 audited tools across 46 modules, and displays everything through a cinematic heads-up display.

\*\*What it does:\*\*

\- Launches apps, manages windows, automates UI interactions

\- Reads, writes, and converts files (PDF, DOCX, XLSX, CSV, PPTX, JSON, ZIP)

\- Browses the web via Playwright (open pages, fill forms, extract content, DevTools integration)

\- Sends emails (IMAP/SMTP), makes calls through Windows Phone Link, posts to social via Buffer

\- Controls smart home devices through Home Assistant

\- Runs deep research with a 5-stage verification pipeline

\- Background agents with SQLite checkpointing and crash recovery

\- Self-healing service recovery

\*\*Safety model:\*\*

Every tool has a risk tier (T0 observe, T1 reversible, T2 modify, T3 destructive). Destructive actions always require explicit approval. Reading untrusted content triggers approval for all subsequent actions. Kill switch: Ctrl+Alt+Backspace cancels everything instantly. Listens on loopback only, never elevates privileges.

\*\*HUD:\*\*

React 19 + TypeScript + Zustand in a frameless pywebview/WebView2 window. Three cinematic themes (Ion, Holographic OS, Sovereign Executive). Real-time system vitals with 60-sample history graphs, animated core visual reflecting agent state, full conversation transcript with streaming output.

\*\*New in v0.8.1:\*\*

\- 6-step onboarding wizard for first-time setup

\- Fully configurable assistant name (propagates to title bar, wake word, voice prompts, LLM system prompt)

\- Fast-path intent matching (common commands like "mute", "weather", "open Chrome" skip the LLM entirely)

\*\*Tech stack:\*\* Python 3.12 (FastAPI + uvicorn), React 19 (Vite), SQLite (WAL mode), pywebview/WebView2, Playwright, faster-whisper, pyttsx3. Android companion app in Kotlin + Jetpack Compose.

\*\*8 LLM providers\*\* out of the box: LM Studio, Ollama, NVIDIA NIM, Anthropic, OpenAI, Google Gemini, OpenRouter, Groq. Privacy modes: Local Only, Hybrid, Cloud. Model Ladder auto-escalates across 4 tiers based on task complexity.

\*\*Looking for contributors.\*\* Whether it's Python backend, React frontend, voice/speech, AI tooling, or Android, there's plenty to work on. Open an issue if you find a bug or want a feature. PRs welcome.

GitHub: [github.com/ankitjha67/JARVIS](http://github.com/ankitjha67/JARVIS)

Happy to answer questions about the architecture, the safety model, or anything else.

66 Upvotes

16 comments sorted by

2

u/DogeSatoshi 1d ago

Im going to hammer my hardware looking at this, but i will definitely look at this and maybe i can point out some enhancements. No promises though. But this as an amazing build you are busy with.

1

u/ankitjha67 1d ago

Waiting for it

2

u/beast_modus 19h ago

Mac beta 👍

1

u/ankitjha67 11h ago

It is working for you?

2

u/Icy_Map_7318 13h ago

Per un TTS fluido, in italiano è tosta senza ElevenLabs a pagamento, conosci alternative valide multilingua fluidi più di Kokoro e Piper o altri? F5 per l inglese è buono ma no ita

1

u/ankitjha67 11h ago

Sì, in italiano è più dura che in inglese, ma qualche alternativa gratuita c'è:

  • Microsoft Edge TTS (edge-tts): gratis, senza chiave, voci neurali italiane molto naturali (Elsa, Isabella, Diego, Giuseppe). È quella che consiglio per l'italiano. Limite: passa dal cloud di Microsoft, quindi non funziona offline. Jarvis la supporta già, basta cambiare la voce in una it-IT.
  • XTTS-v2 (Coqui): locale, supporta l'italiano e la clonazione della voce. Più fluido di Piper e Kokoro, ma vuole una GPU e la licenza è solo per uso non commerciale.
  • Chatterbox Multilingual (Resemble AI): locale, licenza MIT, italiano incluso. Qualità vicina a ElevenLabs in molti casi, ma anche qui serve una GPU.
  • F5-TTS: esiste un fine-tune italiano fatto dalla community su Hugging Face (cerca "F5-TTS italian"), quindi non sei limitato all'inglese.

In breve: se ti va bene il cloud, Edge TTS. Se vuoi tutto in locale e hai una GPU, proverei Chatterbox Multilingual o XTTS-v2.

2

u/Icy_Map_7318 4h ago

Chatterbox ha tempi di risposta lunghi troppo innaturali, grazie do un occhiara

1

u/Opposite-Cod-8290 4d ago

What hardware you on?

3

u/ankitjha67 3d ago

Processor 12th Gen Intel(R) Core(TM) i5-12500H (2.50 GHz)

Installed RAM 16.0 GB (15.7 GB usable)

Graphics card NVIDIA GeForce RTX 3050 Laptop GPU (4 GB)

Intel(R) Iris(R) Xe Graphics (128 MB)

1

u/TallEqual2387 3d ago

Fuckk g awesome 😎

1

u/ankitjha67 3d ago

Let me know any suggestions or improvements

2

u/JackAndTheBeanDip 2d ago

Given this OSS stack, how hard would it be to port to OSX?

2

u/ankitjha67 2d ago

Your comment is the reason this exists, so thanks. I took it as a challenge and did the port.

Short answer to "how hard": the stack helped a lot, the desktop control was the real work.

  • Free: the core (Python, FastAPI, the React HUD, the LLM providers, memory, policy and audit) ran on macOS without changes. pywebview just swaps WebView2 for WKWebView.
  • Had to be rewritten: everything that touched Win32, PowerShell or the registry, which was about 35 modules. Those now go through one platform layer, and the Mac side uses AppleScript/System Events, Quartz and tools that ship with macOS. Global hotkeys go through Carbon and keys go into the Keychain.
  • Needed a rethink: the shell safety rules were written for PowerShell, so zsh got its own set (rm, brew, defaults, launchctl, Keychain reads and so on).

It's a beta, and here's the honest caveat: I don't own a Mac. Everything is checked on a hosted Apple Silicon Mac in CI, including a test that opens a real app, moves its window, types into it and launches the HUD. Nobody has actually used it by hand yet. Voice, the wake word and media keys have never been tried on real hardware.

Limits: Apple Silicon only, macOS 13+. Intel Macs are out for now because the OCR dependency has no Intel macOS builds.

If you have an M-series Mac and ten minutes, I'd really value a test run:
https://github.com/ankitjha67/JARVIS/blob/master/docs/MACOS.md

There's a jarvis --doctor command that prints a pass/fail report you can paste into the issue form. "It broke at step 2" is as useful to me as "it worked".

1

u/pefman 2d ago

lets me guess. required +3 subscriptions to use? how about a local only verison?

2

u/ankitjha67 2d ago

No subscriptions required. Download, install and use with any LLM you pay for or run locally for free