π LangChain for Swift. Optimized for iOS, macOS, watchOS (part) and visionOS.(beta)
β429Sep 7, 2025Updated 6 months ago
Alternatives and similar repositories for langchain-swift
Users that are interested in langchain-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:
- π LangGraph for Swift. A library for building stateful, multi-actor applications with LLMs, built to work jointly with langchain-swiftβ86Aug 1, 2025Updated 7 months ago
- Swift Vector Database. On-device, local vector database for building the next-generation of user experiencesβ220Dec 7, 2025Updated 3 months ago
- π SimilaritySearchKit is a Swift package providing on-device text embeddings and semantic search functionality for iOS and macOS applicaβ¦β521Jun 4, 2024Updated last year
- LLM.swift is a simple and readable library that allows you to interact with large language models locally with ease for macOS, iOS, watchβ¦β834Dec 6, 2025Updated 3 months ago
- Swift Package to implement a transformers-like API in Swiftβ1,283Mar 17, 2026Updated last week
- 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 API for Pinecone Vector database accessβ34Aug 12, 2023Updated 2 years ago
- Swift community driven package for OpenAI public APIβ2,886Nov 20, 2025Updated 4 months ago
- A very simple attempt at creating a LangChain-like framework in Swiftβ12Jun 4, 2023Updated 2 years ago
- Swift API for MLXβ1,662Mar 12, 2026Updated 2 weeks ago
- The definitive, open-source Swift framework for interfacing with generative AI.β223Mar 5, 2026Updated 3 weeks ago
- Implement Retrieval Augmented Generation (RAG) in Swift for iOS and macOS apps with local LLMS. Enhance your Apple ecosystem applicationsβ¦β86Oct 14, 2024Updated last year
- Build, deploy, and manage LLM-powered agents on ο£Ώ platforms.β30Sep 22, 2023Updated 2 years ago
- Swift library to work with llama and other large language models.β279Dec 9, 2025Updated 3 months ago
- This package provides Swift bindings for llama.cppβ26Apr 4, 2023Updated 2 years ago
- Proton VPN Special Offer - Get 70% off β’ AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Swift bindings for llama-cpp libraryβ68Dec 10, 2024Updated last year
- Fork of llama.cpp, supporting Facebook's LLaMA model in Swiftβ184Jun 20, 2023Updated 2 years ago
- Mac app to demonstrate swift-transformersβ597Jul 29, 2024Updated last year
- The most complete open-source Swift package for interacting with OpenAI's public API.β650Dec 27, 2025Updated 3 months ago
- Run your favourite LLMs locally on macOS from Swiftβ83Jun 8, 2023Updated 2 years ago
- Maintenance mode β new development in Textual: https://github.com/gonzalezreal/textualβ3,781Dec 28, 2025Updated 2 months ago
- Swift-based vector database for on-device RAG using MLTensor and MLX Embeddersβ266Mar 18, 2026Updated last week
- Run embedding models locally in Swift using MLTensor.β142Feb 7, 2026Updated last month
- GenKit is a library that abstracts away all the differences across generative AI platforms.β74Sep 13, 2025Updated 6 months ago
- NordVPN Threat Protection Proβ’ β’ AdTake your cybersecurity to the next level. Block phishing, malware, trackers, and ads. Lightweight app that works with all browsers.
- Generate JSON Schema documents from Swiftβ97Mar 6, 2026Updated 3 weeks ago
- A community Swift package used to interact with the OpenAI APIβ733Aug 26, 2024Updated last year
- A Swift macro that allows you to call your function from Function Calling.β14Updated this week
- β181May 29, 2025Updated 9 months ago
- An open-source Swift package for interacting with Anthropic's public API.β234Feb 16, 2026Updated last month
- Openai's tiktoken implementation written in Swiftβ76Jul 31, 2024Updated last year
- A minimalistic Swift implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.β122Feb 19, 2026Updated last month
- A Swift implementation of the OpenAI Agents SDKβ35Sep 20, 2025Updated 6 months ago
- Ollama client for Swiftβ326Mar 9, 2025Updated last year
- 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.
- llama and other large language models on iOS and MacOS offline using GGML library.β2,002Jan 30, 2026Updated last month
- Examples using MLX Swiftβ2,463Jan 22, 2026Updated 2 months ago
- Swift framework to interact with Python.β2,173Sep 18, 2025Updated 6 months ago
- This SDK is now deprecated, use the unified Firebase SDK.β1,080May 12, 2025Updated 10 months ago
- A type-safe, declarative AI agent framework for Swift. Build composable AI pipelines with Steps, Agents, structured outputs, β¦β80Mar 5, 2026Updated 3 weeks ago
- Interact with OpenAI and OpenAI-compatible chat completion APIs in a simple and elegant way. Supports Cohere V2, Groq, Ollama, OpenRouterβ¦β52Jul 30, 2025Updated 7 months ago
- This is a wrapper library around the ChatGPT and OpenAI HTTP APIβ1,714Feb 12, 2025Updated last year