π LangChain for Swift. Optimized for iOS, macOS, watchOS (part) and visionOS.(beta)
β433Sep 7, 2025Updated 10 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β93Aug 1, 2025Updated 11 months ago
- Swift Vector Database. On-device, local vector database for building the next-generation of user experiencesβ223Dec 7, 2025Updated 7 months ago
- π SimilaritySearchKit is a Swift package providing on-device text embeddings and semantic search functionality for iOS and macOS applicaβ¦β531Jun 4, 2024Updated 2 years ago
- LLM.swift is a simple and readable library that allows you to interact with large language models locally with ease for macOS, iOS, watchβ¦β865Updated this week
- Swift Package to implement a transformers-like API in Swiftβ1,340Jun 29, 2026Updated last week
- Proton VPN Special Offer - Get 70% off β’ AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Swift API for Pinecone Vector database accessβ34Aug 12, 2023Updated 2 years ago
- Swift community driven package for OpenAI public APIβ2,921Updated this week
- A very simple attempt at creating a LangChain-like framework in Swiftβ12Jun 4, 2023Updated 3 years ago
- The definitive, open-source Swift framework for interfacing with generative AI.β226Mar 5, 2026Updated 4 months ago
- Swift API for MLXβ1,943Jul 2, 2026Updated last week
- Implement Retrieval Augmented Generation (RAG) in Swift for iOS and macOS apps with local LLMS. Enhance your Apple ecosystem applicationsβ¦β87Oct 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.β282Dec 9, 2025Updated 7 months ago
- This package provides Swift bindings for llama.cppβ26Apr 4, 2023Updated 3 years ago
- Deploy on Railway without the complexity - Free Credits Offer β’ AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Swift bindings for llama-cpp libraryβ71Dec 10, 2024Updated last year
- Fork of llama.cpp, supporting Facebook's LLaMA model in Swiftβ184Jun 20, 2023Updated 3 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.β653Jun 2, 2026Updated last month
- Run your favourite LLMs locally on macOS from Swiftβ84Jun 8, 2023Updated 3 years ago
- Maintenance mode β new development in Textual: https://github.com/gonzalezreal/textualβ3,888Dec 28, 2025Updated 6 months ago
- Run embedding models locally in Swift using MLTensor.β150Jun 8, 2026Updated last month
- Swift-based vector database for on-device RAG using MLTensor and MLX Embeddersβ308Updated this week
- GenKit is a library that abstracts away all the differences across generative AI platforms.β76Sep 13, 2025Updated 9 months ago
- Deploy on Railway without the complexity - Free Credits Offer β’ AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- A community Swift package used to interact with the OpenAI APIβ730Aug 26, 2024Updated last year
- Generate JSON Schema documents from Swiftβ107May 13, 2026Updated last month
- A Swift macro that allows you to call your function from Function Calling.β15May 14, 2026Updated last month
- β181May 29, 2025Updated last year
- An open-source Swift package for interacting with Anthropic's public API.β241Apr 18, 2026Updated 2 months ago
- Openai's tiktoken implementation written in Swiftβ79Jul 31, 2024Updated last year
- A minimalistic Swift implementation of the Jinja templating engine, specifically designed for parsing and rendering ML chat templates.β128May 26, 2026Updated last month
- llama and other large language models on iOS and MacOS offline using GGML library.β2,048Jan 30, 2026Updated 5 months ago
- Ollama client for Swiftβ332Mar 9, 2025Updated last year
- Serverless GPU API endpoints on Runpod - Get Bonus Credits β’ AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Swift framework to interact with Python.β2,209Updated this week
- Examples using MLX Swiftβ2,617Jun 15, 2026Updated 3 weeks ago
- This SDK is now deprecated, use the unified Firebase SDK.β1,075May 15, 2026Updated last month
- Interact with OpenAI and OpenAI-compatible chat completion APIs in a simple and elegant way. Supports Cohere V2, Groq, Ollama, OpenRouterβ¦β52Jul 30, 2025Updated 11 months ago
- A Swift implementation of the OpenAI Agents SDKβ36Apr 24, 2026Updated 2 months ago
- This is a wrapper library around the ChatGPT and OpenAI HTTP APIβ1,706Feb 12, 2025Updated last year
- The official Swift SDK for Model Context Protocol servers and clients.β1,428May 7, 2026Updated 2 months ago