adk 2026.2.28
adk: ^2026.2.28 copied to clipboard
Package alias that re-exports adk_dart under the adk package name.
Agent Development Kit (ADK) for Dart (adk) #
adk is the short-name facade package for ADK Dart.
It re-exports adk_dart so you can use a shorter import path:
package:adk/adk.dart.
🔥 What's New #
- Facade Package for ADK Dart: Keeps the full ADK Dart API while providing a shorter package/import name.
- CLI Exposure: Ships the same
adkexecutable entrypoint for local and global usage. - MCP-Ready API Surface: Includes MCP-enabled types via the upstream
adk_dartexport surface.
✨ Key Features #
- Short Import Path:
import 'package:adk/adk.dart'; - Full API Re-Export: Access the same agent/runtime/tool APIs from
adk_dart. - CLI Included: Use
adk create,adk run,adk web,adk api_server.
🚀 Installation #
dart pub add adk
Or with pubspec.yaml:
dependencies:
adk: ^2026.2.28
For local repository development:
dependencies:
adk:
path: packages/adk
Then:
dart pub get
📦 Import #
import 'package:adk/adk.dart';
🏁 Feature Highlight #
Define a single agent #
import 'package:adk/adk.dart';
class EchoModel extends BaseLlm {
EchoModel() : super(model: 'echo');
@override
Stream<LlmResponse> generateContent(
LlmRequest request, {
bool stream = false,
}) async* {
yield LlmResponse(content: Content.modelText('hello from adk'));
}
}
🛠 CLI #
Global:
dart pub global activate adk
adk --help
Local package execution:
dart run adk:adk --help
📚 Related Package #
- Core implementation package: https://pub.dev/packages/adk_dart
- Repository: https://github.com/adk-labs/adk_dart
📄 License #
This project is licensed under Apache 2.0. See LICENSE.