include: pattern.
include: steps; PraisonAI runs each included recipe in order.
How It Works
Quick Start
Overview
Instead of duplicating common functionality across recipes, extract it into a standalone recipe and include it where needed:Usage Patterns
Include in Steps Format
Include in Roles Format
Include with Configuration
Python API
call_recipe Tool
Give agents the ability to call other recipes as a tool:run_recipe Function
Creating Reusable Recipes
Cycle Detection
The include system automatically detects circular includes:Best Practices
Single responsibility per recipe
Single responsibility per recipe
Each recipe should do one thing well — publish, transform, or validate — not all three.
Document input/output contracts
Document input/output contracts
State the expected
{{previous_output}} format so included recipes parse input reliably.Handle malformed input defensively
Handle malformed input defensively
Included recipes should fail gracefully when required fields are missing.
Keep operations idempotent
Keep operations idempotent
Publishing or side-effect steps should be safe to retry without duplicating output.
Available Recipes
wordpress-publisher— Publish content to WordPresstranscript-generator— Generate transcripts from mediadata-transformer— Transform data between formats
Related
Workflows
Workflow fundamentals and step types
Recipe Registry
Browse available recipes

