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.
☆835Dec 6, 2025Updated 3 months ago
Alternatives and similar repositories for LLM.swift
Users that are interested in LLM.swift are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Swift Package to implement a transformers-like API in Swift☆1,295Updated this week
- llama and other large language models on iOS and MacOS offline using GGML library.☆2,002Jan 30, 2026Updated 2 months ago
- Swift library to work with llama and other large language models.☆279Dec 9, 2025Updated 3 months ago
- 🚀 LangChain for Swift. Optimized for iOS, macOS, watchOS (part) and visionOS.(beta)☆430Sep 7, 2025Updated 6 months ago
- The definitive, open-source Swift framework for interfacing with generative AI.☆224Mar 5, 2026Updated last month
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click and start building anything your business needs.
- Swift API for MLX☆1,687Mar 27, 2026Updated last week
- A minimalistic Swift implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.☆123Mar 28, 2026Updated last week
- 🔎 SimilaritySearchKit is a Swift package providing on-device text embeddings and semantic search functionality for iOS and macOS applica…☆522Jun 4, 2024Updated last year
- A Swift Wrapper for llama.cpp☆91Aug 26, 2025Updated 7 months ago
- Mac app to demonstrate swift-transformers☆597Jul 29, 2024Updated last year
- Swift Vector Database. On-device, local vector database for building the next-generation of user experiences☆220Dec 7, 2025Updated 3 months ago
- Swift-based vector database for on-device RAG using MLTensor and MLX Embedders☆271Mar 18, 2026Updated 2 weeks ago
- Examples using MLX Swift☆2,475Jan 22, 2026Updated 2 months ago
- Swift bindings for llama-cpp library☆67Dec 10, 2024Updated last year
- NordVPN Special Discount Offer • AdSave on top-rated NordVPN 1 or 2-year plans with secure browsing, privacy protection, and support for for all major platforms.
- Fork of llama.cpp, supporting Facebook's LLaMA model in Swift☆184Jun 20, 2023Updated 2 years ago
- A multi-platform SwiftUI frontend for running local LLMs with Apple's MLX framework.☆432Oct 27, 2024Updated last year
- A Swift client library for interacting with Ollama. Supports structured outputs, tool use, and vision models.☆444Jul 24, 2025Updated 8 months ago
- 🚀 LangGraph for Swift. A library for building stateful, multi-actor applications with LLMs, built to work jointly with langchain-swift☆86Aug 1, 2025Updated 8 months ago
- Run your favourite LLMs locally on macOS from Swift☆83Jun 8, 2023Updated 2 years ago
- Large Language Model (LLM) module for the Spezi Ecosystem☆280Mar 21, 2026Updated 2 weeks ago
- On-device Speech Recognition for Apple Silicon☆5,888Mar 19, 2026Updated 2 weeks ago
- Run LLaVA on iPhone☆29Jul 5, 2024Updated last year
- Swift community driven package for OpenAI public API☆2,884Nov 20, 2025Updated 4 months ago
- DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Swift client for AI providers. Can make requests straight to the provider or proxied through our API key protection backend☆426Mar 16, 2026Updated 2 weeks ago
- 🎤 The easiest way to transcribe audio in Swift☆774May 23, 2024Updated last year
- Run embedding models locally in Swift using MLTensor.☆143Feb 7, 2026Updated last month
- Ollama client for Swift☆326Mar 9, 2025Updated last year
- Swift bindings for sqlite-vec☆48Nov 20, 2025Updated 4 months ago
- Maintenance mode — new development in Textual: https://github.com/gonzalezreal/textual☆3,790Dec 28, 2025Updated 3 months ago
- MLX Model Manager unifies loading and inferencing with LLMs and VLMs.☆104Jan 30, 2025Updated last year
- The official Swift SDK for Model Context Protocol servers and clients.☆1,328Mar 24, 2026Updated last week
- 🤖✨ChatMLX is a modern, open-source, high-performance chat application for MacOS based on large language models.☆822Mar 12, 2025Updated last year
- NordVPN Threat Protection Pro™ • AdTake your cybersecurity to the next level. Block phishing, malware, trackers, and ads. Lightweight app that works with all browsers.
- An API-compatible, drop-in replacement for Apple's Foundation Models framework with support for custom language model providers.☆817Mar 24, 2026Updated last week
- The most complete open-source Swift package for interacting with OpenAI's public API.☆650Updated this week
- chat with private and local large language models☆2,237May 5, 2025Updated 11 months ago
- Performant and reusable text view component (TextKit 2), with line numbers and more. UITextView / NSTextView replacement.☆1,507Mar 23, 2026Updated last week
- Swift Core ML Examples☆258Nov 28, 2024Updated last year
- View and edit rich text in Swift & SwiftUI.☆1,255Dec 2, 2025Updated 4 months ago
- A macOS app that provides an MCP server to your Messages, Contacts, Reminders and more☆1,349Jan 30, 2026Updated 2 months ago