automation · assistant

homemade J.A.R.V.I.S.

local-first ambient assistant for macOS and iOS, unifying voice, vision, and system control.

Python 3AppleScriptzshPyObjCWhisperREST APIApple ShortcutsmacOSiOS
homemade J.A.R.V.I.S. project image
project cover · 03

inspired by the artificial intelligence companion in Iron Man, J.A.R.V.I.S. was conceived as a true ambient operating-system companion rather than a passive chatbot. the goal was to unify voice, vision, system controls, and cross-device triggers into a zero-latency, local-first workflow on macOS.

a Python 3 backend orchestrates asynchronous event loops and system event listeners as the core engine.

the execution layer connects directly to macOS native tools through AppleScript, zsh subprocess calls, and PyObjC system wrappers.

a local/hybrid large-language-model inference engine pairs with contextual memory storage to retain session state and short-term memory.

a continuous audio buffer captures voice input and feeds a local Whisper model for instant offline transcription.

a dynamic speech-synthesis engine runs neural voice models to produce natural spoken responses at low latency.

real-time screen-frame capture feeds multimodal vision models that analyze the visible context.

  • read code on screen
  • analyze interface elements
  • inspect on-screen documents

a lightweight Python HTTP REST server runs locally to expose system endpoints.

  • custom iOS Apple Shortcuts send secure JSON payloads from iPhone to the MacBook Air server over a local network or encrypted tunnels
  • execute system commands from iPhone
  • queue tasks
  • query status
  • trigger voice prompts directly from iPhone
  • launch, quit, and monitor applications
  • manipulate windows
  • control audio and display parameters via terminal scripts

dynamic query handling routes personal context into the right workflow.

  • calendar events
  • task scheduling
  • local file indexing
  • automated email drafting
  • automated directory sorting
  • screenshot organization
  • instant document summarizing through script hooks
a few things i've made / 03← back to work