Skip to content

Petal Flow API Index

import "github.com/petal-labs/petalflow"
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"
)
PackagePurpose
coreEnvelope, node interfaces, LLM/tool abstractions, shared types
graphExecutable graph model and fluent builder
runtimeGraph execution engine, events, step control
nodesBuilt-in node implementations
irisadapterAdapter for Iris provider interfaces
PackagePurpose
agentAgent/Task schema types, validation, and compilation
loaderDetect and load agent/graph workflow files
toolTool registry, adapters, validation, health checks
daemonTool API server and startup registration wiring
serverWorkflow daemon APIs, schedules, and run endpoints
otelRuntime/tool observability helpers