
The Best Go Libraries For Artificial Intelligence (13)
Discover the best Go libraries for Artificial Intelligence! Find the perfect tools to streamline your development and boost productivity. From langchaingo to LocalAI, we've got you covered. Let the coding begin!
langchaingo
LangChainGo is a framework for developing applications powered by language models
LocalAI
Open Source OpenAI alternative, self-host AI models
Ollama
Run large language models locally
OllamaFarm
Manage, load-balance, and failover packs of Ollamas
goai
Go SDK for building AI applications. One SDK, 20+ providers. Inspired by Vercel AI SDK
otellix
OpenTelemetry-native LLM observability and budget guardrails for cost-constrained production environments
routex
YAML-driven multi-agent AI runtime for Go with Erlang-style supervision, MCP tool server support, and a CLI
AegisFlow
AI gateway for routing, securing, and monitoring LLM traffic across 10+ providers. OpenAI-compatible API, WASM policy plugins, canary rollouts, real-time dashboard
ai
A Go toolkit for building AI agents and applications across multiple providers with unified LLM, embeddings, tool calling, and MCP integration
chromem-go
Embeddable vector database for Go with Chroma-like interface and zero third-party dependencies. In-memory with optional persistence
hotplex
AI Agent runtime engine with long-lived sessions for Claude Code, OpenCode, pi-mono and other CLI AI tools. Provides full-duplex streaming, multi-platform integrations, and secure sandbox
langgraphgo
A Go library for building stateful, multi-actor applications with LLMs, built on the concept of LangGraph๏ผwith a lot of builtin Agent architectures
localaik
Local compatibility proxy for the Gemini and OpenAI APIs. Run one container locally and test both SDK protocol shapes on the same port without API keys or network access