Develop AI-powered applications using Genkit in Python. Use when the user asks about Genkit, AI agents, flows, or tools in Python, or when encountering Genkit…
Genkit Python
Prerequisites
Runtime: Python 3.14+, uv for deps (install).
CLI: genkit --version — install via npm install -g genkit-cli if missing.
New projects: Setup (bootstrap + env). Patterns and code samples: Examples.
Hello World
from genkit import Genkit
from genkit.plugins.google_genai import GoogleAI
ai = Genkit(
plugins=[GoogleAI()],
model='googleai/gemini-flash-latest',
)don't have the plugin yet? install it then click "run inline in claude" again.