goai
View on GitHubGo AI SDK, the Go way. One unified API across 21+ providers. Streaming, structured output, MCP support, stdlib only. Go AI SDK for AI applications inspired by Vercel AI SDK.
A standard-library-focused Go SDK for building AI applications with a unified API across 25+ providers. It supports streaming, structured output, tool loops, embeddings, media generation, observability, and an MCP client.
Use Cases
Build Go applications that call multiple LLM providers through one APIStream text or structured output to usersCreate tool-using assistants with automatic multi-step loopsConnect agents to MCP serversGenerate embeddings, images, or videosTrace model calls and tool executions
Built With
- Language
- Go
- Frameworks
- Vercel AI SDK · MCP · OpenTelemetry · Langfuse
Tags
Go SDK · LLM · multi-provider · streaming · structured output · tool calling · MCP · embeddings · image generation · video generation · computer use · observability