developing-genkit-dart
Build AI apps with the Genkit Dart SDK
Developer Setup
Setup & Installation
npx skills add https://github.com/firebase/agent-skills --skill developing-genkit-dartnpx skills add https://github.com/firebase/agent-skills --skill developing-genkit-dartOverview
What This Skill Does
Build AI apps with the Genkit Dart SDK
Application
When to use this Skill
- Integrating developing genkit dart into your development workflow.
- Following best practices for build ai apps with the genkit dart sdk.
- Automating repetitive tasks with AI-assisted tooling.
- Building production-grade applications with proper standards.
- Debugging and troubleshooting common implementation issues.
Documentation
Show Skills.md file
Genkit Dart
Genkit Dart is an AI SDK for Dart that provides a unified interface for code generation, structured outputs, tools, flows, and AI agents.
Core Features and Usage
If you need help with initializing Genkit (Genkit()), Generation (ai.generate), Tooling (ai.defineTool), Flows (ai.defineFlow), Embeddings (ai.embedMany), streaming, or calling remote flow endpoints, please load the core framework reference:
references/genkit.md
Genkit CLI (recommended)
The Genkit CLI provides a local development UI for running Flow, tracing executions, playing with models, and evaluating outputs.
check if the user has it installed: genkit --version
Installation:
curl -sL cli.genkit.dev | bash # Native CLI
# OR
npm install -g genkit-cli # Via npm
Usage:
Wrap your run command with genkit start to attach the Genkit developer UI and tracing:
genkit start -- dart run main.dart
Recommendations