{{previous_output}}.
Quick Start
How It Works
| Phase | What happens |
|---|---|
| 1. Start | The pipeline runs steps in sequence |
| 2. Pass | Each step’s output becomes {{previous_output}} for the next |
| 3. Return | The final step’s output flows back to you |
Context Passing
Use{{previous_output}} to pass the output from one agent to the next:
Mixed Agent Types
Combine specialised agents with standard agents:CLI Usage
Run the multi-agent pipeline recipe:Python API
Available Recipes
| Recipe | Description | Agents |
|---|---|---|
ai-text-to-speech | Convert text to speech | AudioAgent |
ai-speech-to-text | Transcribe audio | AudioAgent |
ai-generate-image | Generate images | ImageAgent |
ai-generate-video | Generate videos | VideoAgent |
ai-document-ocr | Extract text from documents | OCRAgent |
ai-media-pipeline | Complete 5-agent pipeline | AudioAgent, Agent, ImageAgent, VideoAgent |
Best Practices
Order agents logically
Order agents logically
Place agents in input → processing → output sequence so each step receives meaningful context.
Match models to tasks
Match models to tasks
Use Whisper for transcription, DALL·E for images, and TTS models for voiceovers — not general chat models.
Specify media output paths
Specify media output paths
Set
output on steps that produce files so downstream agents and recipes can find artefacts.Test agents individually first
Test agents individually first
Validate each agent in isolation before chaining the full pipeline.
Error Handling
Add error handling with guardrails:Related
Specialized Agents
AudioAgent, VideoAgent, ImageAgent, and OCRAgent reference.
YAML Workflows
Workflow syntax, variables, and step definitions.

