Skip to content

i14h/mastering-genkit-go

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

175 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Mastering Genkit: Go Edition

Build Production-Ready AI Applications with Go and Genkit

Build Status License Go Genkit Star this repo

cover

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

About This Book

Master the art of building AI applications with Genkit and Go. Learn to harness the power of Genkit's flow-based architecture, integrate with leading AI models, implement robust evaluation systems, and deploy scalable AI applications.

πŸ‘₯ Authors

  • Xavier Portilla Edo - Google Developer Expert in AI and Cloud, Microsoft MVP, GitHub Star
  • Nozomi Koborinai - Google Cloud Partner Top Engineer, Genkit Dart Client Developer

What You'll Learn

  • Foundation: Understanding Genkit architecture and Go integration
  • Development Environment: Setting up your Go development environment for AI
  • AI Generation: Mastering structured output and AI model integration
  • Flows: Building robust, scalable AI workflows
  • Streaming: Implementing real-time AI responses
  • Tools: Creating and integrating custom tools
  • MCP: Model Context Protocol implementation
  • RAG: Retrieval-Augmented Generation systems
  • Evaluations: Testing and validating AI applications
  • Agents: Building autonomous AI agents
  • Monitoring: Observability and performance tracking
  • Deployment: Production-ready deployment strategies

πŸ“ Repository Structure

src/
β”œβ”€β”€ chapters/           # Book chapters in Markdown
β”œβ”€β”€ examples/          # Go code examples and projects
β”œβ”€β”€ images/            # Book images and diagrams
β”œβ”€β”€ diagrams/          # Technical diagrams
└── metadata/          # Book metadata and configuration

πŸš€ Quick Start

Prerequisites

  • Go 1.24 or later
  • Git for version control

Getting Started

  1. Clone the repository:

    git clone https://github.com/mastering-genkit/mastering-genkit-go.git
    cd mastering-genkit-go
  2. Explore the examples:

    cd src/examples
    # Each chapter has its own example directory
  3. Read the book:

πŸ“‹ Available Formats

  • 🌐 Web - Interactive online version with code examples
  • πŸ“– EPUB - For e-readers and tablets
  • πŸ“± MOBI - For Amazon Kindle devices
  • πŸ“„ PDF - For printing and offline reading
  • πŸ“š Leanpub - Direct markdown publishing platform

You can get these formats from the Releases.

Resources

Official Links

Community

Authors

πŸ“„ License

This book content is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.

This means you are free to:

  • Share β€” copy and redistribute the material in any medium or format

Under the following terms:

  • Attribution β€” You must give appropriate credit, provide a link to the license, and indicate if changes were made
  • NonCommercial β€” You may not use the material for commercial purposes
  • NoDerivatives β€” If you remix, transform, or build upon the material, you may not distribute the modified material

Individual code examples may have the same licenses.


Ready to master AI development with Genkit and Go? Dive into the first chapter!

Star this repo

About

Mastering Genkit: Go Edition

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Go 22.3%
  • TypeScript 21.0%
  • Dart 19.7%
  • JavaScript 15.3%
  • CSS 12.4%
  • Shell 4.0%
  • Other 5.3%