# Genkit Plugins
This directory contains all official Genkit plugins for Python.
## Plugin Categories
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β GENKIT PLUGIN ECOSYSTEM β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β MODEL PROVIDERS TELEMETRY β
β βββββββββββββββ βββββββββ β
β βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ β
β β google-genai β β google-cloud β β
β β β’ Gemini, Imagen, Veo β β β’ Cloud Trace β β
β β β’ Lyria, TTS β β β’ Cloud Logging β β
β βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ β
β β anthropic β β firebase β β
β β β’ Claude 3.5/4 β β β’ Firebase Telemetry β β
β βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββ β
β β amazon-bedrock π β INTEGRATIONS β
β β β’ Claude, Llama, Nova β ββββββββββββ β
β β β’ Titan, Mistral β βββββββββββββββββββββββββββ β
β β β’ X-Ray telemetry β β flask β β
β βββββββββββββββββββββββββββ β β’ HTTP endpoints β β
β βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ β
β β microsoft-foundry β βββββββββββββββββββββββββββ β
β β β’ GPT-4o, Claude, Llama β β mcp β β
β β β’ 11,000+ models β β β’ Model Context Protocolβ β
β βββββββββββββββββββββββββββ βββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββ β
β β vertex-ai β VECTOR STORES β
β β β’ Model Garden β βββββββββββββ β
β β β’ Vector Search β βββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββ β firebase β β
β βββββββββββββββββββββββββββ β β’ Firestore vectors β β
β β ollama β βββββββββββββββββββββββββββ β
β β β’ Local models β βββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββ β vertex-ai β β
β βββββββββββββββββββββββββββ β β’ Vector Search β β
β β compat-oai β βββββββββββββββββββββββββββ β
β β β’ OpenAI API compatible β βββββββββββββββββββββββββββ β
β βββββββββββββββββββββββββββ β dev-local-vectorstore β β
β βββββββββββββββββββββββββββ β β’ Local development β β
β β deepseek β βββββββββββββββββββββββββββ β
β β β’ DeepSeek V3, R1 β β
β βββββββββββββββββββββββββββ SAFETY & EVALUATION β
β βββββββββββββββββββββββββββ βββββββββββββββββββ β
β β xai β βββββββββββββββββββββββββββ β
β β β’ Grok models β β checks β β
β βββββββββββββββββββββββββββ β β’ Content moderation β β
β βββββββββββββββββββββββββββ β β’ Safety guardrails β β
β β mistral β
NEWβ βββββββββββββββββββββββββββ β
β β β’ Mistral Large, Small β βββββββββββββββββββββββββββ β
β β β’ Codestral, Pixtral β β evaluators β β
β βββββββββββββββββββββββββββ β β’ RAGAS metrics β β
β βββββββββββββββββββββββββββ β β’ Custom evaluators β β
β β huggingface β
NEWβ βββββββββββββββββββββββββββ β
β β β’ 1M+ open models β β
β β β’ Inference providers β β
β βββββββββββββββββββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
## When to Use What
### Model Provider Selection
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β WHICH MODEL PROVIDER SHOULD I USE? β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β "I want the best multimodal AI" β
β β google-genai (Gemini 2.0) β
β β
β "I need Claude models" β
β β anthropic (direct) OR amazon-bedrock OR microsoft-foundry β
β β
β "I'm on AWS and want managed models" β
β β amazon-bedrock (Claude, Llama, Nova, Titan) β
β β
β "I'm on Azure and want managed models" β
β β microsoft-foundry (GPT-4o, Claude, Llama, 11,000+ models) β
β β
β "I'm on GCP and want third-party models" β
β β vertex-ai (Model Garden - Claude, Llama, etc.) β
β β
β "I want to run models locally" β
β β ollama (Llama, Mistral, Phi, etc.) β
β β
β "I need OpenAI GPT models" β
β β compat-oai (direct OpenAI) OR microsoft-foundry (via Azure) β
β β
β "I want to use any OpenAI-compatible API" β
β β compat-oai (works with OpenRouter, Together, etc.) β
β β
β "I need DeepSeek reasoning models" β
β β deepseek (V3, R1 reasoning) β
β β
β "I want Grok models" β
β β xai β
β β
β "I want Cloudflare Workers AI models" β
β β cloudflare-workers-ai (Llama, Mistral, Qwen + OTLP telemetry) β
β β
β "I want Mistral AI models (French AI)" β
β β mistral (mistral-large, codestral, pixtral) β
β β
β "I want access to 1M+ open source models" β
β β huggingface (Inference API + 17 providers) β
β β
β "I want one API for 500+ models from 60+ providers" β
β β compat-oai with OpenRouter (works TODAY) β
β OR openrouter plugin (COMING SOON - adds model discovery) β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
### Telemetry Selection
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β WHICH TELEMETRY PLUGIN SHOULD I USE? β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β NATIVE PLATFORM BACKENDS THIRD-PARTY BACKENDS β
β ββββββββββββββββββββββββ ββββββββββββββββββββ β
β β
β βββββββββββ βββββββββββ βββββββββββββββββββββ β
β β amazon- β β google- β β observability β β
NEW β
β β bedrock β β cloud β β β’ Sentry β β
β β β’ SigV4 β β β’ ADC β β β’ Honeycomb β β
β β β’ X-Ray β β β’ Trace β β β’ Datadog β β
β β β β β’ Logs β β β’ Grafana β β
β ββββββ¬βββββ ββββββ¬βββββ β β’ Axiom β β
β β β βββββββββββ¬ββββββββββ β
β βΌ βΌ β β
β βββββββββββ βββββββββββ βΌ β
β β X-Ray β β Cloud β βββββββββββββββββββββ β
β β Console β β Trace β β Any OTLP Backend β β
β βββββββββββ βββββββββββ βββββββββββββββββββββ β
β β
β βββββββββββββββββββββ βββββββββββββββ β
β β microsoft-foundry β βcloudflare-workers-aiβ β
NEW β
β β β’ Models + AppIns β β β’ OTLP β β’ Models + Telemetry β
β β β’ Azure Telemetry β β β’ Token β β’ Single plugin β
β βββββββββββ¬ββββββββββ ββββββββ¬βββββββ β
β β β CAN'T BE REPLICATED CAN BE REPLICATED β
β βΌ βΌ WITH GENERIC OTLP WITH GENERIC OTLP β
β βββββββββββββββββββββ βββββββββββ β
β β App Insights β β OTLP β β
β βββββββββββββββββββββ β Backend β β
β βββββββββββ β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β "I'm on AWS and want X-Ray" β amazon-bedrock plugin β
β "I'm on GCP and want Cloud Trace" β google-cloud plugin β
β "I'm on Azure and want App Insights" β microsoft-foundry plugin β
β "I'm using Firebase" β firebase plugin (auto telemetry) β
β β
β "I want Sentry/Honeycomb/Datadog" β observability plugin β
β "I'm multi-cloud" β observability plugin β
β "I want generic OTLP export" β cloudflare-workers-ai plugin (combined) β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
### Vector Store Selection
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β WHICH VECTOR STORE SHOULD I USE? β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β "I'm just developing/testing locally" β
β β dev-local-vectorstore β
β β
β "I need production vector search on Firebase" β
β β firebase (Firestore vector search) β
β β
β "I need enterprise-scale vector search on GCP" β
β β vertex-ai (Vertex AI Vector Search + Firestore/BigQuery) β
β β
β "I want to use a third-party vector DB" β
β β Implement custom retriever (Pinecone, Weaviate, Chroma, etc.) β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
### Safety & Evaluation Selection
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β WHICH SAFETY/EVALUATION PLUGIN SHOULD I USE? β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β "I need content moderation / safety guardrails" β
β β checks (Google Checks AI Safety) β
β β’ Real-time content classification β
β β’ Block harmful input/output β
β β’ 8 policy types (harassment, hate speech, etc.) β
β β
β "I need to evaluate RAG quality" β
β β evaluators (RAGAS metrics) β
β β’ Faithfulness, relevancy, answer accuracy β
β β’ Custom evaluation metrics β
β β
β "I need both safety AND quality evaluation" β
β β Use both: checks for guardrails, evaluators for quality β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
## Plugin List
### Model Providers
| Plugin | Models | Best For |
|--------|--------|----------|
| **google-genai** | Gemini, Imagen, Veo, Lyria | Multimodal AI, Google ecosystem |
| **anthropic** | Claude 3.5, Claude 4 | Direct Claude access |
| **amazon-bedrock** π | Claude, Llama, Nova, Titan | AWS managed models (community) |
| **microsoft-foundry** π | GPT-4o, Claude, Llama, 11,000+ | Azure AI, enterprise (community) |
| **vertex-ai** | Model Garden (Claude, Llama) | GCP third-party models |
| **ollama** | Llama, Mistral, Phi, etc. | Local/private deployment |
| **compat-oai** | Any OpenAI-compatible | OpenAI, OpenRouter, etc. |
| **deepseek** | DeepSeek V3, R1 | Reasoning, cost-effective |
| **xai** | Grok | X/Twitter integration |
| **cloudflare-workers-ai** π | Llama, Mistral, Qwen, Gemma | Cloudflare Workers AI + OTLP telemetry (community) |
| **mistral** | Mistral Large, Small, Codestral, Pixtral | French AI, efficient models, code generation |
| **huggingface** | 1M+ models via HF Hub | Open source models, inference providers |
### Planned Model Providers
| Plugin | Models | Status | Notes |
|--------|--------|--------|-------|
| **openrouter** | 500+ models, 60+ providers | π Planned | Unified gateway (OpenAI, Anthropic, Google, etc.) |
> **Note:** OpenRouter is already usable today via `compat-oai` since it's OpenAI-compatible.
> A dedicated plugin would add model discovery, provider routing, and usage analytics.
### Telemetry
| Plugin | Backend | Features |
|--------|---------|----------|
| **google-cloud** | Cloud Trace, Logging | GCP native, log correlation |
| **amazon-bedrock** π | X-Ray | AWS native, SigV4 auth, built into model plugin (community) |
| **microsoft-foundry** π | Application Insights | Azure Monitor, trace correlation, built into model plugin (community) |
| **cloudflare-workers-ai** π | Any OTLP endpoint | Generic OTLP, Bearer auth, combined with models (community) |
| **observability** π | Sentry, Honeycomb, Datadog, Grafana, Axiom | 3rd party presets (community) |
| **firebase** | Firebase console | Auto-telemetry for Firebase apps |
### Integrations
| Plugin | Purpose |
|--------|---------|
| **flask** | Serve flows via Flask HTTP endpoints |
| **mcp** | Model Context Protocol for tool integration |
### Safety & Evaluation
| Plugin | Purpose | Features |
|--------|---------|----------|
| **checks** | Content moderation & safety | Google Checks AI guardrails, 8 policy types |
| **evaluators** | Quality evaluation | RAGAS metrics, custom evaluators |
### Vector Stores
| Plugin | Backend | Scale |
|--------|---------|-------|
| **dev-local-vectorstore** | Local JSON | Development only |
| **firebase** | Firestore | Production, serverless |
| **vertex-ai** | Vertex AI Vector Search | Enterprise scale |
## Environment Variables Reference
All environment variables used by Genkit plugins. Configure these before running your application.
### Model Provider Environment Variables
| Variable | Plugin | Required | Description | Documentation |
|----------|--------|----------|-------------|---------------|
| `GOOGLE_GENAI_API_KEY` | google-genai | Yes | Google AI Studio API key | [Get API Key](https://aistudio.google.com/apikey) |
| `ANTHROPIC_API_KEY` | anthropic | Yes | Anthropic API key | [Anthropic Console](https://console.anthropic.com/) |
| `AWS_REGION` | amazon-bedrock | Yes | AWS region (e.g., `us-east-1`) | [AWS Regions](https://docs.aws.amazon.com/general/latest/gr/bedrock.html) |
| `AWS_ACCESS_KEY_ID` | amazon-bedrock | Yes* | AWS access key | [AWS Credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) |
| `AWS_SECRET_ACCESS_KEY` | amazon-bedrock | Yes* | AWS secret key | [AWS Credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) |
| `AZURE_AI_FOUNDRY_ENDPOINT` | microsoft-foundry | Yes | Azure AI Foundry endpoint URL | [Azure AI Foundry](https://ai.azure.com/) |
| `AZURE_AI_FOUNDRY_API_KEY` | microsoft-foundry | Yes* | Azure AI Foundry API key | [Azure AI Foundry](https://ai.azure.com/) |
| `OPENAI_API_KEY` | compat-oai | Yes | OpenAI API key | [OpenAI API Keys](https://platform.openai.com/api-keys) |
| `OPENAI_ORG_ID` | compat-oai | No | OpenAI organization ID | [OpenAI Settings](https://platform.openai.com/account/organization) |
| `DEEPSEEK_API_KEY` | deepseek | Yes | DeepSeek API key | [DeepSeek Platform](https://platform.deepseek.com/) |
| `XAI_API_KEY` | xai | Yes | xAI API key | [xAI Console](https://console.x.ai/) |
| `CLOUDFLARE_ACCOUNT_ID` | cloudflare-workers-ai | Yes | Cloudflare account ID | [Cloudflare Dashboard](https://dash.cloudflare.com/) |
| `CLOUDFLARE_API_TOKEN` | cloudflare-workers-ai | Yes | Cloudflare API token | [Cloudflare API Tokens](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/) |
| `MISTRAL_API_KEY` | mistral | Yes | Mistral AI API key | [Mistral Console](https://console.mistral.ai/) |
| `HF_TOKEN` | huggingface | Yes | Hugging Face API token | [HF Tokens](https://huggingface.co/settings/tokens) |
*Can use IAM roles, managed identity, or other credential providers instead.
### Telemetry Environment Variables
#### Google Cloud Plugin
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `GOOGLE_CLOUD_PROJECT` | Yes | GCP project ID | [GCP Projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects) |
| `GOOGLE_APPLICATION_CREDENTIALS` | Yes* | Path to service account JSON | [Application Default Credentials](https://cloud.google.com/docs/authentication/application-default-credentials) |
| `GCLOUD_PROJECT` | No | Alternative to `GOOGLE_CLOUD_PROJECT` | - |
| `FIREBASE_PROJECT_ID` | No | Firebase project ID (auto-detected) | - |
*Not required when running on GCP with default credentials.
#### Amazon Bedrock Plugin (X-Ray Telemetry)
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `AWS_REGION` | Yes | AWS region for X-Ray | [AWS X-Ray](https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-python.html) |
| `AWS_ACCESS_KEY_ID` | Yes* | AWS access key | [AWS Credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) |
| `AWS_SECRET_ACCESS_KEY` | Yes* | AWS secret key | [AWS Credentials](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-envvars.html) |
| `AWS_DEFAULT_REGION` | No | Fallback region | - |
*Can use IAM roles instead.
#### Microsoft Foundry Plugin (Azure Telemetry)
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `APPLICATIONINSIGHTS_CONNECTION_STRING` | Yes | Application Insights connection string | [Azure Monitor OpenTelemetry](https://learn.microsoft.com/azure/azure-monitor/app/opentelemetry-configuration) |
| `AZURE_TENANT_ID` | No | Azure AD tenant ID | [Azure Identity](https://learn.microsoft.com/azure/developer/python/sdk/authentication-overview) |
| `AZURE_CLIENT_ID` | No | Azure AD client ID | - |
| `AZURE_CLIENT_SECRET` | No | Azure AD client secret | - |
#### Cloudflare Workers AI (cloudflare-workers-ai) Plugin
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `CLOUDFLARE_ACCOUNT_ID` | Yes | Cloudflare account ID | [Cloudflare Dashboard](https://dash.cloudflare.com/) |
| `CLOUDFLARE_API_TOKEN` | Yes | API token for Workers AI | [Cloudflare API Tokens](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/) |
| `CF_OTLP_ENDPOINT` | No* | OTLP endpoint URL (for telemetry) | [Cloudflare Workers Observability](https://developers.cloudflare.com/workers/observability/) |
| `CF_API_TOKEN` | No | API token for telemetry (Bearer auth) | [Cloudflare API Tokens](https://developers.cloudflare.com/fundamentals/api/get-started/create-token/) |
*Required only if using OTLP telemetry export.
#### Observability Plugin (Third-Party Backends)
##### Sentry
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `SENTRY_DSN` | Yes | Sentry DSN (Data Source Name) | [Sentry DSN](https://docs.sentry.io/concepts/otlp/) |
| `SENTRY_ENVIRONMENT` | No | Environment name (production, staging) | [Sentry Configuration](https://docs.sentry.io/platforms/python/configuration/options/) |
| `SENTRY_RELEASE` | No | Release version identifier | - |
##### Honeycomb
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `HONEYCOMB_API_KEY` | Yes | Honeycomb API key | [Honeycomb API Keys](https://docs.honeycomb.io/configure/environments/manage-api-keys/) |
| `HONEYCOMB_DATASET` | No | Dataset name (Classic only) | [Honeycomb Datasets](https://docs.honeycomb.io/send-data/python/opentelemetry-sdk/) |
| `HONEYCOMB_API_ENDPOINT` | No | API endpoint (default: US) | [Honeycomb Endpoints](https://docs.honeycomb.io/configure/environments/manage-api-keys/) |
Honeycomb endpoints:
- US (default): `https://api.honeycomb.io`
- EU: `https://api.eu1.honeycomb.io`
##### Datadog
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `DD_API_KEY` | Yes | Datadog API key | [Datadog API Keys](https://docs.datadoghq.com/account_management/api-app-keys/) |
| `DD_SITE` | No | Datadog site (default: `datadoghq.com`) | [Datadog Sites](https://docs.datadoghq.com/getting_started/site/) |
| `DD_APP_KEY` | No | Datadog application key | - |
Datadog sites: `datadoghq.com`, `datadoghq.eu`, `us3.datadoghq.com`, `us5.datadoghq.com`, `ap1.datadoghq.com`
##### Grafana Cloud
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `GRAFANA_OTLP_ENDPOINT` | Yes | Grafana Cloud OTLP endpoint | [Grafana Cloud OTLP](https://grafana.com/docs/grafana-cloud/monitor-applications/application-observability/setup/collector/opentelemetry-collector/) |
| `GRAFANA_USER_ID` | Yes | Grafana Cloud instance ID (numeric) | [Grafana Cloud Portal](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/) |
| `GRAFANA_API_KEY` | Yes | Grafana Cloud API key | [Grafana Cloud API Keys](https://grafana.com/docs/grafana-cloud/account-management/authentication-and-permissions/create-api-key/) |
Find your credentials: My Account > [Stack] > OpenTelemetry > Configure
##### Axiom
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `AXIOM_TOKEN` | Yes | Axiom API token | [Axiom API Tokens](https://axiom.co/docs/reference/tokens) |
| `AXIOM_DATASET` | No | Dataset name (default: `genkit`) | [Axiom Datasets](https://axiom.co/docs/reference/datasets) |
| `AXIOM_ORG_ID` | No | Organization ID | - |
#### Generic OpenTelemetry (Standard Variables)
| Variable | Required | Description | Documentation |
|----------|----------|-------------|---------------|
| `OTEL_EXPORTER_OTLP_ENDPOINT` | Yes | OTLP collector endpoint | [OTel SDK Environment Variables](https://opentelemetry.io/docs/specs/otel/configuration/sdk-environment-variables/) |
| `OTEL_EXPORTER_OTLP_HEADERS` | No | Headers for authentication | - |
| `OTEL_SERVICE_NAME` | No | Service name for traces | - |
### Safety & Evaluation Environment Variables
| Variable | Plugin | Required | Description | Documentation |
|----------|--------|----------|-------------|---------------|
| `GOOGLE_CLOUD_PROJECT` | checks | Yes | GCP project with Checks API enabled | [Google Checks](https://developers.google.com/checks) |
| `GOOGLE_APPLICATION_CREDENTIALS` | checks | Yes* | Service account credentials | - |
## Installation
Each plugin is a separate package. Install only what you need:
```bash
# Model providers
pip install genkit-google-genai-plugin
pip install genkit-anthropic-plugin
pip install genkit-amazon-bedrock-plugin # Also includes X-Ray telemetry
pip install genkit-microsoft-foundry-plugin
# Telemetry
pip install genkit-google-cloud-plugin
# Safety & Evaluation
pip install genkit-checks-plugin
pip install genkit-evaluators-plugin
# Integrations
pip install genkit-flask-plugin
pip install genkit-mcp-plugin
```
## Quick Start
```python
from genkit.ai import Genkit
from genkit.plugins.google_genai import GoogleAI
# Initialize with your chosen plugin
ai = Genkit(
plugins=[GoogleAI()],
model="googleai/gemini-2.0-flash",
)
@ai.flow()
async def hello(name: str) -> str:
response = await ai.generate(prompt=f"Say hello to {name}")
return response.text
```
## Plugin Dependency Graph
Shows how plugins relate to each other and the core `genkit` package. Most
plugins are independent leaf nodes; only a few have inter-plugin dependencies.
```
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β PLUGIN DEPENDENCY GRAPH β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β β
β ββββββββββββ β
β β genkit β (core SDK) β
β βββββββ¬βββββ β
β β β
β ββββββββββββββββββββΌβββββββββββββββββββ β
β β β β β
β βΌ βΌ βΌ β
β ββββββββββββββββββββ ββββββββββββββββ βββββββββββββββββββββ β
β β compat-oai β β google-genai β β All other plugins β β
β β (OpenAI compat) β β β β (independent) β β
β ββββββββββ¬ββββββββββ ββββββββ¬ββββββββ βββββββββββββββββββββ β
β β β β
β ββββββββ΄βββββββ β β
β β β β β
β βΌ βΌ βΌ β
β βββββββββββ ββββββββββββ ββββββββββββ β
β βdeepseek β βvertex-ai β β flask β β
β β(extends)β β(Model β β(uses β β
β β β β Garden) β β google- β β
β β β β β β genai) β β
β βββββββββββ ββββββββββββ ββββββββββββ β
β β
β INDEPENDENT PLUGINS (no inter-plugin dependencies): β
β βββββββββββββββββββββββββββββββββββββββββββββββββ β
β google-genai, anthropic, amazon-bedrock, microsoft-foundry, β
β ollama, xai, mistral, huggingface, cloudflare-workers-ai, β
β google-cloud, firebase, observability, mcp, evaluators, β
β dev-local-vectorstore, checks β
β β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
```
**Key relationships:**
- **`compat-oai`** provides the shared OpenAI-compatible model layer (chat, image, TTS, STT)
- **`deepseek`** extends `compat-oai` with reasoning model detection and param validation
- **`vertex-ai`** (Model Garden) uses `compat-oai` for third-party model support
- **`flask`** has a dev dependency on `google-genai` for its sample
## Cross-Language Plugin Coverage
> **Last audited**: 2026-02-07
The table below compares plugin availability across Python and JavaScript SDKs.
Python currently has **20 plugins** vs JavaScript's **17 plugins**, with broader
model provider diversity.
### Model Providers
| Plugin | Python | JavaScript | Notes |
|--------|:------:|:----------:|-------|
| Google GenAI (Gemini, Imagen, Veo, Lyria) | β
| β
| |
| Vertex AI (Model Garden, Vector Search) | β
| β
| |
| Anthropic (Claude) | β
| β
| |
| Ollama | β
| β
| |
| OpenAI-Compatible (compat-oai) | β
| β
| |
| Amazon Bedrock | β
| β | Python-only; community π |
| Microsoft Foundry (Azure AI) | β
| β | Python-only; community π |
| DeepSeek | β
| β | Python-only |
| xAI (Grok) | β
| β | Python-only |
| Cloudflare Workers AI | β
| β | Python-only; community π |
| Mistral | β
| β | Python-only |
| HuggingFace | β
| β | Python-only |
### Telemetry & Observability
| Plugin | Python | JavaScript | Notes |
|--------|:------:|:----------:|-------|
| Google Cloud (Trace, Logging) | β
| β
| |
| Firebase | β
| β
| |
| Observability (Sentry, Honeycomb, Datadog, Grafana, Axiom) | β
| β | Python-only; community π |
### Integrations
| Plugin | Python | JavaScript | Notes |
|--------|:------:|:----------:|-------|
| MCP (Model Context Protocol) | β
| β
| |
| Flask | β
| β | Python-only |
| Express | β | β
| JS-only |
| Next.js | β | β
| JS-only |
### Vector Stores
| Plugin | Python | JavaScript | Notes |
|--------|:------:|:----------:|-------|
| Dev Local Vectorstore | β
| β
| |
| Firebase (Firestore vectors) | β
| β
| |
| Vertex AI Vector Search | β
| β
| |
| Chroma | β | β
| JS-only |
| Pinecone | β | β
| JS-only |
| Cloud SQL PG | β | β
| JS-only |
### Safety & Evaluation
| Plugin | Python | JavaScript | Notes |
|--------|:------:|:----------:|-------|
| Evaluators (RAGAS) | β
| β
| |
| Checks (Content Safety) | β
| β
| |
### Other
| Plugin | Python | JavaScript | Notes |
|--------|:------:|:----------:|-------|
| LangChain | β | β
| JS-only |
## Further Reading
- [Plugin Planning & Roadmap](../engdoc/planning/)
- [Feature Matrix](../engdoc/planning/FEATURE_MATRIX.md)
- [Contributing Guide](../engdoc/contributing/)