Search packages, repositories and app categories

Package detailsv1.0.2

genkit

Genkit Dart package, a Generative AI library for pure Dart client/server and Flutter apps.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
46.4K
Likes
84
Pub points
160

Install package

flutter pub add genkit

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Genkit is a Generative AI library for Dart, enabling developers to integrate large language models (LLMs) and AI capabilities into pure Dart applications, including Flutter apps for Android, iOS, Web, macOS, Windows, and Linux. It provides a unified API for building AI-powered features such as chat interfaces, content generation, and natural language processing directly within client and server environments. Designed for seamless use across platforms, Genkit simplifies the implementation of generative AI workflows without requiring external dependencies or complex configurations.

Use cases

  • Building AI chatbots in Flutter apps
  • Generating text content using LLMs
  • Implementing natural language understanding
  • Creating AI-driven user assistance
  • Developing cross-platform AI features

Key features

  • Cross-platform support for all major OS
  • Unified API for client and server
  • Built-in integration with LLM providers
  • Support for prompt engineering and chaining
  • Lightweight and easy to integrate

Suitable for

  • Flutter developers adding AI features
  • Backend services needing generative AI
  • Full-stack Dart applications
  • Prototyping AI-powered applications
  • Teams building multiplatform AI tools

Considerations

  • Requires familiarity with LLM concepts
  • Dependent on external LLM provider APIs
  • May incur costs based on usage
  • Limited to Dart/Flutter ecosystem
  • Performance depends on network latency for remote models

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Genkit logo
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.

Documentation • Discord


Using a coding agent? Install the skill.

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. Pub
genkit_google_genai Google AI plugin for Genkit Dart. Pub
genkit_vertexai Vertex AI plugin for Genkit Dart. Pub
genkit_anthropic Anthropic plugin for Genkit Dart. Pub
genkit_openai OpenAI plugin for Genkit Dart. Pub
genkit_chrome Chrome Prompt API (Gemini Nano) plugin for Genkit Dart. Pub
genkit_mcp Model Context Protocol (MCP) plugin for Genkit Dart. Pub
genkit_middleware Common middlewares (filesystem, skills, toolApproval) for Genkit Dart. Pub
genkit_a2ui A2UI (Agent-to-UI) streaming UI protocol support for Genkit Dart (experimental). Pub
genkit_shelf Shelf adapter for serving Genkit actions and agents over HTTP. Pub
genkit_otel OpenTelemetry GenAI semantic-conventions instrumentation for Genkit Dart. Pub
genkit_firebase_ai Firebase AI plugin for Genkit Dart. Pub
genkit_google_cloud Google Cloud integration for Genkit Dart (Firestore session store, experimental). Pub
schemantic Type-safe data classes and runtime JSON Schemas, with serialization and validation. Pub
schemantic_builder The code generator for schemantic. Pub

Versioning

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

Categories

Dependencies

Dependency list 9 items

Source repository

Projects using this package

No data available yet.

Rankings