flutter_agent_harness 0.1.47
flutter_agent_harness: ^0.1.47 copied to clipboard
Cross-platform AI agent harness for Dart and Flutter: streaming provider adapters, agent loop with tools, session persistence, context compaction.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flutter_agent_harnessUse it
The package has the following executables:
$ fa
$ fah
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_agent_harnessThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_agent_harness: ^0.1.47Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_agent_harness/flutter_agent_harness.dart';