agent: field in YAML or a few lines of Python.
How It Works
Quick Start
Supported Agent Types
| Agent Type | Purpose | Key Methods |
|---|---|---|
AudioAgent | Text-to-Speech (TTS) and Speech-to-Text (STT) | speech(), transcribe() |
VideoAgent | Video generation | generate() |
ImageAgent | Image generation, editing, variations | generate(), edit() |
OCRAgent | Text extraction from documents/images | extract() |
DeepResearchAgent | Automated research with citations | research() |
YAML Examples
Speech-to-Text
Document OCR
CLI Usage
Best Practices
Choose the right model
Choose the right model
Use
tts-1-hd for higher-quality audio, dall-e-3 for detailed images, and provider-specific OCR models for scanned PDFs.Set explicit output paths
Set explicit output paths
Specialised agents produce files — always specify
output or source paths so downstream steps can chain results.Chain with standard agents
Chain with standard agents
Combine specialised agents with a standard
Agent for analysis, summarisation, or formatting of media outputs.Pass context between steps
Pass context between steps
Use
{{previous_output}} in YAML workflows to feed transcribed text or extracted content into the next agent step.Related
Multi-Agent Pipelines
Chain specialised agents together
OCR
Detailed OCR documentation

