Mastering Genkit: Go Edition

Build Production-Ready AI Applications with Go and Genkit

Welcome to Mastering Genkit: Go Edition

Master the art of building AI with Genkit and Go. This guide takes you from the basics of setting up your development environment to advanced topics like RAG systems, AI agents, and production deployment.

Table of Contents

  1. Introduction
  2. Understanding Genkit Architecture
  3. Setting Up Your Development Environment
  4. Mastering AI Generation
  5. Working with Structured Data
  6. Building Flows
  7. Streaming Flows
  8. Tool Calling
  9. Model Context Protocol (MCP)
  10. Retrieval Augmented Generation (RAG)
  11. Evaluations with Genkit Go
  12. Building AI Agents with Genkit Go
  13. Monitoring and Observability with Genkit Go
  14. Deploying AI Applications with Genkit Go
  15. Client Integration
  16. Resources

Authors: Xavier Portilla Edo & Nozomi Koborinai

Xavier Portilla Edo

Xavier was born in Valencia, but currently living in Madrid. He has +10 years of experience. He focuses on Cloud, Kubernetes, DevOps, Q&A, microservices, Generative AI & Conversational AI and mentoring startups thanks to the Google & Microsoft For Startups Program. He is an organizer of GDG Madrid, DevopsDays Madrid and the Alexa community in Spanish. In his spare time, he enjoys music, beer, and friends. He has been recognized as a Microsoft MVP, GitHub Star, AWS Alexa Champion & Community Builder, and Google Developer Expert in AI and Cloud.

Nozomi Koborinai

Nozomi completed his studies at an IT technical college in March 2019, building a foundation in object-oriented programming with Java. This book is a collaborative creation born from Xavier's invitation, aiming to share practical experience with Genkit and Go. He has 6 years of experience developing electronic medical record systems with C#, teaching at Flutter University, and specializing in serverless application development at a Google Cloud Partner company in Japan. Deeply impressed by Firebase's developer experience, he explored Genkit and now contributes to its ecosystem, including the Dart client. He was awarded Google Cloud Partner Top Engineer (Serverless App Development) 2025 and has spoken at Google I/O Extended Tokyo and GDG DevFest. Beyond technology, he enjoys music, reading.

Last Updated: 2025