Gemini CLI Extension: Genkit — AI Framework Development
Gemini CLI extension for Firebase Genkit. Build AI-powered features with flows, prompts, retrievers, and model integration.
Staging sûr pour cet actif
Cet actif est d'abord staged. Le prompt copié demande à l'agent d'inspecter les fichiers staged avant d'activer scripts, config MCP ou config globale.
npx -y tokrepo@latest install 0f9fe677-0066-422d-9738-c4a8dede50bc --target codexStage les fichiers d'abord; l'activation exige la revue du README et du plan staged.
What it is
This is an official Gemini CLI extension that adds Firebase Genkit AI framework development capabilities to the Gemini command-line tool. It enables building AI-powered features using flows, prompts, retrievers, and model integration directly from the terminal.
The extension targets developers using Google's AI ecosystem who want Gemini CLI to understand Genkit project structure, APIs, and best practices when assisting with code generation.
How it saves time or tokens
Once installed, the extension automatically activates when the Gemini agent detects Genkit-related tasks. It provides context about Genkit's flow definitions, prompt management, retriever patterns, and model configuration without requiring the developer to paste documentation into every conversation.
The extension is maintained by Google's Gemini team, so it stays current with Genkit API changes.
How to use
- Install the extension with
gemini extensions install genkit. - Open your Genkit project in the terminal and use the Gemini CLI as usual.
- The extension activates automatically when Genkit-related tasks are detected.
Example
# Install the Genkit extension
gemini extensions install genkit
# Use Gemini CLI in a Genkit project
cd my-genkit-project
gemini 'Create a new flow that summarizes documents using RAG'
# The agent generates Genkit-specific code:
# - defineFlow() with input/output schemas
# - retriever integration
# - prompt template with model binding
Related on TokRepo
- AI tools for coding -- AI coding assistants and extensions
- Prompt library -- Reusable AI prompts and skill definitions
Common pitfalls
- The extension requires Gemini CLI to be installed first. It does not work with other AI coding tools like Claude Code or Cursor.
- Genkit project structure must follow standard conventions (genkit.config.ts, flows directory) for the extension to activate correctly.
- The extension provides coding guidance but does not run or deploy Genkit applications. You still need the Genkit CLI (
genkit start) for local development and testing.
Questions fréquentes
Firebase Genkit is an open-source AI framework by Google for building AI-powered features in applications. It provides abstractions for flows (multi-step AI pipelines), prompts, retrievers (for RAG), and model integration. It supports Node.js and Go.
No. This is specifically a Gemini CLI extension. It integrates with the gemini command-line tool only. For other AI coding assistants, look for equivalent skills or rules designed for those platforms.
Run gemini extensions update genkit to pull the latest version. The extension is maintained by Google's Gemini CLI Extensions organization and updated alongside Genkit releases.
Genkit supports Google Gemini models natively and provides plugin interfaces for OpenAI, Anthropic, and Ollama models. The model abstraction lets you swap providers without changing flow logic.
Yes. The extension works with both new and existing Genkit projects. It reads your project configuration and provides context-aware assistance based on your existing flows, prompts, and model setup.
Sources citées (3)
- Genkit Extension GitHub— Official Gemini CLI extension for Genkit
- Genkit GitHub— Firebase Genkit is an open-source AI framework by Google
- Genkit Documentation— Genkit documentation for flows, prompts, and retrievers
En lien sur TokRepo
Source et remerciements
Created by Google. Licensed under Apache 2.0. gemini-cli-extensions/genkit Part of Gemini CLI — ⭐ 99,400+
Fil de discussion
Actifs similaires
Gemini CLI Extension: Angular — Web App Development
Gemini CLI extension for Angular. Component generation, routing, services, reactive forms, and testing patterns.
Gemini CLI Extension: Flutter — Cross-Platform App Dev
Gemini CLI extension for Flutter development. Widget creation, state management, navigation, and platform-specific code generation.
Gemini CLI Extension: Vertex AI — Model Management
Gemini CLI extension for Vertex AI. Deploy models, manage endpoints, run predictions, and monitor ML pipelines.
Gemini CLI Extension: Firebase — Project Deploy & Manage
Gemini CLI extension for Firebase. Deploy functions, manage databases, configure auth, and monitor projects via natural language.