Petal Flow API Index
Petal Flow API Index
Section titled “Petal Flow API Index”Packages
Section titled “Packages”| Package | Purpose |
|---|---|
core | Core node, envelope, tool, and error definitions. |
graph | Graph structures, builders, and edges. |
runtime | Runtime execution, events, and step control. |
nodes | Built-in nodes (LLM, router, filter, guard, cache, etc.). |
irisadapter | Adapter to use Iris providers inside Petal Flow. |
Top-level re-exports
Section titled “Top-level re-exports”The petalflow package re-exports types and constructors from the subpackages for convenience. For
new code, prefer importing subpackages directly.
Next pages
Section titled “Next pages”core: data types and node primitivesgraph: graph builders and structuresruntime: run options and event hooksnodes: built-in node libraryirisadapter: Iris integration