LangChainGo
StaleDescription
LangChainGo is the Go implementation of LangChain, providing the easiest way to write LLM-based programs in Go with chains, agents, and tool integrations.
Key Features
- Go implementation of LangChain — build LLM applications using Go's composability and performance
- Supports multiple LLM providers including OpenAI, Anthropic, Google, and local models via Ollama
- Chain, agent, and tool abstractions for building complex LLM pipelines
- Active community with Discord support and growing contributor base
- Dev Containers and GitHub Codespaces support for instant development environments
- Well-documented API reference and example library for quick onboarding
Use Cases
Strengths & Limitations
✅ Strengths
- • High community interest (9.6k stars)
- • Permissive open-source license (MIT)
- • Established track record (3 years in production)
⚠️ Limitations
- • No updates in over 7 months
Categories
Quick Start
go get github.com/tmc/langchaingo
# See ./examples for usage
# Set OPENAI_API_KEY and run go run .