langchaingo and langchain-go
These are competitors: tmc/langchaingo is the official, community-backed Go implementation of LangChain with thousands of stars, while zhucl121/langchain-go is an alternative third-party implementation attempting to provide similar LangChain/LangGraph functionality for Go developers.
About langchaingo
tmc/langchaingo
LangChain for Go, the easiest way to write LLM-based programs in Go
Provides modular abstractions for language models, memory, chains, and agents that compose together into complex LLM workflows. Supports multiple LLM providers (OpenAI, Gemini, Ollama) through a unified interface and includes built-in components for retrieval-augmented generation, prompt templating, and agent loops.
About langchain-go
zhucl121/langchain-go
LangChain-Go 是 [LangChain](https://github.com/langchain-ai/langchain) 和 [LangGraph](https://github.com/langchain-ai/langgraph) 的完整 Go 语言实现,针对 Go 生态优化,提供高性能、类型安全的 AI 应用开发体验。
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work