by firebase
Provides a unified SDK to build, test, and deploy AI-powered applications across multiple programming languages and model providers, with built‑in observability, evaluation, and deployment tooling.
Genkit is an open‑source framework that simplifies the creation of full‑stack AI‑powered applications. It abstracts model provider differences, supports structured outputs, tool calling, multimodal content, and RAG, and offers local developer tools and production‑grade observability.
@genkit-ai/googleai
, @genkit-ai/openai
, etc.generate
, flow
, prompt
, and chat
APIs.npx genkit-cli start …
) and the Developer UI.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?'
});
Q: Which language should I start with? A: JavaScript/TypeScript is production‑ready; Go and Python are available for early adopters.
Q: Do I need a Google Cloud account? A: No. Genkit works with any supported provider (OpenAI, Anthropic, Ollama, etc.). Google services are optional.
Q: How does monitoring work? A: The framework emits telemetry that the built‑in dashboard aggregates, showing request volume, latency, error rates, and model performance.
Q: Can I run Genkit on my own server? A: Yes. Deploy the generated code to any environment that runs the chosen language runtime.
Q: Is there a way to test prompts without writing code? A: The local Developer UI provides a playground for ad‑hoc prompt testing and flow execution.
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.
Explore related MCPs that share similar capabilities and solve comparable challenges
by zed-industries
A high‑performance, multiplayer code editor designed for speed and collaboration.
by modelcontextprotocol
Model Context Protocol Servers
by modelcontextprotocol
A Model Context Protocol server for Git repository interaction and automation.
by modelcontextprotocol
A Model Context Protocol server that provides time and timezone conversion capabilities.
by cline
An autonomous coding assistant that can create and edit files, execute terminal commands, and interact with a browser directly from your IDE, operating step‑by‑step with explicit user permission.
by continuedev
Enables faster shipping of code by integrating continuous AI agents across IDEs, terminals, and CI pipelines, offering chat, edit, autocomplete, and customizable agent workflows.
by upstash
Provides up-to-date, version‑specific library documentation and code examples directly inside LLM prompts, eliminating outdated information and hallucinated APIs.
by GLips
Provides Figma layout and styling information to AI coding agents, enabling one‑shot implementation of designs in any framework.
by idosal
Provides a remote Model Context Protocol server that transforms any public GitHub repository into an up‑to‑date documentation hub, enabling AI assistants to fetch live code and docs, dramatically reducing hallucinations.