Skip to content

rag-wtf/PocketFlow-Dart

PocketFlow-Dart

style: very good analysis Powered by Mason Coverage License: MIT

A minimalist LLM framework, ported from Python to Dart.

🧩 Core vs Extensions

This library provides two import options:

  • package:pocketflow/pocketflow.dart - Core classes that mirror the Python PocketFlow implementation
  • package: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.

💻 Installation

❗ 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

🧑‍💼 Contributing

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.

🙏 Acknowledgements

This package was created using the following agentic coding tools:

📔 License

This project is licensed under the terms of the MIT license.

🗒️ Citation

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}},
}