Skip to main content
Define roles and tasks in agents.yaml, then run the recipe from the CLI.
The user authors agents.yaml, runs praisonai recipe run, and receives output from each role.

How It Works


How to Create a Custom Recipe from Scratch

1

Create Recipe Directory

Create a new directory for your recipe with the required structure:
2

Create agents.yaml

Create the main recipe configuration file:
3

Test Your Recipe Locally

Run your recipe to verify it works:

How to Create a Recipe with CLI

1

Initialize Recipe

2

Edit Generated Files

3

Validate Recipe

4

Run Recipe

Recipe File Structure

agents.yaml Schema

Best Practices

The scaffold gives you a valid agents.yaml to edit, so you avoid schema mistakes on the first pass.
Specific goals and expected_output fields keep multi-role recipes on track and make outputs predictable.
Run praisonai recipe validate ./my-recipe after each change so schema errors surface before execution.

Add Tools to Recipes

Give recipe agents real capabilities

Different Ways to Create

Other recipe creation methods