Packages for keyword “llm”
These packages are available as a package collection, usable in Xcode or SwiftPM.
SpeziLLM
Large Language Model (LLM) module for the Spezi Ecosystem
LLM
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.
A2UISwiftCore
Open-source generative UI framework: agents stream layout data, and apps render it with native components in React, Angular, Lit, Flutter, SwiftUI and Jetpack Compose.
CoreMLLLM
Run LLMs on Apple devices with CoreML, optimized for Apple Neural Engine + GPU
OllamaKit
Ollama client for Swift
AgentRunKit
Swift 6 agent SDK: type-safe tools, streaming, cloud + on-device inference via MLX on Apple Silicon
coreai-kit
Swift SDK for running chat, vision and speech models on iPhone and Mac with Apple's Core AI. Model download and caching, FoundationModels integration, and runnable examples with documented OS, SDK and model requirements.
swift-cactus
Crossplatform Swift SDK for Cactus hybrid inference and running LLMs locally in your app.
SwiftStreamingMarkdown
A performant markdown library for iOS & macOS that supports streaming
LocalLLMClient
Swift package to run local LLMs on iOS, macOS, Linux
NewmeanPII
Mask PII before it reaches OpenAI, Anthropic or any LLM: small multilingual models (54 languages, 2.6 to 15.5 MB) that run in the browser, on iOS and Android, or on a server. JavaScript, Python, Swift, Kotlin, Flutter, Rust.
swift-tokenizers
High-performance tokenizers
swift-extract
Typed structured extraction from PDFs, photos & text via any LLM — Instructor for Swift, document-first
swift-markdown-ui
Single-pass native GitHub Flavored Markdown for SwiftUI — 3x-10x faster layout, zero scroll jumps, 120 Hz AI streaming, and drop-in MarkdownUI 2.x compatibility.
ManifoldKit
Reusable SwiftUI chat framework for local and cloud LLM inference on Apple platforms
SwiftAgentCore
A bare-bones Swift agent runtime with built-in tool execution, skill support, conversation-state handling with a unified multi-provider LLM layer (OpenAI-compatible/Responses, Anthropic, Gemini, and MiniMax, plus codex OAuth)
swift-bylaws
Architectural linting for Swift developers and coding agents
swift-chat
SwiftUI chat UI for iMessage-style messaging and ChatGPT-style AI assistants. Typing indicators, read receipts, reactions, photo attachments, streaming replies, keyboard handling. One view.
swift-language-models
A unified Swift API for Apple’s Foundation Models-style experience across cloud and local LLM providers. Bring OpenRouter, Ollama, Claude, GPT, Gemini and more into a consistent LanguageModelSession interface, with tool calling, guided generation, streaming, reasoning and typed model catalogs. Multi-provider support, with more integrations coming.
GLiNER2Swift
Swift port of Gliner2 framework