Documentation Index
Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
Use this file to discover all available pages before exploring further.
How to Create a Custom Recipe from Scratch
Create Recipe Directory
Create a new directory for your recipe with the required structure:mkdir -p my-recipe
cd my-recipe
Create agents.yaml
Create the main recipe configuration file:# agents.yaml
framework: praisonai
topic: "{{task}}"
roles:
researcher:
role: Research Specialist
goal: Research the given topic thoroughly
backstory: Expert researcher with attention to detail
tools:
- internet_search
tasks:
research_task:
description: |
Research: {{task}}
Provide comprehensive findings.
expected_output: "Detailed research report"
Test Your Recipe Locally
Run your recipe to verify it works:praisonai recipe run ./my-recipe --var task="AI trends 2024"
How to Create a Recipe with CLI
Initialize Recipe
praisonai recipe init my-new-recipe
Edit Generated Files
cd my-new-recipe
# Edit agents.yaml as needed
Validate Recipe
praisonai recipe validate ./my-new-recipe
Run Recipe
praisonai recipe run my-new-recipe --var task="Your task here"
Recipe File Structure
my-recipe/
├── agents.yaml # Agent definitions and tasks
├── tools.py # Optional: custom tools
└── README.md # Optional: documentation
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 |