Back to directory

Go AI Client Library

A multi-provider Go library, split into about fifty per-vendor modules, that covers chat, embeddings, image generation, speech and an agent framework with handoffs, memory and Model Context Protocol tooling.

Go AI Client Library

This Go library covers large-language-model chat, embeddings, image generation, text-to-speech, speech-to-text, reranking and fill-in-the-middle completion, each as its own modality module with a separate per-vendor sub-module, so a project imports only the vendor SDKs it actually uses. Supported vendors include OpenAI, Anthropic, Google, xAI, ElevenLabs, Azure Speech, Deepgram, AssemblyAI, Voyage AI and Cohere, among others.

An agent framework layer adds sub-agents, handoffs, fan-out, sessions and persistent memory, plus a low-latency voice-agent pipeline that chains streaming speech-to-text, an LLM and text-to-speech with barge-in and tool-call sounds. Other features include native batch processing for OpenAI, Anthropic and Gemini, Model Context Protocol tool integration, OpenTelemetry tracing using GenAI semantic conventions, and token and cost tracking. The library is organized into five tiers, from vendor-free leaf packages up to an agent runtime and a persistence tier backed by pgvector, Postgres or SQLite.

More in Agent frameworks

See all 902
  • Recurse

    recurse.run

    A serverless harness that lets a coding agent design, test, and deploy its own specialist sub-agents as tools, MCP servers, or bots, defined by a schema-validated manifest.

  • ProofForge

    shulgin.is-a.dev

    An AI-agent pipeline that decomposes a mathematics problem, proves each piece, and formalizes the result in Lean 4 and Mathlib until the Lean kernel accepts it, with six of its proofs already merged into Google DeepMind's formal-conjectures repository.

  • local-coder

    github.com

    Builds a local coding-agent team on top of Ollama and OpenCode by detecting the machine's hardware, recommending models for seven specialist roles, and testing whether each assigned model can actually use tools, edit a repository and pass verification.