Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

Open-source SDK for building AI-powered apps with model plugins, tool calling, RAG and flows across JS, Go, Python and Dart.

This project ships 10 agent skillsSkill list and install →
6,703
903
TypeScript
Apache-2.0
2 years old

What it is

Genkit is an open-source framework from Google, used in production by Firebase, for building full-stack AI applications. It gives you one SDK across JavaScript/TypeScript, Go, Python (Beta) and Dart (Preview), with a shared interface for calling models from Google, OpenAI, Anthropic, Ollama and other providers genkit-ai/genkit.

It targets server-side AI logic such as chatbots, automations and recommendation systems, and offers client helpers for web and mobile frameworks. The core pieces are text and image generation, type-safe structured output, tool calling, prompt templating, persisted chat, AI workflows (flows) and RAG genkit-ai/genkit.

Quick start

A minimal TypeScript example needs the genkit package and a model provider plugin. With Google AI as the provider:

import { genkit } from 'genkit';
import { googleAI } from '@genkit-ai/google-genai';

const ai = genkit({ plugins: [googleAI()] });

const { text } = await ai.generate({
    model: googleAI.model('gemini-flash-latest'),
    prompt: 'What is the meaning of life?'
});

This corresponds to the README snippet quick-start example. Before running it you need your chosen provider's credentials; some providers like Vertex AI use a different authentication mechanism than a plain API key genkit-ai/genkit. For a guided setup with installation and genkit start commands, follow the language quickstart: JavaScript/TypeScript, Go, Python or Dart.

To test and debug locally, install the CLI with npm install -g genkit-cli and run genkit start -- <command to run your code>, which wraps execution with telemetry and opens the Developer UI for running flows, inspecting traces and reviewing evaluations genkit-ai/genkit.

Ready-made sample apps with visualizations are available on Genkit by Example. If you are driving development through a coding agent, the project publishes installable skills that teach an agent current Genkit APIs: npx skills add genkit-ai/skills --skill developing-genkit-js (and the matching Go, Python, Dart variants) genkit-ai/skills.

Usage constraints

The SDKs differ in maturity: JavaScript/TypeScript and Go are described as production-ready with full feature support, Python is Beta and Dart is Preview with core functionality only genkit-ai/genkit. Genkit is designed for server-side deployment and can be hosted on Cloud Functions for Firebase, Google Cloud Run or third-party platforms, with or without Google services genkit-ai/genkit. Model access depends on the provider plugin and its authentication and pricing terms. The repository is licensed under Apache-2.0.

HotRepo's take

There is no ranking, star-curve or discussion record in the HotRepo data for this repository, so no trend claim can be made. What the material does establish is a framework with four language SDKs of unequal maturity and an explicit production dependency on Google's Firebase, plus a documented local toolchain (CLI and Developer UI) for testing prompts, comparing models and inspecting traces genkit-ai/genkit. For teams choosing a multi-language AI backend, the practical decision point is which SDK tier matches their language and how much they rely on provider-specific authentication.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. modelcontextprotocol/go-sdkOfficial Go SDK for building MCP servers and clients, with packages for JSON-RPC transports and OAuth support.Go5,342
  2. langchain4j/langchain4jA Java library for building LLM-powered applications with unified provider APIs, tool calling, agents, and RAG.Java13,368
  3. mastra-ai/mastraA TypeScript framework for building AI agents and workflows, with model routing, memory, RAG, evals, and observability.TypeScript29,561
  4. langchain-ai/langgraphLow-level Python framework for building long-running stateful agents with durable execution and human oversight.Python44,895
  5. vercel/aiA TypeScript library for calling many LLM providers through one API and wiring models into UI frameworks and agents.TypeScript27,500