Skip to content

shawnjuqi/Sentient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sentient

A macOS Desktop Overlay app for voice-powered AI assistance using on-device speech recognition and xAI Grok.

Screenshot 2025-12-17 at 9 45 40 PM

Features

  • On-device speech-to-text with WhisperKit
  • AI responses via xAI Grok API
  • Global keyboard shortcuts
  • Spotlight-style floating overlay

Requirements

Installation

  1. Clone and open in Xcode
  2. Build and run
  3. Enter your API key in Settings

Shortcuts can be customized in Settings.

Data Flow

User speaks
    |
    v
AVAudioEngine (captures audio)
    |
    v
AudioProcessor (converts to 16kHz mono)
    |
    v
WhisperKit (transcribes to text)
    |
    v
GrokService (sends to xAI API)
    |
    v
Streaming response displayed in UI

Configuration

API Key

The xAI API key can be configured in two ways:

  1. In-App Settings: Open the overlay, click the gear icon, and enter your API key.
  2. Environment Variable: Set XAI_API_KEY in your environment (useful for development).

Grok Model

The app uses the grok-4-1-fast-reasoning model by default. To change this, modify the model constant in GrokService.swift.

Acknowledgments

About

macOS AI assistant built with SwiftUI, AppKit, and xAI Grok

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages