Skip to main content

Recipes CLI

Run pre-built AI-powered workflows (recipes) directly from the command line.

Prerequisites

  • PraisonAI installed: pip install praisonai
  • OpenAI API key: export OPENAI_API_KEY=your_key
  • External dependencies vary by recipe (ffmpeg, pandoc, etc.)
Recipes shipped with PraisonAI are trusted, but if you run a third-party or remotely fetched recipe, its tools.py will only execute if you have explicitly set PRAISONAI_ALLOW_TEMPLATE_TOOLS=1. This default-deny behaviour was introduced in PR #1579 (GHSA-xcmw-grxf-wjhj). Always inspect a recipe’s tools.py before opting in. See Security Environment Variables for details.
Tools registered via the wrapper ToolRegistry, shipped by praisonai-tools, or provided by core SDK plugins are now reachable from recipe tools: lists (PR #2059). Previously these worked only in the main agent build path. See Tool Resolver.

List Available Recipes

Get Recipe Info

Run a Recipe

Common Options

Output Modes

Video/Audio Recipes

ai-podcast-cleaner

Clean podcast audio with noise reduction, normalization, and transcription.

ai-video-to-gif

Convert video to optimized GIF.

ai-audio-splitter

Split audio by silence detection.

ai-video-thumbnails

Extract thumbnails from video.

ai-audio-normalizer

Normalize audio loudness.

Document Recipes

ai-pdf-to-markdown

Convert PDF to Markdown.

ai-markdown-to-pdf

Convert Markdown to PDF.

ai-pdf-summarizer

Summarize PDF documents.

ai-slide-to-notes

Convert slides to notes.

ai-doc-translator

Translate documents.

Image Recipes

ai-image-optimizer

Optimize images for web.

ai-image-cataloger

Catalog images with AI captions.

ai-screenshot-ocr

Extract text from screenshots.

ai-image-resizer

Batch resize images.

Code/Repo Recipes

ai-repo-readme

Generate README for repository.

ai-changelog-generator

Generate changelog from git history.

ai-code-documenter

Generate code documentation.

ai-dependency-auditor

Audit project dependencies.

Data Recipes

ai-csv-cleaner

Clean CSV files.

ai-json-to-csv

Convert JSON to CSV.

ai-data-profiler

Profile data files.

ai-schema-generator

Generate JSON Schema.

Web Recipes

ai-url-to-markdown

Extract article from URL.

ai-sitemap-scraper

Scrape sitemap URLs.

Packaging Recipes

ai-folder-packager

Package folder with manifest.

Output Structure

All recipes produce:
  • Primary output files (varies by recipe)
  • run.json - Execution metadata
  • run.log - Execution log (if verbose)

run.json Schema

Troubleshooting

Missing External Dependencies

Missing API Key

Permission Errors

Use --force to overwrite existing output: