Tools
Grafana Ships a Go AI SDK That Is Wire-Compatible With Vercel's TypeScript React Hooks
grafana/ai-sdk (198 stars, created 2026-07-28, Apache-2.0) gives Go one API for model calls, streaming, tools, structured output, and multi-step agents, deliberately following Vercel AI SDK's design and staying wire-compatible with its frontend hooks. A Go backend calling aisdk.StreamText and aisdk.WriteUIMessageStream streams Server-Sent Events directly into useChat with no protocol adapter. For anyone with a Go service and a React frontend, this removes the usual reason to keep a TypeScript BFF in the middle purely to speak the AI SDK stream protocol.
Source
↳ Follow the thread