buhe/langchain-swift
A Swift implementation of the LangChain framework for building LLM-powered applications on Apple platforms.

Not currently ranked — collecting fresh signals.
star history
This project ports LangChain to Swift, providing chains, agents, and tool integrations for building LLM applications. It supports numerous LLM providers including OpenAI, Google AI, ChatGLM, Ollama, and local GGUF models. The library enables integration with external services like Notion, Supabase, Serper, and Baidu for building sophisticated AI-driven workflows on iOS, macOS, watchOS, and visionOS.
Frequently asked
- What is buhe/langchain-swift?
- A Swift implementation of the LangChain framework for building LLM-powered applications on Apple platforms.
- Is langchain-swift open source?
- Yes — buhe/langchain-swift is open source, released under the Apache-2.0 license.
- What language is langchain-swift written in?
- buhe/langchain-swift is primarily written in Swift.
- How popular is langchain-swift?
- buhe/langchain-swift has 433 stars on GitHub.
- Where can I find langchain-swift?
- buhe/langchain-swift is on GitHub at https://github.com/buhe/langchain-swift.