Genkit Dart
AI SDK for Dart • LLM Framework • AI Agent Toolkit
Build production-ready AI-powered applications in Dart with a unified interface for text generation, structured output, tool calling, and agentic workflows.
Before you write a line of Genkit Dart with an agent, install the official Genkit Dart Agent Skill:
npx skills add genkit-ai/skills --skill developing-genkit-dartIt teaches your agent the current Genkit Dart APIs (flows, tools, agents,
sessions, prompts, plugins, schemantic) and common gotchas. Source, manual
install instructions, and skills for JS/TS, Go and Python:
github.com/genkit-ai/skills.
See the Genkit package documentation for getting started, guides, and API reference.
| Package | Description | Pub |
|---|---|---|
genkit |
The Genkit framework: flows, tools, prompts, structured output, agents, and a client for calling deployed flows. | |
genkit_google_genai |
Google AI plugin for Genkit Dart. | |
genkit_vertexai |
Vertex AI plugin for Genkit Dart. | |
genkit_anthropic |
Anthropic plugin for Genkit Dart. | |
genkit_openai |
OpenAI plugin for Genkit Dart. | |
genkit_chrome |
Chrome Prompt API (Gemini Nano) plugin for Genkit Dart. | |
genkit_mcp |
Model Context Protocol (MCP) plugin for Genkit Dart. | |
genkit_middleware |
Common middlewares (filesystem, skills, toolApproval) for Genkit Dart. | |
genkit_a2ui |
A2UI (Agent-to-UI) streaming UI protocol support for Genkit Dart (experimental). | |
genkit_shelf |
Shelf adapter for serving Genkit actions and agents over HTTP. | |
genkit_otel |
OpenTelemetry GenAI semantic-conventions instrumentation for Genkit Dart. | |
genkit_firebase_ai |
Firebase AI plugin for Genkit Dart. | |
genkit_google_cloud |
Google Cloud integration for Genkit Dart (Firestore session store, experimental). | |
schemantic |
Type-safe data classes and runtime JSON Schemas, with serialization and validation. | |
schemantic_builder |
The code generator for schemantic. |
Packages at version 1.0 or later follow semantic versioning:
- 1.0+ packages: Breaking changes only ship in a new major version.
- 0.x packages and experimental APIs (such as
package:genkit/experimental.dart): May change in minor releases.
Each package has its own CHANGELOG.md, also shown on its pub.dev page.
Built by Google with contributions from the Open Source Community