Skip to content
bottlebrushesPublic

About

Siri-style push-to-talk voice orb for autonomous browser control with Jev and Metal Whisper

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

JevOrb 🔮

A lightweight, native macOS push-to-talk floating voice orb that interprets arbitrary spoken commands at runtime and operates applications through macOS Accessibility (AX), using Jev and local Metal Whisper speech-to-text.

Built with pure SwiftUI and AppKit, isolating all OS-level permissions into a standalone application (JevOrb.app).


Features

  • Push-to-Talk Siri Orb: Powered by a pure SwiftUI port of metasidd/Orb. Fluid wavy blobs, rotating depth glows, and floating particles.
  • Audio-Reactive Metering: The orb expands and intensifies in real-time based on your microphone's live RMS volume.
  • Local Metal Whisper STT: Uses the local inference endpoint when available and falls back to the installed Metal-accelerated whisper-cli with the local model when that server is not running.
  • Generic Semantic Navigation: Works with native applications and browser content exposed through the same semantic accessibility trees used by VoiceOver. Applications, websites, labels, and workflows are not hard-coded.
  • Silent Dismissal: No voice speech or TTS chatter on completion—pulses emerald green upon finishing and quietly resets.
  • Permission Isolation: macOS Accessibility and Microphone permissions belong to JevOrb.app, not the invoking terminal. Screen Recording permission is not required.
  • AX-Only Control: Observes accessible roles, labels, values, relationships, and supported actions—not screenshots, OCR, YOLO, or screen coordinates. No CDP, browser extensions, or browser automation harness is used.

Architecture & Acai ACID Spec

The current execution contract is the Acai feature spec. The runtime retains the SwiftUI orb, local audio capture, Whisper transcription, and asynchronous JevDispatcher boundary:

Component Responsibility
Overlay and orb A transparent, nonactivating NSPanel with listening, thinking, success, and error feedback that does not steal the user's application focus while recording.
AudioRecorder Local microphone capture, live RMS metering, and 16 kHz WAV encoding.
WhisperClient Local speech transcription through the configured inference endpoint, with a local Metal whisper-cli fallback and model discovery.
Application catalog Running and installed application discovery through public macOS APIs; application and window selection rather than browser-only targeting.
AX session Semantic tree observation, generation-scoped element references, and validation of application, window, element identity, and supported actions.
JevDispatcher Runs a direct TypeSafe Jev choice loop over available semantic operations, executes one choice, and re-observes the resulting AX state.

Accessibility observation and execution stay inside JevOrb.app; they are not delegated to a separately permissioned shell or Python process. Application launching and switching use AppKit/Workspace APIs. Keyboard input is permitted only after AX-based target selection and immediate focus validation; it is not a coordinate or visual fallback.

Supported scope and boundaries

Arbitrary commands can span one or more applications, provided the required controls, content, and completion state are exposed through macOS Accessibility. Browser support depends on the browser exposing page content as AX nodes; it does not rely on DOM access through a debugging protocol. VoiceOver does not need to be enabled.

  • Missing Accessibility permission, unavailable windows, inaccessible content, ambiguous or stale targets, and unsupported actions are blockers—not reasons to guess a target.
  • Pixel-only canvases, unlabeled controls without sufficient semantic context, and content absent from the AX tree cannot be reliably operated. There is no screenshot, OCR, image-matching, or coordinate fallback.
  • Login, MFA, consent, permission, and anti-automation barriers are not bypassed. Resolve the blocker yourself before issuing a new command.
  • A research request does not authorize a purchase, booking, message, or other unrelated external side effect.
  • Completion requires observable semantic evidence. Unverified effects must not be presented as success, and potentially non-idempotent actions must not be automatically replayed after uncertain delivery.

Quick Start

1. Build and Install

cd ~/Developer/jev-orb
./scripts/build_app.sh

The application is installed to ~/Applications/JevOrb.app.

Build from source after cloning or pulling. The build/JevOrb.app files currently tracked in the repository are an older binary and are not a release of this implementation.

2. Launch

open ~/Applications/JevOrb.app

When opened for the first time, grant Microphone permission to JevOrb.app for speech capture and Accessibility permission in System Settings → Privacy & Security → Accessibility for semantic navigation. Do not grant these permissions to your terminal on JevOrb's behalf. Screen Recording is not required. If access is missing or denied, navigation is blocked rather than falling back to visual control.

3. Usage

Set TYPESAFE_API_KEY in the app environment or in ~/.config/jev-orb/credentials.env as TYPESAFE_API_KEY=… (file mode 0600). The direct Jev choice service is required for navigation. The former OpenRouter planner is no longer used.

Type a command into the orb and select Run, or hold Hold to Speak, speak, and release. Name an application when you want to switch targets. The orb shows a completion or blocker code. Cancel stops the current typed task before its next action; an action already sent to macOS cannot be undone.

For a reproducible command-line invocation from the signed app bundle:

open -a "$HOME/Applications/JevOrb.app" --args --command 'Open Safari'

The command writes a structured report to /tmp/jevorb-last-report.json. This is a local diagnostic entry point; run it only in the logged-in GUI session with Accessibility permission for JevOrb.

The present loop supports application activation and launch, AX press/focus/scroll, and literal text quoted in the command. It cannot yet generate new prose, choose arbitrary keyboard chords or unquoted values, prove multi-part goals comprehensively, or handle clarification and high-stakes external commits. A completed report confirms its recorded local effects; it is not proof of every possible interpretation of a broad command. See VM results.


License

MIT

About

Siri-style push-to-talk voice orb for autonomous browser control with Jev and Metal Whisper

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages