# Genkit

CreateWithAI Hub page: https://createwithaihub.com/frameworks/genkit
Latest version of this file: https://createwithaihub.com/frameworks/genkit.md

- Type: Framework · Category: Harnesses & Frameworks
- Publisher: Google (Firebase)
- Pricing: Free · License: Apache-2.0

Google Firebase's open-source framework for full-stack AI apps in TypeScript, Go, Python (beta) and Dart (preview).

Genkit is an open-source framework from Google's Firebase team for building AI features into full-stack applications. It gives one interface to models from Google, OpenAI, Anthropic, Ollama and others, with APIs for structured output, tool calling, prompt templating (Dotprompt), flows, RAG and persisted chat. A local CLI and Developer UI let you test prompts and flows, compare models and inspect traces. It deploys to Cloud Functions for Firebase, Cloud Run or other platforms, and has client helpers for Next.js, React, Angular, iOS and Android.

Useful for: Adding a typed, tool-calling AI feature to a Next.js or Express backend and testing its prompts in the local Developer UI before deploying.

## Key features

- Unified API across Google, OpenAI, Anthropic, Ollama and other providers
- Structured output, tool calling and multimodal input/output
- Flows, RAG, Dotprompt templates and persisted chat
- Local CLI and Developer UI with execution traces
- Production monitoring dashboard
- MCP support and a Genkit MCP server for coding agents

## Connection

- Language: Python, TypeScript / JS, Go
- Focus: Agents & tool use, Workflows / graphs, RAG & data
- Model support: Multi-provider

## Before you start

- Node.js and npm (JS/TS SDK)

## Install steps from the official documentation

Genkit SDK with the Google AI plugin (JS/TS):

```
npm install genkit @genkit-ai/google-genai
```

Genkit CLI:

```
npm install -g genkit-cli
```

Skill for coding agents (JS/TS):

```
npx skills add genkit-ai/skills --skill developing-genkit-js
```

## Limitations

- Only the JavaScript/TypeScript and Go SDKs are production-ready; Python is beta and Dart is preview
- Some providers, such as Vertex AI, use separate authentication instead of an API key

## Official links

- Website: https://genkit.dev
- Source repository: https://github.com/firebase/genkit
- Documentation: https://genkit.dev/docs/get-started
- Source: https://github.com/firebase/genkit (README: description, SDK stability per language, providers, capabilities, skill commands, genkit-cli install; LICENSE: Apache-2.0)
- Source: https://genkit.dev/docs/get-started/ (MCP listed as a core concept/capability; Genkit MCP server linked under Build with AI)
- Source: https://genkit.dev/docs/js/overview/ (Provider packages: genkit, @genkit-ai/google-genai, @genkit-ai/compat-oai, @genkit-ai/anthropic, genkitx-ollama)
- Source: https://genkit.dev/docs/js/tutorials/chat-with-pdf/ (npm install genkit @genkit-ai/google-genai)
