Setup & Installation
What This Skill Does
A Go SDK for building AI-powered applications with Genkit. It provides a unified interface for text generation, structured output, streaming, tool calling, and prompt management across multiple model providers like Google AI, Vertex AI, Anthropic, and Ollama.
It gives Go developers a single API for generation, tools, and flows across providers, so you don't have to learn and maintain separate SDKs for each model.
When to use it
- Building a Go API endpoint that generates structured JSON responses from an LLM
- Adding tool-calling capabilities to a Go chatbot so it can fetch live data
- Defining reusable prompt templates with Handlebars for a content generation service
- Streaming LLM responses back to users through an HTTP handler in Go
- Switching between Google AI and Ollama models without rewriting application logic