Skip to main content

Workflows & Orchestration

Compose multi-agent pipelines with the workflow engine and pkg/workflowsdk, and coordinate work with Symphony and Go Relay.

📄️Workflow Engine

The workflow engine (internal/workflow) is a Go-native orchestration runtime for composing multi-agent pipelines inside a running harnessd process. Instead of a single agent prompt, you write a Script — a regular Go function — that calls sub-agents, fans work out in parallel, pipes items through stages, tracks a token budget, and emits structured progress events as it runs. The engine handles scheduling, lifecycle tracking, SSE event emission, and failure recovery so your script can focus entirely on what the pipeline needs to do.