Enable step-by-step planning and execution for complex tasks
The --planning flag enables planning mode where the agent creates a multi-step plan before execution.
Donโt confuse --planning with --plan.--planning enables the agentโs multi-step plan-then-execute workflow (this page). --plan on praisonai run / praisonai code is a completely different flag: it selects the read-only planning permission mode (PermissionMode.PLAN) so mutating tools are denied. Inside praisonai chat / praisonai code, the interactive /plan slash command toggles the same read-only permission mode on/off. See Slash Commands โบ /plan, Permissions, and Permission Modes.
praisonai "Research AI trends and write a summary" --planning
Expected Output:
๐ Planning Mode Enabledโญโ Plan โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎโ 1. Research current AI trends from multiple sources โโ 2. Identify key themes and patterns โโ 3. Organize findings into categories โโ 4. Write executive summary โโ 5. Add conclusions and recommendations โโฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏApprove plan? [Y/n]: yโญโ Step 1/5 โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎโ ๐ Researching current AI trends... โโฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
# Full featured planningpraisonai "Research and write report" --planning --planning-tools tools.py --planning-reasoning# Planning with metricspraisonai "Complex task" --planning --metrics