A minimalist LLM framework, ported from Python to Dart.
This library provides two import options:
package:pocketflow/pocketflow.dart
- Core classes that mirror the Python PocketFlow implementationpackage:pocketflow/pocketflow_extensions.dart
- Dart-specific convenience extensions
For most use cases, start with the core library. See EXTENSIONS.md for details on the additional Dart-specific patterns available in the extensions library.
❗ In order to start using pocketflow
package you must have the Dart SDK installed on your machine.
Install via dart pub add
:
dart pub add pocketflow
Contributions are welcome! Please check out the unimplemented features or issues on the repository, and feel free to open a pull request. For more information, please see the contribution guide.
This package was created using the following agentic coding tools:
This project is licensed under the terms of the MIT license.
If you utilize this package, please consider citing it with:
@misc{pocketflow,
author = {Lim Chee Kin},
title = {PocketFlow-Dart: A Dart Port of PocketFlow Python},
year = {2025},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/rag-wtf/PocketFlow-Dart}},
}