Firebase/developing-genkit-go — Agent Skills | officialskills.sh
Back to skills

developing-genkit-go

communityai-tools

A Go SDK for building AI-powered applications with Genkit.

Setup & Installation

npx skills add https://github.com/firebase/agent-skills --skill developing-genkit-go
or paste the link and ask your coding assistant to install it
https://github.com/firebase/agent-skills/tree/main/skills/developing-genkit-go
View on GitHub

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