Privacy-first local AI assistant for iPhone. Run LLMs on-device with thinking, tool calling, and vision. No cloud, no data leaves your phone.
- On-device inference powered by Apple's MLX framework
- Thinking mode — see the model's reasoning chain before it answers
- Tool calling — model can invoke tools (search, calculate, etc.)
- Vision — analyze images directly on your phone
- Multiple models — download and switch between Qwen 3.5, SmolVLM, and more
- 100% private — no cloud, no data collection, no API keys
- iPhone with A17 Pro or later (iPhone 15 Pro+)
- iOS 17.0+
- Xcode 16+
| Model | Size | Thinking | Tools | Vision |
|---|---|---|---|---|
| Qwen 3.5 (4B) | 2.4 GB | Yes | Yes | Yes |
| Qwen 3.5 (2B) | 1.3 GB | Yes | Yes | Yes |
| SmolVLM 2 (2.2B) | 1.5 GB | No | Yes | Yes |
- Clone the repo
- Open
LocalMind.xcodeprojin Xcode - Add MLX Swift packages via SPM:
https://github.com/ml-explore/mlx-swifthttps://github.com/ml-explore/mlx-swift-examples
- Build and run on a physical iPhone (simulator won't work for MLX)
See DESIGN.md for the full design system spec.
LocalMind/
├── LocalMind/
│ ├── LocalMindApp.swift # App entry point
│ ├── ContentView.swift # Tab navigation
│ ├── Views/
│ │ ├── ChatView.swift # Main chat interface
│ │ ├── ModelsView.swift # Model management
│ │ ├── SettingsView.swift # App settings
│ │ └── ModelPickerSheet.swift
│ ├── Models/
│ │ ├── ChatMessage.swift # Message data model
│ │ └── LocalModel.swift # Model catalog
│ ├── ViewModels/
│ │ ├── ChatViewModel.swift # Chat logic
│ │ └── ModelManager.swift # Model management
│ ├── Services/
│ │ └── MLXInferenceService.swift # MLX inference engine
│ └── Resources/
│ └── Assets.xcassets/
└── Package.swift # SPM dependencies
MIT