genkit

genkit-ai/genkit

Open-source framework for building AI-powered apps in JavaScript, Go, and Python

6.2k
Stars
779
Forks
852
Open issues
60
Watchers
TypeScript Apache-2.0Last pushed Jul 7, 2026

Overview

Genkit is an open-source framework that enables developers to build full-stack AI-powered applications with support across multiple programming languages. It provides a unified interface for integrating various AI models from providers such as Google, OpenAI, Anthropic, and more.

Categories

Tags

Similar tools

Install

npm install genkit

README

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.

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

Broad AI model supportUse a unified interface to integrate with hundreds of models from providers like Google, OpenAI, Anthropic, Ollama, and more. Explore, compare, and use the best models for your needs.
Simplified AI developmentUse streamlined APIs to build AI features with structured output, agentic tool calling, context-aware generation, multi-modal input/output, and more. Genkit handles the complexity of AI development, so you can build and iterate faster.
Web and mobile readyIntegrate seamlessly with frameworks and platforms including Next.js, React, Angular, iOS, Android, using purpose-built client SDKs and helpers.
Cross-language supportBuild with the language that best fits your project. Genkit provides SDKs for JavaScript/TypeScript, Go, Python (Beta), and Dart (Preview) with consistent APIs and capabilities across all supported languages.
Deploy anywhereDeploy AI logic to any environment that supports your chosen programming language, such as Cloud Functions for Firebase, Google Cloud Run, or third-party platforms, with or without Google services.
Developer toolsAccelerate AI development with a purpose-built, local CLI and Developer UI. Test prompts and flows against individual inputs or datasets, compare outputs from different models, debug with detailed execution traces, and use immediate visual feedback to iter
genkit · GraphCanon