Back to Overview
GETTING STARTED · SETUP MANUAL

Documentation & Quick Start

Follow this guide to install OpenAgent, grant macOS permissions, calibrate WhatsApp Desktop, and connect Instinct.

Prerequisites

Operating System

macOS 14 (Sonoma) or macOS 15 (Sequoia) on Apple Silicon (M1-M4) or Intel.

Astral uv & Bun

Fast Python manager `uv` and JavaScript runtime `bun` (auto-installed if missing).

Homebrew

Required to provision command-line dependencies (`sox`, `ffmpeg`, `ripgrep`).

WhatsApp Desktop

Official macOS client installed and logged in with your active Instinct chat.

Installation in 4 Steps

1Clone the repository
git clone https://github.com/GitCoder052023/OpenAgent.git cd OpenAgent
2Run Zero-Touch System Installer

Provisions virtual environment with `uv`, installs Bun dependencies, downloads Vosk and Whisper speech models.

./install.py
3Auto-Calibrate WhatsApp Desktop

Inspects your open WhatsApp client, detects Accessibility tree paths, and saves verified selectors into `.env`.

./calibrate.py --save
4Launch Autonomous Jarvis Supervisor

Starts the agent with continuous offline wake-word listener enabled:

./boot.py --voice --send-mode audio

macOS Privacy & Permissions

Open System Settings → Privacy & Security and verify permissions for your Terminal / IDE:

  • Accessibility: WhatsApp UI tree inspection and native computer clicks.
  • Input Monitoring: Global push-to-talk hotkey (`F8`) detection.
  • Microphone: Audio recording via SoX CoreAudio driver.
  • Screen Recording: Window screenshot capture (`mac_see`).
  • Automation: System Events and osascript control.

Environment Variables (`.env`)

VariableDefaultDescription
BRIDGE_WHATSAPP_NUMBER+16508702892Verified Instinct assistant phone number
BRIDGE_SAFE_MODEtrueStrictly fail-closed verification against chat header
BRIDGE_HOTKEYf8Push-to-talk hotkey fallback
BRIDGE_SEND_MODEaudio`audio` (AAC voice note) or `text` (Whisper STT)
BRIDGE_VOICE_SILENCE_SECONDS2.0Silence duration before auto-submitting speech
LOCOAGENT_ENABLEDtrueEnable Threads and Reddit social automation
FIRECRAWL_API_URLhttp://localhost:3002Self-hosted Firecrawl Docker daemon endpoint