LangChainGo

Stale
GitHub Go MIT

Description

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

💡 Building Go-native LLM applications and AI services
💡 Creating conversational AI agents with tool use in Go backend systems
💡 RAG (Retrieval-Augmented Generation) applications using Go's concurrency model
💡 Integrating LLM capabilities into existing Go microservices
💡 Prototyping AI features quickly with LangChain's familiar abstractions in Go

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

Quick Start

go get github.com/tmc/langchaingo
# See ./examples for usage
# Set OPENAI_API_KEY and run go run .

Related Projects

AutoAgent

9.7k · Python
Stale B

Fully-automated and zero-code LLM agent framework that enables users to build and deploy custom AI agents through natural language without writing code.

agent-frameworkzero-codeautomation +2
  • · Fully-automated agent building through natural language — no coding required to create, customize, and deploy AI agents
  • · Zero-code framework democratizing AI development for users without technical backgrounds
  • · Self-managing workflow generation that dynamically creates and optimizes agent pipelines from high-level descriptions

ART

10.6k · Python
Active A+

ART (Agent Reinforcement Trainer) trains multi-step agents for real-world tasks using GRPO reinforcement learning, enabling on-the-job training for models like Qwen, Llama, and more.

reinforcement-learningagent-trainingGRPO +3
  • · GRPO-based reinforcement learning for training multi-step agents on real-world tasks
  • · W&B Training serverless RL with 40% lower cost and 28% faster training via shared inference cluster
  • · Pre-built notebooks for email search, 2048, Tic Tac Toe, Codenames, and MCP tool mastery

PocketFlow

11.1k · Python
Active A

PocketFlow is a minimalist 100-line LLM framework that lets Agents build Agents, enabling complex AI agent workflows through a clean abstraction layer.

agent-frameworkllmworkflow +2
  • · Only 100 lines of code, zero dependencies, zero vendor lock-in — ultra lightweight
  • · Graph-based abstraction supporting Agent, Multi-Agent, Workflow, and RAG design patterns
  • · Supports Agentic Coding — let AI agents like Cursor build agents for 10x productivity

Related Articles