langchaingo and langchain-go
The first is the official, community-maintained Go implementation of LangChain's core framework, while the second is a generated SDK for calling LangChain's API endpoints remotely—making them complements that serve different use cases (embedded vs. client-server architectures).
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
speakeasy-api/langchain-go
Go bindings for Langchain AI
Related comparisons
Scores updated daily from GitHub, PyPI, and npm data. How scores work