tmc/langchaingo
LangChain for Go, the easiest way to write LLM-based programs in Go observed · 2026-08-28
Health v2 · maintenance only
53/100
- Activity 61
- Release rhythm 21
- Longevity 92
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 245
- age_days: 1292
- days_rel: 317
- days_push: 234
- n_releases_24m: 2
Adoption not part of the score
9637 stars · 1139 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Langchaingo is the Go language port of LangChain, providing composable building blocks for writing LLM-powered applications in Go. It offers integrations with providers like OpenAI, Gemini, and Ollama for generation, chains, agents, and retrieval workflows.
Use cases
- build llm apps in go
- create a chatgpt clone in golang
- call openai from go
- use ollama with go
- build rag pipelines in go
- write llm agents in go
- use gemini models from go
When to choose
- you are building LLM-based applications in Go and want composable abstractions
- you need multi-provider LLM support (OpenAI, Gemini, Ollama) behind one API
- you want a LangChain-style ecosystem (chains, agents, embeddings) natively in Go
When to avoid
- you are working in Python or JavaScript where the original LangChain has a larger ecosystem
- you need only a single provider's SDK with no abstraction layer
- you need cutting-edge LangChain features that may lag behind the Python version
Facets
library · maturity active
llm-inference agent-framework rag chatbot prompt-engineering sdk large-language-models artificial-intelligence developer-tools go cross-platform langchain llm golang composable-llm-apps openai ollama gemini ai-agents retrieval-augmented-generation
1 source
- readme: https://github.com/tmc/langchaingo · fetched 2026-08-28 · 318b5ee3f932
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| tmc/langchaingo | main | 53 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem