#148 · Primary category: LLM Application Frameworks
gollm
Unified Go interface for Language Model (LLM) providers. Simplifies LLM integration with flexible prompt management and common task functions.
Project last updated:03/21/26
GitHub Stars
674
Forks
67
Contributors
17
License
Apache-2.0
Why we included this project
Go teams that need to talk to more than one LLM provider usually end up maintaining a separate integration for each one. gollm collapses that into a single interface covering OpenAI, Anthropic, Groq, Ollama, Mistral, and OpenRouter, so switching models or vendors is a configuration change rather than a rewrite of your call sites. Beyond plain generation it bundles the pieces most LLM apps build anyway: prompt templates with context and directives, JSON schema validation for structured output, a chain-of-thought helper, memory across turns, and a prompt optimizer that refines your instructions. For content workflows, structured data extraction, or side-by-side model comparison, that gives Go teams a consistent native layer without assembling those parts themselves.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
langchain
The agent engineering platform.
dify
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
litellm
The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
llama_index
LlamaIndex is the leading document agent and OCR platform