eastriverlee/LLM.swift

LLM.swift is a simple and readable library that allows you to interact with large language models locally with ease for macOS, iOS, watchOS, tvOS, and visionOS.

53
/ 100
Established

This is a tool for Apple developers to build applications that run large language models (LLMs) directly on their users' Apple devices (macOS, iOS, watchOS, tvOS, and visionOS). It helps by taking a local LLM file or a model from Hugging Face and integrating it into an app, then providing user input to generate AI responses. This is for app developers who want to add offline AI capabilities to their Apple applications.

829 stars.

Use this if you are an Apple developer looking to embed large language models directly into your macOS, iOS, or other Apple OS apps, allowing them to run AI inference locally.

Not ideal if you are not an Apple developer or if you want to integrate with cloud-based LLM APIs rather than running models locally on device.

Apple-app-development on-device-AI mobile-AI offline-AI Swift-development
No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 21 / 25

How are scores calculated?

Stars

829

Forks

111

Language

C++

License

MIT

Last pushed

Dec 06, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/eastriverlee/LLM.swift"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.