genkitlisted
Install: claude install-skill aiskillstore/marketplace
# Firebase Genkit
## When to use this skill
- **AI workflow orchestration**: Building multi-step AI pipelines with type-safe inputs/outputs
- **Flow-based APIs**: Wrapping LLM calls into deployable HTTP endpoints
- **Tool calling / agents**: Equipping models with custom tools and implementing agentic loops
- **RAG pipelines**: Retrieval-augmented generation with vector databases (Pinecone, pgvector, Firestore, Chroma, etc.)
- **Multi-agent systems**: Coordinating multiple specialized AI agents
- **Streaming responses**: Real-time token-by-token output for chat or long-form content
- **Firebase/Cloud Run deployment**: Deploying AI functions to Google Cloud
- **Prompt management**: Managing prompts as versioned `.prompt` files with Dotprompt
---
## Installation & Setup
### Step 1: Install the Genkit CLI
```bash
# npm (recommended for JavaScript/TypeScript)
npm install -g genkit-cli
# macOS/Linux binary
curl -sL cli.genkit.dev | bash
```
### Step 2: Create a TypeScript project
```bash
mkdir my-genkit-app && cd my-genkit-app
npm init -y
npm pkg set type=module
npm install -D typescript tsx
npx tsc --init
mkdir src && touch src/index.ts
```
### Step 3: Install Genkit core and a model plugin
```bash
# Core + Google AI (Gemini) — free tier, no credit card required
npm install genkit @genkit-ai/google-genai
# Or: Vertex AI (requires GCP project)
npm install genkit @genkit-ai/vertexai
# Or: OpenAI
npm install genkit genkitx-openai
# Or: Anthropic (Claude)
npm install gen