← The log

grafana/ai-sdk

★ 262 stars

Go

Covered in week 2026-W37 · the 2026-09 report

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

What ai-sdk is

Call language models, stream responses, execute tools, and serve AI-powered endpoints from Go. Use the SDK on its own or pair it with an AI SDK React frontend.

From the repository README · read it on GitHub →

12 Sep 2026 · 0:29
Grafana AI SDK: Replace Your TypeScript AI Backend With Go
Watch on YouTube →

Transcript

Wiring an AI backend in Go means rebuilding your React chat protocol. Grafana's ai-sdk stays wire-compatible with Vercel's AI SDK, serving Server-Sent Events straight to the useChat hook. StreamText streams responses, composable Go tools require approval for consequential actions, and structured output returns schema-validated objects. Prometheus metrics, timeouts, and fallback handle production, letting you replace a TypeScript backend without adapters.

View on GitHub