A LLM client application designed specifically for Apple Watch, allowing you to chat with AI assistants anytime, anywhere on your watch.
- Smart API Configuration: Add and manage multiple API providers (OpenAI, Claude, SiliconFlow, etc.)
- Automatic Model Fetching: Automatically fetch available model lists after entering API Key
- Preset Templates: Built-in configuration templates for popular APIs like OpenAI, Claude, SiliconFlow
- Secure Storage: API Keys are securely stored on local device
- Real-time Sync: Configuration automatically syncs to Apple Watch
- Ultimate Optimization: Compact interface designed specifically for small screens
- Liquid Glass Style: Featuring Apple's latest translucent material design
- Smart Conversations: Support for multi-turn conversations with context preservation
- Markdown Support: Rich text rendering for AI responses with syntax highlighting
- Haptic Feedback: Rich haptic feedback enhances interaction experience
- Voice Input: Support for voice-to-text input (system-level support)
- Smooth Animations: Smooth scrolling and transition animations
- Quick Response: Optimized network requests and error handling
- Local Storage: Chat history securely stored locally on the watch
- OpenAI: GPT-4, GPT-4o, GPT-3.5 Turbo
- Claude: Claude 3.5 Sonnet, Claude 3 Opus, Claude 3 Haiku
- SiliconFlow: Qwen2.5-7B-Instruct, Qwen2.5-72B-Instruct, DeepSeek-V2.5
- Custom APIs: Support for other APIs compatible with OpenAI format
- SwiftUI: Modern user interface framework
- WatchConnectivity: Data synchronization between iPhone and Apple Watch
- UserDefaults: Local data persistence
- Async/Await: Modern asynchronous processing
- Native SwiftUI: Interface optimized specifically for watch
- MarkdownUI: Rich text rendering using swift-markdown-ui
- Memory Optimization: Optimized for watch hardware limitations
- Low Power Design: Minimized battery consumption
- Adaptive Layout: Support for different sizes of Apple Watch
- Open the "LLM Wherever" app on iPhone
- Tap "Add API Provider"
- Select a preset provider (OpenAI, Claude, SiliconFlow) or create custom configuration
- Enter API Key
- Tap "Test Connection and Fetch Models" to automatically get available models
- Configuration will automatically sync to Apple Watch
- Open "LLM Wherever" app on Apple Watch
- Select API provider and model for first use
- Input text or use voice input in the optimized chat interface
- Experience smooth conversation interaction and haptic feedback
- AI responses support Markdown formatting (bold, italic, code blocks, lists, etc.)
- Long press send button to stop ongoing requests
- Tap the gear icon in top right corner to change model anytime
- Strictly follows Apple Human Interface Guidelines
- Uses native system UI components
- Maintains consistent interaction patterns with the system
- Supports Dark Mode and accessibility features
- Translucent effects and material textures
- Smooth animations and transition effects
- Modern rounded corners and shadows
- Clear visual hierarchy with distinct layers
- Simple and intuitive operation flow
- Quick response to interaction feedback
- Smart error handling and prompts
- Seamless synchronization experience between devices
- Local Storage: All API Keys and chat records are stored only on user devices
- End-to-End Encryption: Data transmission between iPhone and Apple Watch is encrypted
- No Cloud Service: The app itself does not collect or store any user data
- Transparent Communication: Only communicates with API endpoints configured by users
- iPhone: iOS 17.0+
- Apple Watch: watchOS 10.0+
- Pairing Requirement: Requires iPhone and Apple Watch to be paired
- Network Connection: Requires internet connection to access LLM APIs
This project uses the following third-party libraries:
- swift-markdown-ui: For rendering Markdown text in SwiftUI on Apple Watch
To build this project, you need to add swift-markdown-ui to your Xcode project:
- In Xcode, go to File β Add Package Dependencies
- Enter the URL:
https://github.com/gonzalezreal/swift-markdown-ui - Select version 2.0.2 or later
- Add MarkdownUI to your LLM Wherever Watch App target
LLM Wherever/
βββ LLM Wherever/ # iPhone App
β βββ Models/ # Data Models
β βββ Managers/ # Manager Classes
β βββ Services/ # Service Layer
β βββ Views/ # View Components
β βββ ContentView.swift # Main View
βββ LLM Wherever Watch App/ # Apple Watch App
βββ Models/ # Data Models (Shared)
βββ Managers/ # Manager Classes
βββ Services/ # Service Layer
βββ Views/ # View Components
βββ ContentView.swift # Main View
- APIProvider: API provider data model
- WatchConnectivityManager: Inter-device communication management
- LLMService: API calling service
- ChatMessage: Message data model
This project references design concepts from the following open source projects:
- humane.watch - AI assistant on Apple Watch
- WatchGPT2 - Locally running GPT2
- PlaticaBot - Cross-platform ChatGPT client
MIT License - See LICENSE file for details
Issues and Pull Requests are welcome to improve this project!





