◆ Pi FlowDocs

Compose (L2)

An agent designs the flow and emits a flat WorkflowSpec; the SDK compiles it to a DAG.

draft — this page is a stub

Draft — expand from the orchestration-substrate canon. Cross-link the WorkflowSpec reference for the schema.

At COMPOSE time an agent designs the flow tool-aware and emits a flat WorkflowSpec. The SDK compiles that spec into a DAG. The key property: a human-authored imperative workflow and an agent-authored spec compile to the same DAG — author once, the fleet inherits it.