by firebase
Build full‑stack AI‑powered applications with unified SDKs, language‑agnostic APIs, and integrated observability, evaluation, and deployment tools.
Genkit provides a code‑centric framework for creating, testing, and deploying AI features such as text or image generation, structured output, tool‑calling agents, RAG, and multimodal workflows. It abstracts model‑provider differences behind a single interface and offers client SDKs for JavaScript/TypeScript, Go, and Python.
genkit
and the provider, then call genkit({ plugins: [...] })
.ai.generate
, flow
, prompt
, or the chat helpers to create functions.npx genkit-cli start -- <your‑command>
to launch the CLI with the interactive Developer UI.Q: Which languages are production‑ready? A: JavaScript/TypeScript is stable; Go is beta and may change; Python is currently alpha.
Q: How do I add a new model provider?
A: Install the corresponding plugin package (e.g., @genkit-ai/googleai
), import it, and include it in the plugins
array when initializing Genkit.
Q: Do I need Google Cloud to run Genkit? A: No. Genkit can run on any environment that supports the chosen language, including local machines, third‑party cloud platforms, or on‑prem servers.
Q: How is observability handled? A: The framework emits detailed execution traces and aggregates metrics that are viewable in the built‑in dashboard or can be exported to external monitoring systems.
Q: Can I use Genkit for edge or mobile apps? A: Yes. Client‑side helpers are provided for React, Next.js, iOS, and Android, allowing you to call Genkit‑hosted functions from the edge or mobile devices.
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:
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/googleai';
const ai = genkit({ plugins: [googleAI()] });
const { text } = await ai.generate({
model: googleAI.model('gemini-2.0-flash'),
prompt: 'Why is Firebase awesome?'
});
Play with AI sample apps, with visualizations of the Genkit code that powers them, at no cost to you.
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.
Genkit provides a CLI and a local UI to streamline your AI development workflow.
The Genkit CLI includes commands for running and evaluating your Genkit functions (flows) and collecting telemetry and logs.
npm install -g genkit-cli
genkit start -- <command to run your code>
The Genkit developer UI is a local interface for testing, debugging, and iterating on your AI application.
Key features:
Want to skip the local setup? Click below to try out Genkit using Firebase Studio, Google's AI-assisted workspace for full-stack app development in the cloud.
Contributions to Genkit are welcome and highly appreciated! See our Contribution Guide to get started.
Genkit is built by Firebase with contributions from the Open Source Community.
Please log in to share your review and rating for this MCP.
Discover more MCP servers with similar functionality and use cases
by zed-industries
Provides real-time collaborative editing powered by Rust, enabling developers to edit code instantly across machines with a responsive, GPU-accelerated UI.
by cline
Provides autonomous coding assistance directly in the IDE, enabling file creation, editing, terminal command execution, browser interactions, and tool extension with user approval at each step.
by continuedev
Provides continuous AI assistance across IDEs, terminals, and CI pipelines, offering agents, chat, inline editing, and autocomplete to accelerate software development.
by github
Enables AI agents, assistants, and chatbots to interact with GitHub via natural‑language commands, providing read‑write access to repositories, issues, pull requests, workflows, security data and team activity.
by block
Automates engineering tasks by installing, executing, editing, and testing code using any large language model, providing end‑to‑end project building, debugging, workflow orchestration, and external API interaction.
by RooCodeInc
An autonomous coding agent that lives inside VS Code, capable of generating, refactoring, debugging code, managing files, running terminal commands, controlling a browser, and adapting its behavior through custom modes and instructions.
by lastmile-ai
A lightweight, composable framework for building AI agents using Model Context Protocol and simple workflow patterns.
by firebase
Provides a command‑line interface to manage, test, and deploy Firebase projects, covering hosting, databases, authentication, cloud functions, extensions, and CI/CD workflows.
by gptme
Empowers large language models to act as personal AI assistants directly inside the terminal, providing capabilities such as code execution, file manipulation, web browsing, vision, and interactive tool usage.