Skip to content
vinoth12940Public

About

Privacy-first local AI assistant for iPhone — run LLMs on-device with MLX. Thinking, tool calling, vision. No cloud.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LocalMind

Privacy-first local AI assistant for iPhone. Run LLMs on-device with thinking, tool calling, and vision. No cloud, no data leaves your phone.

Features

  • 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

Requirements

  • iPhone with A17 Pro or later (iPhone 15 Pro+)
  • iOS 17.0+
  • Xcode 16+

Models

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

Setup

  1. Clone the repo
  2. Open LocalMind.xcodeproj in Xcode
  3. Add MLX Swift packages via SPM:
    • https://github.com/ml-explore/mlx-swift
    • https://github.com/ml-explore/mlx-swift-examples
  4. Build and run on a physical iPhone (simulator won't work for MLX)

Design

See DESIGN.md for the full design system spec.

Architecture

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

License

MIT

About

Privacy-first local AI assistant for iPhone — run LLMs on-device with MLX. Thinking, tool calling, vision. No cloud.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages