Build AI Applications with Genkit
Genkit is an open-source framework for building full-stack AI-powered applications, built and used in production by Google’s Firebase. It provides a unified interface for integrating AI models from providers like Google, OpenAI, Anthropic, Ollama, and more. Rapidly build and deploy production-ready chatbots, automations, and recommendation systems using streamlined APIs for multimodal content, structured outputs, tool calling, and agentic workflows.Multi-Language Support
Genkit provides SDKs for multiple programming languages with varying levels of stability:JavaScript/TypeScript
Production-ready with full feature support
Go
Production-ready with full feature support
Python
Alpha release with core functionality
Get Started in Seconds
Genkit makes AI integration simple with just a few lines of code:Key Capabilities
Broad AI Model Support
Broad AI Model Support
Simplified AI Development
Simplified AI Development
Use streamlined APIs to build AI features with structured output, agentic tool calling, context-aware generation, multi-modal input/output, and more. Genkit handles the complexity of AI development, so you can build and iterate faster.
Web and Mobile Ready
Web and Mobile Ready
Integrate seamlessly with frameworks and platforms including Next.js, React, Angular, iOS, Android, using purpose-built client SDKs and helpers.
Cross-Language Support
Cross-Language Support
Build with the language that best fits your project. Genkit provides SDKs for JavaScript/TypeScript, Go, and Python (Alpha) with consistent APIs and capabilities across all supported languages.
Deploy Anywhere
Deploy Anywhere
Deploy AI logic to any environment that supports your chosen programming language, such as Cloud Functions for Firebase, Google Cloud Run, or third-party platforms, with or without Google services.
Developer Tools
Developer Tools
Accelerate AI development with a purpose-built, local CLI and Developer UI. Test prompts and flows against individual inputs or datasets, compare outputs from different models, debug with detailed execution traces, and use immediate visual feedback to iterate rapidly on prompts.
Production Monitoring
Production Monitoring
Ship AI features with confidence using comprehensive production monitoring. Track model performance, request volumes, latency, and error rates in a purpose-built dashboard. Identify issues quickly with detailed observability metrics.
Core Features
Genkit simplifies AI integration with an open-source SDK and unified APIs that work across various model providers and programming languages:- Text and image generation
- Type-safe, structured data generation
- Tool calling
- Prompt templating
- Persisted chat interfaces
- AI workflows
- AI-powered data retrieval (RAG)
Implementation Path
Choose your language and model provider
Select the Genkit SDK for your preferred language (JavaScript/TypeScript, Go, or Python). Choose a model provider like Google Gemini or Anthropic, and get an API key. Some providers, like Vertex AI, may rely on a different means of authentication.
Install the SDK and initialize
Install the Genkit SDK, model-provider package of your choice, and the Genkit CLI. Import the Genkit and provider packages and initialize Genkit with the provider API key.
Write and test AI features
Use the Genkit SDK to build AI features for your use case, from basic text generation to complex multi-step workflows and agents. Use the CLI and Developer UI to help you rapidly test and iterate.
Try Genkit
Quick Start Guide
Get up and running with Genkit in under a minute
Explore Examples
Play with AI sample apps with visualizations at no cost
Firebase Studio
Try Genkit in Google’s AI-assisted cloud workspace
Join Discord
Get help, share ideas, and chat with other developers
Next Steps
Why Choose Genkit?
Learn about Genkit’s unique advantages and capabilities
Developer Tools
Explore the CLI and Developer UI for rapid iteration