Artificial Intelligence

37 projects

This category covers Go software for building with large language models: application frameworks, agent toolkits, Model Context Protocol libraries, AI gateways that route requests across providers, embeddable vector stores, and model runners written in Go. Classic machine learning libraries are listed separately under Machine Learning, and provider API clients such as go-openai sit under Third-party APIs.

Ollama, written in Go, runs open-weight models locally and is one of the most starred Go projects of any kind; LocalAI offers a self-hosted, OpenAI-compatible server. For applications, tmc/langchaingo ports LangChain concepts to Go, and Google's Genkit provides flows, tool calling and structured output with a Go SDK. mark3labs/mcp-go is a widely used library for building MCP servers and clients. trpc-agent-go and langgraphgo build multi-agent and stateful workflows. chromem-go is an embeddable vector database with no third-party dependencies. GoModel and ai-gateway expose one OpenAI-compatible API in front of many providers.

Many Go services need only a provider SDK and a few well-defined tool calls, which is easier to debug than a framework; OpenAI, Anthropic and Google publish official Go SDKs. Reach for Genkit or langchaingo when you need retrieval, tracing or many integrations. This area changes fast, so check recent commits and releases before committing to a library.

Ollamaby jmorganca

Run large language models locally.

github.com/ollama/ollamaGo 1.26+ 34 dependenciesv0.40.13updated today

185.7k

LocalAIby mudler

Open Source OpenAI alternative, self-host AI models.

github.com/mudler/LocalAIGo 1.26+ 103 dependenciesv4.12.1updated today

50.1k

langchaingoby tmc

LangChainGo is a framework for developing applications powered by language models.

github.com/tmc/langchaingoGo 1.26+ 65 dependenciesv0.1.15updated 3d ago

9.8k

mcp-goby mark3labs

Go implementation of the Model Context Protocol for building MCP servers and clients in Go.

github.com/mark3labs/mcp-goGo 1.25+ 8 dependenciesv1.5.0updated today

9.2k

Genkitby firebase

Framework created by Google for building AI-powered and agentic applications in idiomatic Go.

genkit@1.43.0updated today

6.6k

trpc-agent-goby trpc-group

Framework for building LLM-based multi-agent systems.

trpc.group/trpc-go/trpc-agent-goGo 1.21+ 39 dependenciesv1.11.2updated today

1.9k

GoModelby ENTERPILOT

AI gateway exposing a unified OpenAI-compatible API across OpenAI, Anthropic, Gemini, Groq, xAI, Ollama and other providers, with routing, usage tracking, rate limits, and guardrails.

github.com/enterpilot/gomodelGo 1.27+ 43 dependenciesv0.2.1updated today

1.3k

chromem-goby philippgille

Embeddable vector database for Go with Chroma-like interface and zero third-party dependencies. In-memory with optional persistence.

github.com/philippgille/chromem-goGo 1.21+ No dependencies v0.7.0updated 1mo ago

1.1k

snipby edouard-claude

CLI proxy that reduces LLM token usage by 60-90% with declarative YAML filters. Drop-in for Claude Code, Cursor, Copilot, and Gemini. rtk alternative in Go.

github.com/edouard-claude/snipGo 1.25+ 6 dependenciesv0.25.2updated today

475

langgraphgoby smallnest

A Go library for building stateful, multi-actor applications with LLMs, built on the concept of LangGraph,with a lot of builtin Agent architectures.

github.com/smallnest/langgraphgoGo 1.25+ 15 dependenciesv0.8.5updated 3mo ago

310

ai-gatewayby ferro-labs

OpenAI-compatible LLM gateway that routes requests across 30 providers with fallback, rate limiting, budgets, guardrails, and observability.

github.com/ferro-labs/ai-gatewayGo 1.26+ 27 dependenciesv1.6.0updated today

276

goaiby zendev-sh

Go SDK for building AI applications. One SDK, 20+ providers. Inspired by Vercel AI SDK.

github.com/zendev-sh/goaiGo 1.25+ 3 dependenciesv0.11.0updated 2d ago

234

Cynative

Framework for building security engineering AI agents in Go. Read-only by construction, built-in sandbox, 45 agent blueprints for AWS, GCP, Azure, K8s, GitHub & GitLab deep research.

github.com/cynative/cynativeGo 1.27+ 37 dependenciesv1.14.1updated 11d ago

228

claiby baalimago

Agentic harness focused on terminal workflows, following UNIX principles. No external dependencies, ideal for scripting/prototyping agentic apps, engine is also exposed as a package.

github.com/baalimago/claiGo 1.26+ 4 dependenciesv1.13.1updated 1d ago

152

jargoby gojargo

Framework for building real-time voice AI agents over WebRTC, wiring speech-to-text, LLMs, and text-to-speech into a streaming pipeline.

github.com/gojargo/jargoGo 1.27+ 37 dependenciesv0.3.0updated today

107

OllamaFarmby presbrey

Manage, load-balance, and failover packs of Ollamas.

github.com/presbrey/ollamafarmGo 1.24+ 1 dependencyv1.1.1updated 3mo ago

103

keen-codeby mochow13

A context-efficient terminal-based AI coding agent. Provider agnostic, supports MCPs, Agent Skills, Subagents, and more. Comes with a simple and straightforward TUI.

github.com/mochow13/keen-codeGo 1.26+ 27 dependenciesv0.66.0updated today

88

web-researcher-mcpby zoharbabin

MCP server providing AI assistants with web search, content extraction, and multi-source research capabilities. Single binary, 5 search providers with circuit-breaker failover, 4-tier scraping pipeline.

github.com/zoharbabin/web-researcher-mcpGo 1.27+ 16 dependenciesv1.50.4updated 6d ago

76

skillreaperby thousandflowers

CLI that scans AI agent session transcripts to identify and safely quarantine unused skills, MCP servers, and agents across Claude Code, Codex CLI, Hermes, OpenCode, Cursor, and OpenClaw.

github.com/thousandflowers/skillreaperGo 1.24+ No dependencies v0.8.0updated 2mo ago

63

agent-sdk-goby agenticenv

Framework for building stateful AI agents in Go.

github.com/agenticenv/agent-sdk-goGo 1.26+ 42 dependenciesv0.3.7updated 3d ago

62

zenflowby zendev-sh

Multi-agent orchestration & workflow engine. Declarative YAML workflows, LLM coordinator with hub-and-spoke mailboxes, race-safe delivery. One YAML file, one Go binary. Runs on any goai-supported provider.

github.com/zendev-sh/zenflowGo 1.25+ 6 dependenciesv0.3.0updated today

57

otellixby oluwajubelo1

OpenTelemetry-native LLM observability and budget guardrails for cost-constrained production environments.

github.com/oluwajubelo1/otellixGo 1.23+ 18 dependenciesv1.7.0updated 9d ago

54

claude-code-goby lancekrogers

Go library for driving the Claude Code CLI non-interactive prompt surface from Go programs.

github.com/lancekrogers/claude-code-goGo 1.24+ No dependencies v1.4.0updated 4d ago

53

hotplexby hrygo

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.

github.com/hrygo/hotplexGo 1.26+ 48 dependenciesv1.52.0updated 24d ago

52

aiby joakimcarlsson

A Go toolkit for building AI agents and applications across multiple providers with unified LLM, embeddings, tool calling, and MCP integration.

updated 3d ago

49

AegisFlowby saivedant169

AI gateway for routing, securing, and monitoring LLM traffic across 10+ providers. OpenAI-compatible API, WASM policy plugins, canary rollouts, real-time dashboard.

github.com/saivedant169/AegisFlowGo 1.26+ 23 dependenciesv0.9.0updated 6d ago

39

routexby Ad3bay0c

YAML-driven multi-agent AI runtime for Go with Erlang-style supervision, MCP tool server support, and a CLI.

github.com/Ad3bay0c/routexGo 1.25+ 11 dependenciesv1.0.3updated 3mo ago

25

Aetherisby Colin4k1024

AI Agent execution runtime with event sourcing, checkpoint recovery, and At-Most-Once execution guarantee. Written in Go.

v2.5.3archived

23

agy-mcpby tphakala

Model Context Protocol (MCP) server wrapping the Antigravity CLI to run prompts and peer reviews.

github.com/tphakala/agy-mcp/v2Go 1.27+ 3 dependenciesv2.10.0updated 6d ago

22

localaikby harshaneel

LocalStack-style local emulation of OpenAI and Gemini APIs; single Docker container, llama.cpp + Gemma 3 backend.

github.com/harshaneel/localaikGo 1.25+ 4 dependenciesv0.4.2updated 2mo ago

16

crewai-goby rhgs

Idiomatic Go port of CrewAI (multi-agent orchestration). Zero dependencies, stdlib only.

github.com/rhgs/crewai-goGo 1.24+ No dependencies v1.0.0updated 1mo ago

15

llm-boxby alib8b8

Terminal-based AI workflow engine with YAML-driven pipelines, 20+ LLM providers (DeepSeek, Qwen, GLM, Mistral, etc.), and a TUI for workflow management.

github.com/alib8b8/aflareGo 1.26+ 18 dependenciesv0.12.0updated 1d ago

15

Smeldr

AI-native content backend with typed lifecycle management, native MCP tools for every content type, and zero runtime dependencies.

smeldr.dev/coreGo 1.26+ 1 dependencyv1.188.0updated today

10

dakera-goby dakera-ai

Official Go client SDK for the Dakera self-hosted agent memory server, providing typed interfaces for memory store/recall, session management, namespace operations, and decay configuration.

github.com/dakera-ai/dakera-goGo 1.21+ 1 dependencyv0.12.3updated 11d ago

7

golemby abubakarsiddik31

Framework for building dependable AI agents with typed dependencies, zero external dependencies, and native MCP support.

github.com/abubakarsiddik31/golemGo 1.26+ No dependencies v1.0.0updated 8d ago

7

thermalby jadmadi

Terminal contribution heatmap, streak tracker, and token leaderboard for AI coding assistants.

github.com/jadmadi/thermalGo 1.27+ 7 dependenciesv0.22.0updated 3d ago

2
Esc

Type to search every entry. ↑↓ to move, Enter to open.