genkit
Genkit Dart 套件,一個適用於純 Dart 客戶端/伺服器與 Flutter 應用的生成式 AI 庫。
Dart 與 Flutter 的 Genkit
以下為英文專案原文快照,最新內容請造訪 GitHub。

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-dart
It 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:
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
先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗