praisonAI 2.3.6__tar.gz → 2.3.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. {praisonai-2.3.6 → praisonai-2.3.7}/PKG-INFO +96 -1
  2. {praisonai-2.3.6 → praisonai-2.3.7}/PraisonAI.egg-info/PKG-INFO +96 -1
  3. {praisonai-2.3.6 → praisonai-2.3.7}/PraisonAI.egg-info/SOURCES.txt +1 -0
  4. {praisonai-2.3.6 → praisonai-2.3.7}/README.md +95 -0
  5. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/cli.py +619 -1
  6. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/deploy.py +1 -1
  7. praisonai-2.3.7/praisonai/version.py +1 -0
  8. praisonai-2.3.7/tests/test_cli_features.py +179 -0
  9. praisonai-2.3.6/praisonai/version.py +0 -1
  10. {praisonai-2.3.6 → praisonai-2.3.7}/PraisonAI.egg-info/dependency_links.txt +0 -0
  11. {praisonai-2.3.6 → praisonai-2.3.7}/PraisonAI.egg-info/entry_points.txt +0 -0
  12. {praisonai-2.3.6 → praisonai-2.3.7}/PraisonAI.egg-info/requires.txt +0 -0
  13. {praisonai-2.3.6 → praisonai-2.3.7}/PraisonAI.egg-info/top_level.txt +0 -0
  14. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/__init__.py +0 -0
  15. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/__main__.py +0 -0
  16. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/agents_generator.py +0 -0
  17. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/api/call.py +0 -0
  18. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/auto.py +0 -0
  19. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/chainlit_ui.py +0 -0
  20. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/inbuilt_tools/__init__.py +0 -0
  21. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/inbuilt_tools/autogen_tools.py +0 -0
  22. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/inc/__init__.py +0 -0
  23. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/inc/config.py +0 -0
  24. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/inc/models.py +0 -0
  25. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/scheduler.py +0 -0
  26. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/setup/__init__.py +0 -0
  27. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/setup/build.py +0 -0
  28. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/setup/post_install.py +0 -0
  29. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/setup/setup_conda_env.py +0 -0
  30. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/setup.py +0 -0
  31. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/test.py +0 -0
  32. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/train.py +0 -0
  33. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/train_vision.py +0 -0
  34. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/agents.py +0 -0
  35. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/callbacks.py +0 -0
  36. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/chat.py +0 -0
  37. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/code.py +0 -0
  38. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/colab.py +0 -0
  39. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/colab_chainlit.py +0 -0
  40. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/components/aicoder.py +0 -0
  41. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/context.py +0 -0
  42. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/database_config.py +0 -0
  43. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/db.py +0 -0
  44. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/realtime.py +0 -0
  45. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/realtimeclient/__init__.py +0 -0
  46. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/realtimeclient/tools.py +0 -0
  47. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/ui/sql_alchemy.py +0 -0
  48. {praisonai-2.3.6 → praisonai-2.3.7}/praisonai/upload_vision.py +0 -0
  49. {praisonai-2.3.6 → praisonai-2.3.7}/pyproject.toml +0 -0
  50. {praisonai-2.3.6 → praisonai-2.3.7}/setup.cfg +0 -0
  51. {praisonai-2.3.6 → praisonai-2.3.7}/tests/test.py +0 -0
  52. {praisonai-2.3.6 → praisonai-2.3.7}/tests/test_agents_playbook.py +0 -0
  53. {praisonai-2.3.6 → praisonai-2.3.7}/tests/test_basic.py +0 -0
  54. {praisonai-2.3.6 → praisonai-2.3.7}/tests/test_custom_tools_fix.py +0 -0
  55. {praisonai-2.3.6 → praisonai-2.3.7}/tests/test_double_api_fix.py +0 -0
  56. {praisonai-2.3.6 → praisonai-2.3.7}/tests/test_phase2_refactor.py +0 -0
  57. {praisonai-2.3.6 → praisonai-2.3.7}/tests/test_runner.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PraisonAI
3
- Version: 2.3.6
3
+ Version: 2.3.7
4
4
  Summary: PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration.
5
5
  Author: Mervin Praison
6
6
  License: MIT
@@ -511,6 +511,101 @@ praisonai research --query-rewrite --tools tools.py --save "Your research query"
511
511
  praisonai research -v "Your research query"
512
512
  ```
513
513
 
514
+ ### Planning Mode CLI:
515
+ ```bash
516
+ # Enable planning mode - agent creates a plan before execution
517
+ praisonai "Research AI trends and write a summary" --planning
518
+
519
+ # Planning with tools for research
520
+ praisonai "Analyze market trends" --planning --planning-tools tools.py
521
+
522
+ # Planning with chain-of-thought reasoning
523
+ praisonai "Complex analysis task" --planning --planning-reasoning
524
+
525
+ # Auto-approve plans without confirmation
526
+ praisonai "Task" --planning --auto-approve-plan
527
+ ```
528
+
529
+ ### Memory CLI:
530
+ ```bash
531
+ # Enable memory for agent (persists across sessions)
532
+ praisonai "My name is John" --memory
533
+
534
+ # Memory with user isolation
535
+ praisonai "Remember my preferences" --memory --user-id user123
536
+
537
+ # Memory management commands
538
+ praisonai memory show # Show memory statistics
539
+ praisonai memory add "User prefers Python" # Add to long-term memory
540
+ praisonai memory search "Python" # Search memories
541
+ praisonai memory clear # Clear short-term memory
542
+ praisonai memory clear all # Clear all memory
543
+ praisonai memory save my_session # Save session
544
+ praisonai memory resume my_session # Resume session
545
+ praisonai memory sessions # List saved sessions
546
+ praisonai memory checkpoint # Create checkpoint
547
+ praisonai memory restore <checkpoint_id> # Restore checkpoint
548
+ praisonai memory checkpoints # List checkpoints
549
+ praisonai memory help # Show all commands
550
+ ```
551
+
552
+ ### Rules CLI:
553
+ ```bash
554
+ # List all loaded rules (from PRAISON.md, CLAUDE.md, etc.)
555
+ praisonai rules list
556
+
557
+ # Show specific rule details
558
+ praisonai rules show <rule_name>
559
+
560
+ # Create a new rule
561
+ praisonai rules create my_rule "Always use type hints"
562
+
563
+ # Delete a rule
564
+ praisonai rules delete my_rule
565
+
566
+ # Show rules statistics
567
+ praisonai rules stats
568
+
569
+ # Include manual rules with prompts
570
+ praisonai "Task" --include-rules security,testing
571
+ ```
572
+
573
+ ### Workflow CLI:
574
+ ```bash
575
+ # List available workflows
576
+ praisonai workflow list
577
+
578
+ # Execute a workflow
579
+ praisonai workflow run deploy
580
+
581
+ # Execute with variables
582
+ praisonai workflow run deploy --workflow-var environment=staging --workflow-var branch=main
583
+
584
+ # Show workflow details
585
+ praisonai workflow show deploy
586
+
587
+ # Create a new workflow template
588
+ praisonai workflow create my_workflow
589
+ ```
590
+
591
+ ### Hooks CLI:
592
+ ```bash
593
+ # List configured hooks
594
+ praisonai hooks list
595
+
596
+ # Show hooks statistics
597
+ praisonai hooks stats
598
+
599
+ # Create hooks.json template
600
+ praisonai hooks init
601
+ ```
602
+
603
+ ### Claude Memory Tool CLI:
604
+ ```bash
605
+ # Enable Claude Memory Tool (Anthropic models only)
606
+ praisonai "Research and remember findings" --claude-memory --llm anthropic/claude-sonnet-4-20250514
607
+ ```
608
+
514
609
  ## Using JavaScript Code
515
610
 
516
611
  ```bash
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PraisonAI
3
- Version: 2.3.6
3
+ Version: 2.3.7
4
4
  Summary: PraisonAI is an AI Agents Framework with Self Reflection. PraisonAI application combines PraisonAI Agents, AutoGen, and CrewAI into a low-code solution for building and managing multi-agent LLM systems, focusing on simplicity, customisation, and efficient human-agent collaboration.
5
5
  Author: Mervin Praison
6
6
  License: MIT
@@ -511,6 +511,101 @@ praisonai research --query-rewrite --tools tools.py --save "Your research query"
511
511
  praisonai research -v "Your research query"
512
512
  ```
513
513
 
514
+ ### Planning Mode CLI:
515
+ ```bash
516
+ # Enable planning mode - agent creates a plan before execution
517
+ praisonai "Research AI trends and write a summary" --planning
518
+
519
+ # Planning with tools for research
520
+ praisonai "Analyze market trends" --planning --planning-tools tools.py
521
+
522
+ # Planning with chain-of-thought reasoning
523
+ praisonai "Complex analysis task" --planning --planning-reasoning
524
+
525
+ # Auto-approve plans without confirmation
526
+ praisonai "Task" --planning --auto-approve-plan
527
+ ```
528
+
529
+ ### Memory CLI:
530
+ ```bash
531
+ # Enable memory for agent (persists across sessions)
532
+ praisonai "My name is John" --memory
533
+
534
+ # Memory with user isolation
535
+ praisonai "Remember my preferences" --memory --user-id user123
536
+
537
+ # Memory management commands
538
+ praisonai memory show # Show memory statistics
539
+ praisonai memory add "User prefers Python" # Add to long-term memory
540
+ praisonai memory search "Python" # Search memories
541
+ praisonai memory clear # Clear short-term memory
542
+ praisonai memory clear all # Clear all memory
543
+ praisonai memory save my_session # Save session
544
+ praisonai memory resume my_session # Resume session
545
+ praisonai memory sessions # List saved sessions
546
+ praisonai memory checkpoint # Create checkpoint
547
+ praisonai memory restore <checkpoint_id> # Restore checkpoint
548
+ praisonai memory checkpoints # List checkpoints
549
+ praisonai memory help # Show all commands
550
+ ```
551
+
552
+ ### Rules CLI:
553
+ ```bash
554
+ # List all loaded rules (from PRAISON.md, CLAUDE.md, etc.)
555
+ praisonai rules list
556
+
557
+ # Show specific rule details
558
+ praisonai rules show <rule_name>
559
+
560
+ # Create a new rule
561
+ praisonai rules create my_rule "Always use type hints"
562
+
563
+ # Delete a rule
564
+ praisonai rules delete my_rule
565
+
566
+ # Show rules statistics
567
+ praisonai rules stats
568
+
569
+ # Include manual rules with prompts
570
+ praisonai "Task" --include-rules security,testing
571
+ ```
572
+
573
+ ### Workflow CLI:
574
+ ```bash
575
+ # List available workflows
576
+ praisonai workflow list
577
+
578
+ # Execute a workflow
579
+ praisonai workflow run deploy
580
+
581
+ # Execute with variables
582
+ praisonai workflow run deploy --workflow-var environment=staging --workflow-var branch=main
583
+
584
+ # Show workflow details
585
+ praisonai workflow show deploy
586
+
587
+ # Create a new workflow template
588
+ praisonai workflow create my_workflow
589
+ ```
590
+
591
+ ### Hooks CLI:
592
+ ```bash
593
+ # List configured hooks
594
+ praisonai hooks list
595
+
596
+ # Show hooks statistics
597
+ praisonai hooks stats
598
+
599
+ # Create hooks.json template
600
+ praisonai hooks init
601
+ ```
602
+
603
+ ### Claude Memory Tool CLI:
604
+ ```bash
605
+ # Enable Claude Memory Tool (Anthropic models only)
606
+ praisonai "Research and remember findings" --claude-memory --llm anthropic/claude-sonnet-4-20250514
607
+ ```
608
+
514
609
  ## Using JavaScript Code
515
610
 
516
611
  ```bash
@@ -47,6 +47,7 @@ praisonai/ui/realtimeclient/tools.py
47
47
  tests/test.py
48
48
  tests/test_agents_playbook.py
49
49
  tests/test_basic.py
50
+ tests/test_cli_features.py
50
51
  tests/test_custom_tools_fix.py
51
52
  tests/test_double_api_fix.py
52
53
  tests/test_phase2_refactor.py
@@ -414,6 +414,101 @@ praisonai research --query-rewrite --tools tools.py --save "Your research query"
414
414
  praisonai research -v "Your research query"
415
415
  ```
416
416
 
417
+ ### Planning Mode CLI:
418
+ ```bash
419
+ # Enable planning mode - agent creates a plan before execution
420
+ praisonai "Research AI trends and write a summary" --planning
421
+
422
+ # Planning with tools for research
423
+ praisonai "Analyze market trends" --planning --planning-tools tools.py
424
+
425
+ # Planning with chain-of-thought reasoning
426
+ praisonai "Complex analysis task" --planning --planning-reasoning
427
+
428
+ # Auto-approve plans without confirmation
429
+ praisonai "Task" --planning --auto-approve-plan
430
+ ```
431
+
432
+ ### Memory CLI:
433
+ ```bash
434
+ # Enable memory for agent (persists across sessions)
435
+ praisonai "My name is John" --memory
436
+
437
+ # Memory with user isolation
438
+ praisonai "Remember my preferences" --memory --user-id user123
439
+
440
+ # Memory management commands
441
+ praisonai memory show # Show memory statistics
442
+ praisonai memory add "User prefers Python" # Add to long-term memory
443
+ praisonai memory search "Python" # Search memories
444
+ praisonai memory clear # Clear short-term memory
445
+ praisonai memory clear all # Clear all memory
446
+ praisonai memory save my_session # Save session
447
+ praisonai memory resume my_session # Resume session
448
+ praisonai memory sessions # List saved sessions
449
+ praisonai memory checkpoint # Create checkpoint
450
+ praisonai memory restore <checkpoint_id> # Restore checkpoint
451
+ praisonai memory checkpoints # List checkpoints
452
+ praisonai memory help # Show all commands
453
+ ```
454
+
455
+ ### Rules CLI:
456
+ ```bash
457
+ # List all loaded rules (from PRAISON.md, CLAUDE.md, etc.)
458
+ praisonai rules list
459
+
460
+ # Show specific rule details
461
+ praisonai rules show <rule_name>
462
+
463
+ # Create a new rule
464
+ praisonai rules create my_rule "Always use type hints"
465
+
466
+ # Delete a rule
467
+ praisonai rules delete my_rule
468
+
469
+ # Show rules statistics
470
+ praisonai rules stats
471
+
472
+ # Include manual rules with prompts
473
+ praisonai "Task" --include-rules security,testing
474
+ ```
475
+
476
+ ### Workflow CLI:
477
+ ```bash
478
+ # List available workflows
479
+ praisonai workflow list
480
+
481
+ # Execute a workflow
482
+ praisonai workflow run deploy
483
+
484
+ # Execute with variables
485
+ praisonai workflow run deploy --workflow-var environment=staging --workflow-var branch=main
486
+
487
+ # Show workflow details
488
+ praisonai workflow show deploy
489
+
490
+ # Create a new workflow template
491
+ praisonai workflow create my_workflow
492
+ ```
493
+
494
+ ### Hooks CLI:
495
+ ```bash
496
+ # List configured hooks
497
+ praisonai hooks list
498
+
499
+ # Show hooks statistics
500
+ praisonai hooks stats
501
+
502
+ # Create hooks.json template
503
+ praisonai hooks init
504
+ ```
505
+
506
+ ### Claude Memory Tool CLI:
507
+ ```bash
508
+ # Enable Claude Memory Tool (Anthropic models only)
509
+ praisonai "Research and remember findings" --claude-memory --llm anthropic/claude-sonnet-4-20250514
510
+ ```
511
+
417
512
  ## Using JavaScript Code
418
513
 
419
514
  ```bash