Grafana AI SDK for Go provides a unified API for calling language models, streaming responses, executing tools, and serving AI-powered endpoints, with wire compatibility for Vercel's AI SDK React frontend.

Stars

17

7-day growth

No data

Forks

0

Open issues

8

License

Apache-2.0

Last updated

2026-07-29

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It brings the popular Vercel AI SDK design to Go, enabling seamless full-stack AI development with React frontends via SSE, without requiring a protocol adapter.

Who it is for

  • Go developers building AI-powered backends
  • Teams using React frontends with Go services
  • Developers needing streaming, tool calling, and structured output in Go

Use cases

  • Create a real-time chat backend that streams responses to a React UI
  • Build multi-step agent systems with tool execution in Go
  • Generate structured JSON output validated against schemas
  • Replace a TypeScript AI backend with Go while keeping the same frontend

Strengths

  • Wire-compatible with Vercel AI SDK React hooks (useChat, useCompletion, useObject)
  • Supports multiple providers: Anthropic, OpenAI, Amazon Bedrock, and OpenAI-compatible APIs
  • Composable tools allow calling plain Go functions from models with optional approval
  • Production controls include timeouts, fallback, logging, and Prometheus metrics

Considerations

  • Limited to the providers explicitly supported (Anthropic, OpenAI, Bedrock, OpenAI-compatible, Grafana hosted)
  • Assumes the SSE streaming protocol designed for Vercel AI SDK, which may not suit all frontend stacks
  • Requires familiarity with the Vercel AI SDK concepts if used with a React frontend

README quick start

Quick start

Description

Grafana AI SDK for Go — streaming, tool-calling AI backends that speak fluent @ai-sdk/react

Related repositories

Similar projects matched by category, topics, and programming language.

react
Featured
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web DevelopmentFrontend Frameworks
246,741
TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
yetone
Featured
yetone GitHub avatar

kill-ai-slop

Kill AI Slop is a multilingual field guide and agent skill that catalogues 33 common AI-generated design tells with interactive before-after demos, and provides a tool to scan and fix web projects.

AI & Machine LearningAI Agents
805