Packages for keyword “llm”
These packages are available as a package collection, usable in Xcode or SwiftPM.
CouncilKit
Multi-model deliberation as a Swift primitive — ask several LLMs one question, blind peer review, a divergence score, and the dissenting view.
DProvenanceKit
Local-first AI reasoning observability for Swift: record, diff, attest, and CI-gate agent execution paths. Complements OpenTelemetry and tools like LangSmith — does not replace them.
GLiNER2Swift
Swift port of Gliner2 framework
HybridRouterKit
iOS app + Swift package that routes each conversation turn between Apple on-device, Apple Private Cloud Compute, and Claude.
langchain-swift
🚀 LangChain for Swift. Optimized for iOS, macOS, watchOS (part) and visionOS.(beta)
NobodyWho
On-device AI inference for Swift apps. Run LLMs locally on iOS, macOS, visionOS and watchOS.
NRouter
nRouter SDK — one API key for models across six provider clouds (Alibaba US, OpenAI, AWS Bedrock, Azure Foundry, Google Vertex AI, Anthropic). Speaks the OpenAI and Anthropic wire formats natively, plus embeddings, audio, images and video.
PortableMemory
An open, vendor-neutral AI memory format and protocol
PrivateFoundationModels
Apple FoundationModels API on iOS 18+. Same call site, native passthrough on iOS 26 (Apple Intelligence), CoreML / MLX backends on older OSes. Drop-in source compatible.
SwiftAIAgent
An AI Agent framework in Swift
LLMKit
Unified LLM client library for Swift - one API, 36 providers (Anthropic, OpenAI, Google Gemini, AWS Bedrock, Mistral, Groq, DeepSeek, +29 more), zero external dependencies (Foundation + CryptoKit).
StringCatalogKit
Swift toolkit for reading, writing, and translating Xcode .xcstrings string catalogs with provider-agnostic and LLM-powered workflows.
swift-argument-parser-mcp
A Swift library that turns any ArgumentParser CLI into an MCP server, letting AI agents call your commands as tools.
DeepSwiftSeek
DeepSwiftSeek 🚀 | Swift Client for DeepSeek LLM Models | Lightweight and efficient communication to the core functionality of DeepSeek
LLamaSwift
Swift bindings for llama-cpp library
ModelRelay
Composable AI workflows for Swift: small typed steps, a model per step, tools, MCP and on-device models.
OpenJevSwift
Native Swift implementation of OpenJev, the Jev-compatible typed-decision server: yes/no, choice and score answers read from model probabilities, on Apple silicon Macs and in iPhone apps. Serves Verdict, Laya, DiffusionGemma and JevK5. Apache-2.0.
Sophon
Gemini AI client kit for Swift (iOS, macOS, Mac Catalyst): structured output, retry policies, model catalog with automatic fallback, lenient LLM JSON decoding. Ships in three App Store apps.
Sumi
Fast Markdown library for macOS apps
swift-markdown-kit
Markdown rendering SDK for iOS, built for streaming AI output. Renders Markdown, code, math, tables and whole conversations from a native Swift API.