This example demonstrates how to use the LocalLLMClient to integrate on-device LLMs into an iOS / macOS app.
![]() |
![]() |
- iOS 18.0+ / macOS 15.0+
- Xcode 16.3+
- [Recommended]: M1 Mac or newer, or recent iPhone Pro models
To run the example app:
- Clone the repository:
git clone --recursive https://github.com/tattn/LocalLLMClientIf you already cloned the repository without --recursive, run:
git submodule update --init --recursive- Open
LocalLLMClientExample.xcodeprojin Xcode - Build and run the app on your device, not a simulator
Note: The app requires a physical device

