Enable agentic frameworks on HPC. This package provides building blocks to run agent workflows on High-Performance Computing (HPC) schedulers and workflow engines. It focuses on developer ergonomics and composability with modern agent frameworks.
Read the documentation: stride-research.github.io/flowgentic
- Purpose: Run agentic frameworks on HPC workflow engines with minimal code changes.
- Today: Supports LangGraph integrated with RADICAL AsyncFlow (experimental) for concurrent execution and orchestration.
- Roadmap: CrewAI, AG2, OpenAI Agents SDK; and HPC workflow engines such as Pegasus and Parsl.
Current and planned integrations. ✅ available, 🚧 planned, 🟡 pre-release.
| Agent Framework \ HPC Engine | RADICAL AsyncFlow | Pegasus | Parsl | Academy |
|---|---|---|---|---|
| LangGraph | ✅ | 🚧 | 🚧 | 🟡 |
| CrewAI | 🚧 | 🚧 | 🚧 | 🚧 |
| AG2 | 🚧 | 🚧 | 🚧 | 🚧 |
| OpenAI Agents SDK | 🚧 | 🚧 | 🚧 | 🚧 |
- Note: As of now, the only supported path is LangGraph → RADICAL AsyncFlow.
Requirements: Python >= 3.10 (LangGraph recently discontinued support for python 3.9. See more here)
pip install '.'Dev extras (linting, docs, tests):
pip install '.[dev]'Environment variables for LLM providers:
- OPEN_ROUTER_API_KEY: required if you use the OpenRouter-backed LLM provider.
.envfiles are supported viapython-dotenvif you callload_dotenv().
export OPEN_ROUTER_API_KEY=sk-or-...- HPC execution of agent workflows: Run LangGraph graphs on HPC via RADICAL AsyncFlow.
- Concurrent tool and agent blocks: Offload parallelizable work to HPC backends.
- Resilience and memory: Combine LangGraph checkpointing with HPC retries and blocks.
- Production-oriented patterns: Start from examples that implement sequential patterns with typed state, tool registries, and error handling.
examples/langgraph-integration/01-parallel-tools.py: parallel tool usageexamples/langgraph-integration/04-memory-summarization.py: memory + summarizationexamples/langgraph-integration/design_patterns/sequential/: sequential pattern end-to-end
Browse the docs in docs/:
- Architecture:
docs/architecture.md - Features:
docs/features/ - LangGraph how-tos:
ai-docs/langgraph/
If you use MkDocs locally:
pip install '.[dev]'
mkdocs serve- Add CrewAI, AG2, OpenAI Agents SDK adapters.
- Add Pegasus and Parsl execution backends.
- Expand memory/persistence options and checkpoint stores.
- Provide production templates and more design patterns.
We welcome contributions! If you find a bug or have a feature request, please create a GitHub issue.
Please see CONTRIBUTING.md for guidelines (environment setup, coding style, testing, and PR process).
When reporting a bug, please include:
- A clear description of the problem
- Steps to reproduce
- Expected vs. actual behavior
- Your environment (OS, version, etc.)
If you use flowgentic in your work, please cite it. A suggested reference and a BibTeX entry are provided below.
- Dominguez, J., Amirghofran, Y., & Turilli, M. (2025). flowgentic (Version 0.1.0). MIT License. Available at https://github.com/stride-research/flowgentic
@software{flowgentic_2025,
title = {flowgentic},
author = {Dominguez, Javier and Amirghofran, Yousef and Turilli, Matteo},
year = {2025},
version = {0.1.0},
url = {https://github.com/stride-research/flowgentic},
license = {MIT},
note = {A library to enable running agentic frameworks on HPC environments.}
}MIT (see LICENSE).