Awesome Go

Genkit

CategoryArtificial Intelligence
SubcategoryArtificial Intelligence
Stars6,521

Framework created by Google for building AI-powered and agentic applications in idiomatic Go

About Genkit

Genkit logo Genkit logo

Genkit is an open-source framework for building full-stack AI-powered applications, built and used in production by Google's Firebase. It provides SDKs for multiple programming languages with varying levels of stability:

  • JavaScript/TypeScript: Production-ready with full feature support
  • Go: Production-ready with full feature support
  • Python (Beta): Wide feature support approaching production-readiness
  • Dart (Preview): Early development with core functionality

It offers a unified interface for integrating AI models from providers like Google, OpenAI, Anthropic, Ollama, and more. Rapidly build and deploy production-ready chatbots, automations, and recommendation systems using streamlined APIs for multimodal content, structured outputs, tool calling, and agentic workflows.

Building with a coding agent? Install the Genkit skill first.

npx skills add genkit-ai/skills --skill developing-genkit-js      # JavaScript/TypeScript
npx skills add genkit-ai/skills --skill developing-genkit-go      # Go
npx skills add genkit-ai/skills --skill developing-genkit-python  # Python
npx skills add genkit-ai/skills --skill developing-genkit-dart    # Dart

It teaches your agent the current Genkit APIs and common gotchas. Source and manual install: genkit-ai/skills.

Get started with just a few lines of code:

import { genkit } from 'genkit';
import { googleAI } from '@genkit-ai/google-genai';

const ai = genkit({ plugins: [googleAI()] });

const { text } = await ai.generate({
    model: googleAI.model('gemini-flash-latest'),
    prompt: 'What is the meaning of life?'
});

Explore & build with Genkit

Play with AI sample apps, with visualizations of the Genkit code that powers them, at no cost to you.

Explore Genkit by Example

Key capabilities

How does it work?

Genkit simplifies AI integration with an open-source SDK and unified APIs that work across various model providers and programming languages. It abstracts away complexity so you can focus on delivering great user experiences.

Some key features offered by Genkit include:

Genkit is designed for server-side deployment in multiple language environments, and also provides seamless client-side integration through dedicated helpers and client SDKs.

Implementation path

Get started

Development tools

Genkit provides a CLI and a local UI to streamline your AI development workflow.

CLI

The Genkit CLI includes commands for running and evaluating your Genkit functions (flows) and collecting telemetry and logs.

  • Install: npm install -g genkit-cli
  • Run a command, wrapped with telemetry, a interactive developer UI, etc: genkit start -- <command to run your code>

Developer UI

The Genkit developer UI is a local interface for testing, debugging, and iterating on your AI application.

Key features:

  • Run: Execute and experiment with Genkit flows, prompts, queries, and more in dedicated playgrounds.
  • Inspect: Analyze detailed traces of past executions, including step-by-step breakdowns of complex flows.
  • Evaluate: Review the results of evaluations run against your flows, including performance metrics and links to relevant traces.

Connect with us

Ask DeepWiki

Contributing

Contributions to Genkit are welcome and highly appreciated! See our Contribution Guide to get started.

Authors

Genkit is built by Google with contributions from the Open Source Community.

Frequently Asked Questions

What is Genkit?

Genkit is a Artificial Intelligence library for the Go programming language. Framework created by Google for building AI-powered and agentic applications in idiomatic Go

How many GitHub stars does Genkit have?

Genkit has 6,521 GitHub stars in the directory's latest synchronization.

How do I install Genkit?

Install Genkit with the Go module system using `go get firebase/genkit`. Check the repository for the current installation instructions.

What category does Genkit belong to?

Genkit is listed under Artificial Intelligence, specifically Artificial Intelligence.

← Back to Artificial Intelligence