Packages for keyword “llm”
These packages are available as a package collection, usable in Xcode or SwiftPM.
SwiftAIAgent
An AI Agent framework in Swift
alpaca.swift
Swift-native LLM inference engine for Apple Silicon
KVCacheEstimator
Size an LLM's KV cache from its config.json (Swift): GQA-aware, head_dim-aware, fp16/fp8/int4
swift-gbnf
Describe JSON in Swift, get a llama.cpp GBNF grammar. Local LLMs that can only answer valid JSON.
Sumi
Fast Markdown library for macOS apps
DeepSwiftSeek
DeepSwiftSeek 🚀 | Swift Client for DeepSeek LLM Models | Lightweight and efficient communication to the core functionality of DeepSeek
GoogleGenerativeLanguage
Swift SDK for the Google Generative Language API (Gemini). Auto-generated from Google's OpenAPI spec. No official Swift SDK exists. This fills the gap.
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.
StringCatalogKit
Swift toolkit for reading, writing, and translating Xcode .xcstrings string catalogs with provider-agnostic and LLM-powered workflows.
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.
unswayed
tatistical parity gate for swapping AI models: freeze a suite, sample every provider, fail CI only on certified regressions with an honest 'undecided' when n can't prove anything
VeloxQuant
Swift SDK for VeloxQuant (Apple Silicon MLX KV-cache compression) — sibling to the TS, Go, Rust, and Kotlin client SDKs.
Arbiter
Framework to talk to AI models and intelligently route
Cast
Type-safe structured output from any local LLM on Apple Silicon. Constrained decoding for MLX Swift.
FiniteExtract
On-device structured extraction engine (Swift Package)
MockableKit
AI-powered mock data generator for Swift. Make Mocks in seconds, not minutes. Generate realistic Decodable mock data from Gemini with zero boilerplate.
swift-llama
Run LLMs natively in Swift. Actor-safe. Streaming. Tool-calling. Metal-accelerated.
SwiftLLM
Swift Package — 3-line LLM integration for iOS/macOS · Claude + OpenAI · async/await · zero dependencies
ARCP
Swift reference SDK for ARCP (Agent Runtime Control Protocol).