An open-source AI application building framework for full-stack apps, providing a unified SDK and developer toolchain.
Genkit is an open-source AI application building framework led by the Google Firebase team, designed to provide full-stack developers with unified LLM integration and workflow orchestration capabilities. The framework is fundamentally built around the primitive of "Flows", which encapsulate complex AI tasks into type-safe, observable, streaming-enabled units that can be easily exported as HTTP endpoints for deployment.
In terms of model integration, Genkit uses a plugin architecture to support major providers like Google Gemini, OpenAI, Anthropic, and Ollama. Combined with Zod schema-based structured data generation and Dotprompt templating, developers can ensure AI outputs strictly adhere to business data structures. Furthermore, the framework natively includes Tool Calling, multimodal processing, and RAG capabilities, covering scenarios from simple chatbots to complex Agentic workflows.
For the developer experience, Genkit offers a robust local toolchain (CLI + Developer UI) for real-time testing, execution tracing, and model evaluation. In production, it seamlessly connects to the Firebase console for performance and error monitoring, and supports deployment to Cloud Functions, Cloud Run, or any compatible platform. Governed by the Apache-2.0 license, the core codebase is primarily written in TypeScript and Go, with Python (Alpha) and Dart (Preview) SDKs also available.
Core abstraction chain: genkit instance initialization → load plugins (model provider plugins) → define flows (business workflows) → call generate() within a Flow (unified generation interface).
Quick start (Node.js v20+):
npm install -g genkit-cli
npm install genkit @genkit-ai/google-genai
export GEMINI_API_KEY=<your API key>
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-2.5-flash'),
prompt: 'Why is Genkit awesome?'
});
Pending confirmations: Dart SDK (Preview) feature coverage; Python SDK (Alpha) feature parity with mature versions; whether version numbering is unified across language SDKs; specific vector database provider list requires further documentation review.