Skip to main content

Plugins Overview

Genkit plugins extend the framework with additional capabilities like model providers, vector stores, telemetry, and integrations. Plugins provide a standardized way to add new models, embedders, retrievers, indexers, and other components to your Genkit application.

What are Plugins?

Plugins in Genkit are modular extensions that:
  • Provide models from various AI providers (Google AI, Anthropic, OpenAI, etc.)
  • Add vector stores for retrieval-augmented generation (RAG)
  • Enable telemetry and monitoring capabilities
  • Integrate frameworks like Express, Firebase, and Next.js
  • Extend functionality with custom embedders, evaluators, and more

Plugin Categories

Model Providers

Model provider plugins give you access to AI models from different vendors:

Vector Stores

Vector store plugins enable RAG with various vector databases:
  • genkitx-chroma - ChromaDB vector store
  • genkitx-pinecone - Pinecone vector database
  • @genkit-ai/dev-local-vectorstore - Local development vector store
  • @genkit-ai/cloud-sql-pg - Google Cloud SQL PostgreSQL with pgvector

Framework Integrations

Integration plugins connect Genkit with popular frameworks:

Telemetry & Monitoring

  • @genkit-ai/firebase - Firebase telemetry and monitoring
  • @genkit-ai/google-cloud - Google Cloud operations

Installation and Usage

Installing Plugins

Install plugins using your package manager:

Basic Configuration

Plugins are configured when initializing Genkit:

Using Plugin Resources

Once configured, use models and other resources from plugins:

Plugin API

Plugins implement the GenkitPlugin interface:

Official Plugins

Model Providers

  • @genkit-ai/google-genai - Google AI and Vertex AI (Gemini, Imagen, Lyria)
  • @genkit-ai/anthropic - Anthropic Claude models
  • genkitx-ollama - Local Ollama models
  • @genkit-ai/compat-oai - OpenAI-compatible models

Vector Stores

  • genkitx-chroma - ChromaDB
  • genkitx-pinecone - Pinecone
  • @genkit-ai/dev-local-vectorstore - Local development
  • @genkit-ai/cloud-sql-pg - Cloud SQL PostgreSQL

Integrations

  • @genkit-ai/express - Express.js
  • @genkit-ai/firebase - Firebase
  • @genkit-ai/next - Next.js
  • @genkit-ai/google-cloud - Google Cloud

Other

  • @genkit-ai/evaluators - AI evaluation tools
  • @genkit-ai/checks - Quality checks
  • @genkit-ai/langchain - LangChain integration
  • @genkit-ai/mcp - Model Context Protocol

Next Steps