agents.yaml, then run the recipe from the CLI.
agents.yaml, runs praisonai recipe run, and receives output from each role.
How It Works
How to Create a Custom Recipe from Scratch
How to Create a Recipe with CLI
Recipe File Structure
agents.yaml Schema
| Field | Type | Required | Description |
|---|---|---|---|
framework | string | Yes | Should be praisonai |
topic | string | Yes | Main topic/task |
roles | object | Yes | Agent definitions |
roles.*.role | string | Yes | Agent role name |
roles.*.goal | string | Yes | Agent goal |
roles.*.tools | array | No | Tools for agent |
roles.*.tasks | object | Yes | Agent tasks |
Best Practices
Start from praisonai recipe init
Start from praisonai recipe init
The scaffold gives you a valid
agents.yaml to edit, so you avoid schema mistakes on the first pass.Give each role a clear goal and expected_output
Give each role a clear goal and expected_output
Specific goals and
expected_output fields keep multi-role recipes on track and make outputs predictable.Validate before running
Validate before running
Run
praisonai recipe validate ./my-recipe after each change so schema errors surface before execution.Related
Add Tools to Recipes
Give recipe agents real capabilities
Different Ways to Create
Other recipe creation methods

