Petal Flow API Index
Petal Flow API Index
Section titled “Petal Flow API Index”Import Styles
Section titled “Import Styles”Top-level (re-exported convenience API)
Section titled “Top-level (re-exported convenience API)”import "github.com/petal-labs/petalflow"Subpackage imports (recommended for clarity)
Section titled “Subpackage imports (recommended for clarity)”import ( "github.com/petal-labs/petalflow/core" "github.com/petal-labs/petalflow/graph" "github.com/petal-labs/petalflow/runtime" "github.com/petal-labs/petalflow/nodes")Primary Runtime Packages
Section titled “Primary Runtime Packages”| Package | Purpose |
|---|---|
core | Envelope, node interfaces, LLM/tool abstractions, shared types |
graph | Executable graph model and fluent builder |
runtime | Graph execution engine, events, step control |
nodes | Built-in node implementations |
irisadapter | Adapter for Iris provider interfaces |
Additional Platform Packages
Section titled “Additional Platform Packages”| Package | Purpose |
|---|---|
agent | Agent/Task schema types, validation, and compilation |
loader | Detect and load agent/graph workflow files |
tool | Tool registry, adapters, validation, health checks |
daemon | Tool API server and startup registration wiring |
server | Workflow daemon APIs, schedules, and run endpoints |
otel | Runtime/tool observability helpers |