Grok is a modern macOS AI assistant that seamlessly integrates with your system, providing an intuitive chat interface and comprehensive system integration capabilities. Built with SwiftUI and leveraging the latest macOS features, it offers a powerful and user-friendly experience.
- Modern SwiftUI interface with split view navigation
- Menu bar and dock integration with quick access controls
- Dark/Light mode support with native macOS styling
- Session-based chat interface with message history
- Customizable system preferences and settings
- Guided onboarding experience for new users
- Calendar and reminders integration
- Contacts access for personalized assistance
- Location services for contextual awareness
- File system access for document management
- Email integration with multiple provider support
- Comprehensive settings interface with categorized sections
- Customizable notification preferences
- Hardware optimization settings
- Browsing preferences with multiple browser support
- Message history and chat appearance settings
- Step-by-step guided setup process
- AI model download and initialization
- System permissions configuration
- Initial preferences customization
- Interactive UI tour
- Progress tracking and resume capability
app/
├── Views/ # User interface components
│ ├── Onboarding/ # Onboarding experience
│ │ ├── Onboarding # Main onboarding container
│ │ └── Steps/ # Individual onboarding steps
│ │ ├── WelcomeStep # Initial welcome screen
│ │ ├── ModelDownloadStep # AI model setup
│ │ ├── PermissionsStep # System permissions
│ │ ├── PreferencesStep # Initial preferences
│ │ ├── UITourStep # Interface walkthrough
│ │ └── CompletionStep # Setup completion
│ ├── Chat/ # Main chat interface
│ │ ├── MessageBubble # Message display components
│ │ └── ChatView # Primary chat view implementation
│ ├── Messages/ # Message handling and display
│ │ ├── SessionSidebar # Chat session navigation
│ │ └── MessageBubble # Message styling and layout
│ ├── Preferences/ # Settings and preferences UI
│ │ ├── Layout/ # Preference window layout components
│ │ │ ├── Sidebar # Navigation sidebar
│ │ │ └── Content # Main content area
│ │ └── Sections/ # Individual preference sections
│ │ ├── General # General app settings
│ │ ├── Hardware # System resource management
│ │ ├── Calendar # Calendar integration settings
│ │ ├── Email # Email configuration
│ │ ├── Messages # Chat preferences
│ │ ├── Browsing # Browser integration
│ │ ├── Notifications # Notification settings
│ │ └── Permissions # System permission management
│ └── Sessions/ # Sessions sidebar views
├── Logic/ # Core app logic
│ ├── Models/ # AI and data models
│ │ ├── Model # Base AI model definitions
│ │ ├── CoreModels # Core data structures
│ │ ├── AudioModels # Audio processing models
│ │ ├── VisionModels # Vision processing models
│ │ ├── ReasoningModels # Reasoning capabilities
│ │ └── EmbeddingModels # Text embedding models
│ ├── Chat/ # Chat functionality
│ │ ├── ChatViewModel # Chat business logic
│ │ └── Message # Message data model
│ ├── Browsing/ # Browser integration
│ │ ├── whitelist # Allowed domains
│ │ └── blacklist # Blocked domains
│ ├── WindowManager # Window state management
│ ├── PreferenceSection # Preferences organization
│ └── WindowAccessor # Window access control
│ ├── OnboardingManager # Onboarding state management
A separate module that manages the app's launch-at-login functionality.
docs/
: Comprehensive documentation directory.github/
: GitHub-specific configurations and workflows
The app includes a sophisticated LLM (Large Language Model) integration system:
Config.swift
: Manages LLM configuration and settingsRun.swift
: Handles LLM execution and response processing
- macOS 15.0 or later
- Required Permissions:
- Calendar access
- Contacts access
- Location services
- File system access
- Notifications
- Camera (optional)
- Microphone (optional)
- Siri (optional)
- Clone the repository
- Open
grok-macos.xcodeproj
in Xcode - Build and run the project
- Complete the guided onboarding process:
- Welcome and introduction
- Download required AI models
- Configure system permissions
- Set initial preferences
- Take the UI tour
- Begin using Grok
- Launch at login option
- Menu bar visibility toggle
- Dock presence configuration
- Automatic updates checking
- Customizable message history retention
- Auto-save intervals
- Message appearance customization
- Typing indicators and read receipts
- Email provider configuration
- Calendar sync preferences
- Browser integration options
- Hardware optimization settings
- Built with SwiftUI and modern Swift concurrency
- Follows MVVM architecture
- Supports macOS native features
- Includes comprehensive UI tests
Current Version: 1.0 Bundle Identifier: humans.grok Minimum macOS Version: 15.0