praisonAI 2.3.6__tar.gz → 2.3.8__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.8}/PKG-INFO +99 -3
  2. {praisonai-2.3.6 → praisonai-2.3.8}/PraisonAI.egg-info/PKG-INFO +99 -3
  3. {praisonai-2.3.6 → praisonai-2.3.8}/PraisonAI.egg-info/SOURCES.txt +1 -0
  4. {praisonai-2.3.6 → praisonai-2.3.8}/PraisonAI.egg-info/requires.txt +1 -1
  5. {praisonai-2.3.6 → praisonai-2.3.8}/README.md +97 -1
  6. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/cli.py +619 -1
  7. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/deploy.py +1 -1
  8. praisonai-2.3.8/praisonai/version.py +1 -0
  9. {praisonai-2.3.6 → praisonai-2.3.8}/pyproject.toml +1 -1
  10. praisonai-2.3.8/tests/test_cli_features.py +179 -0
  11. praisonai-2.3.6/praisonai/version.py +0 -1
  12. {praisonai-2.3.6 → praisonai-2.3.8}/PraisonAI.egg-info/dependency_links.txt +0 -0
  13. {praisonai-2.3.6 → praisonai-2.3.8}/PraisonAI.egg-info/entry_points.txt +0 -0
  14. {praisonai-2.3.6 → praisonai-2.3.8}/PraisonAI.egg-info/top_level.txt +0 -0
  15. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/__init__.py +0 -0
  16. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/__main__.py +0 -0
  17. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/agents_generator.py +0 -0
  18. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/api/call.py +0 -0
  19. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/auto.py +0 -0
  20. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/chainlit_ui.py +0 -0
  21. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/inbuilt_tools/__init__.py +0 -0
  22. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/inbuilt_tools/autogen_tools.py +0 -0
  23. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/inc/__init__.py +0 -0
  24. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/inc/config.py +0 -0
  25. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/inc/models.py +0 -0
  26. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/scheduler.py +0 -0
  27. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/setup/__init__.py +0 -0
  28. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/setup/build.py +0 -0
  29. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/setup/post_install.py +0 -0
  30. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/setup/setup_conda_env.py +0 -0
  31. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/setup.py +0 -0
  32. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/test.py +0 -0
  33. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/train.py +0 -0
  34. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/train_vision.py +0 -0
  35. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/agents.py +0 -0
  36. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/callbacks.py +0 -0
  37. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/chat.py +0 -0
  38. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/code.py +0 -0
  39. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/colab.py +0 -0
  40. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/colab_chainlit.py +0 -0
  41. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/components/aicoder.py +0 -0
  42. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/context.py +0 -0
  43. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/database_config.py +0 -0
  44. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/db.py +0 -0
  45. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/realtime.py +0 -0
  46. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/realtimeclient/__init__.py +0 -0
  47. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/realtimeclient/tools.py +0 -0
  48. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/ui/sql_alchemy.py +0 -0
  49. {praisonai-2.3.6 → praisonai-2.3.8}/praisonai/upload_vision.py +0 -0
  50. {praisonai-2.3.6 → praisonai-2.3.8}/setup.cfg +0 -0
  51. {praisonai-2.3.6 → praisonai-2.3.8}/tests/test.py +0 -0
  52. {praisonai-2.3.6 → praisonai-2.3.8}/tests/test_agents_playbook.py +0 -0
  53. {praisonai-2.3.6 → praisonai-2.3.8}/tests/test_basic.py +0 -0
  54. {praisonai-2.3.6 → praisonai-2.3.8}/tests/test_custom_tools_fix.py +0 -0
  55. {praisonai-2.3.6 → praisonai-2.3.8}/tests/test_double_api_fix.py +0 -0
  56. {praisonai-2.3.6 → praisonai-2.3.8}/tests/test_phase2_refactor.py +0 -0
  57. {praisonai-2.3.6 → praisonai-2.3.8}/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.8
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
@@ -11,7 +11,7 @@ Description-Content-Type: text/markdown
11
11
  Requires-Dist: rich>=13.7
12
12
  Requires-Dist: markdown>=3.5
13
13
  Requires-Dist: pyparsing>=3.0.0
14
- Requires-Dist: praisonaiagents>=0.0.184
14
+ Requires-Dist: praisonaiagents>=0.0.187
15
15
  Requires-Dist: python-dotenv>=0.19.0
16
16
  Requires-Dist: instructor>=1.3.3
17
17
  Requires-Dist: PyYAML>=6.0
@@ -157,6 +157,7 @@ PraisonAI is a production-ready Multi-AI Agents framework with self-reflection,
157
157
  - 💾 **Prompt Caching** (Reduce costs & latency - OpenAI, Anthropic, Bedrock, Deepseek)
158
158
  - 🧠 **Claude Memory Tool** (Persistent cross-conversation memory - Anthropic Beta)
159
159
  - 💾 **File-Based Memory** (Zero-dependency persistent memory for all agents)
160
+ - 🔍 **Built-in Search Tools** (Tavily, You.com, Exa - web search, news, content extraction)
160
161
  - 📋 **Planning Mode** (Plan before execution - Agent & Multi-Agent)
161
162
  - 🔧 **Planning Tools** (Research with tools during planning)
162
163
  - 🧠 **Planning Reasoning** (Chain-of-thought planning)
@@ -511,6 +512,101 @@ praisonai research --query-rewrite --tools tools.py --save "Your research query"
511
512
  praisonai research -v "Your research query"
512
513
  ```
513
514
 
515
+ ### Planning Mode CLI:
516
+ ```bash
517
+ # Enable planning mode - agent creates a plan before execution
518
+ praisonai "Research AI trends and write a summary" --planning
519
+
520
+ # Planning with tools for research
521
+ praisonai "Analyze market trends" --planning --planning-tools tools.py
522
+
523
+ # Planning with chain-of-thought reasoning
524
+ praisonai "Complex analysis task" --planning --planning-reasoning
525
+
526
+ # Auto-approve plans without confirmation
527
+ praisonai "Task" --planning --auto-approve-plan
528
+ ```
529
+
530
+ ### Memory CLI:
531
+ ```bash
532
+ # Enable memory for agent (persists across sessions)
533
+ praisonai "My name is John" --memory
534
+
535
+ # Memory with user isolation
536
+ praisonai "Remember my preferences" --memory --user-id user123
537
+
538
+ # Memory management commands
539
+ praisonai memory show # Show memory statistics
540
+ praisonai memory add "User prefers Python" # Add to long-term memory
541
+ praisonai memory search "Python" # Search memories
542
+ praisonai memory clear # Clear short-term memory
543
+ praisonai memory clear all # Clear all memory
544
+ praisonai memory save my_session # Save session
545
+ praisonai memory resume my_session # Resume session
546
+ praisonai memory sessions # List saved sessions
547
+ praisonai memory checkpoint # Create checkpoint
548
+ praisonai memory restore <checkpoint_id> # Restore checkpoint
549
+ praisonai memory checkpoints # List checkpoints
550
+ praisonai memory help # Show all commands
551
+ ```
552
+
553
+ ### Rules CLI:
554
+ ```bash
555
+ # List all loaded rules (from PRAISON.md, CLAUDE.md, etc.)
556
+ praisonai rules list
557
+
558
+ # Show specific rule details
559
+ praisonai rules show <rule_name>
560
+
561
+ # Create a new rule
562
+ praisonai rules create my_rule "Always use type hints"
563
+
564
+ # Delete a rule
565
+ praisonai rules delete my_rule
566
+
567
+ # Show rules statistics
568
+ praisonai rules stats
569
+
570
+ # Include manual rules with prompts
571
+ praisonai "Task" --include-rules security,testing
572
+ ```
573
+
574
+ ### Workflow CLI:
575
+ ```bash
576
+ # List available workflows
577
+ praisonai workflow list
578
+
579
+ # Execute a workflow
580
+ praisonai workflow run deploy
581
+
582
+ # Execute with variables
583
+ praisonai workflow run deploy --workflow-var environment=staging --workflow-var branch=main
584
+
585
+ # Show workflow details
586
+ praisonai workflow show deploy
587
+
588
+ # Create a new workflow template
589
+ praisonai workflow create my_workflow
590
+ ```
591
+
592
+ ### Hooks CLI:
593
+ ```bash
594
+ # List configured hooks
595
+ praisonai hooks list
596
+
597
+ # Show hooks statistics
598
+ praisonai hooks stats
599
+
600
+ # Create hooks.json template
601
+ praisonai hooks init
602
+ ```
603
+
604
+ ### Claude Memory Tool CLI:
605
+ ```bash
606
+ # Enable Claude Memory Tool (Anthropic models only)
607
+ praisonai "Research and remember findings" --claude-memory --llm anthropic/claude-sonnet-4-20250514
608
+ ```
609
+
514
610
  ## Using JavaScript Code
515
611
 
516
612
  ```bash
@@ -1142,7 +1238,7 @@ cd src/praisonai && uv publish
1142
1238
  - 🎨 Interactive UIs
1143
1239
  - 📄 YAML-based Configuration
1144
1240
  - 🛠️ Custom Tool Integration
1145
- - 🔍 Internet Search Capability (using Crawl4AI and Tavily)
1241
+ - 🔍 Internet Search Capability (Tavily, You.com, Exa, DuckDuckGo, Crawl4AI)
1146
1242
  - 🖼️ Vision Language Model (VLM) Support
1147
1243
  - 🎙️ Real-time Voice Interaction
1148
1244
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PraisonAI
3
- Version: 2.3.6
3
+ Version: 2.3.8
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
@@ -11,7 +11,7 @@ Description-Content-Type: text/markdown
11
11
  Requires-Dist: rich>=13.7
12
12
  Requires-Dist: markdown>=3.5
13
13
  Requires-Dist: pyparsing>=3.0.0
14
- Requires-Dist: praisonaiagents>=0.0.184
14
+ Requires-Dist: praisonaiagents>=0.0.187
15
15
  Requires-Dist: python-dotenv>=0.19.0
16
16
  Requires-Dist: instructor>=1.3.3
17
17
  Requires-Dist: PyYAML>=6.0
@@ -157,6 +157,7 @@ PraisonAI is a production-ready Multi-AI Agents framework with self-reflection,
157
157
  - 💾 **Prompt Caching** (Reduce costs & latency - OpenAI, Anthropic, Bedrock, Deepseek)
158
158
  - 🧠 **Claude Memory Tool** (Persistent cross-conversation memory - Anthropic Beta)
159
159
  - 💾 **File-Based Memory** (Zero-dependency persistent memory for all agents)
160
+ - 🔍 **Built-in Search Tools** (Tavily, You.com, Exa - web search, news, content extraction)
160
161
  - 📋 **Planning Mode** (Plan before execution - Agent & Multi-Agent)
161
162
  - 🔧 **Planning Tools** (Research with tools during planning)
162
163
  - 🧠 **Planning Reasoning** (Chain-of-thought planning)
@@ -511,6 +512,101 @@ praisonai research --query-rewrite --tools tools.py --save "Your research query"
511
512
  praisonai research -v "Your research query"
512
513
  ```
513
514
 
515
+ ### Planning Mode CLI:
516
+ ```bash
517
+ # Enable planning mode - agent creates a plan before execution
518
+ praisonai "Research AI trends and write a summary" --planning
519
+
520
+ # Planning with tools for research
521
+ praisonai "Analyze market trends" --planning --planning-tools tools.py
522
+
523
+ # Planning with chain-of-thought reasoning
524
+ praisonai "Complex analysis task" --planning --planning-reasoning
525
+
526
+ # Auto-approve plans without confirmation
527
+ praisonai "Task" --planning --auto-approve-plan
528
+ ```
529
+
530
+ ### Memory CLI:
531
+ ```bash
532
+ # Enable memory for agent (persists across sessions)
533
+ praisonai "My name is John" --memory
534
+
535
+ # Memory with user isolation
536
+ praisonai "Remember my preferences" --memory --user-id user123
537
+
538
+ # Memory management commands
539
+ praisonai memory show # Show memory statistics
540
+ praisonai memory add "User prefers Python" # Add to long-term memory
541
+ praisonai memory search "Python" # Search memories
542
+ praisonai memory clear # Clear short-term memory
543
+ praisonai memory clear all # Clear all memory
544
+ praisonai memory save my_session # Save session
545
+ praisonai memory resume my_session # Resume session
546
+ praisonai memory sessions # List saved sessions
547
+ praisonai memory checkpoint # Create checkpoint
548
+ praisonai memory restore <checkpoint_id> # Restore checkpoint
549
+ praisonai memory checkpoints # List checkpoints
550
+ praisonai memory help # Show all commands
551
+ ```
552
+
553
+ ### Rules CLI:
554
+ ```bash
555
+ # List all loaded rules (from PRAISON.md, CLAUDE.md, etc.)
556
+ praisonai rules list
557
+
558
+ # Show specific rule details
559
+ praisonai rules show <rule_name>
560
+
561
+ # Create a new rule
562
+ praisonai rules create my_rule "Always use type hints"
563
+
564
+ # Delete a rule
565
+ praisonai rules delete my_rule
566
+
567
+ # Show rules statistics
568
+ praisonai rules stats
569
+
570
+ # Include manual rules with prompts
571
+ praisonai "Task" --include-rules security,testing
572
+ ```
573
+
574
+ ### Workflow CLI:
575
+ ```bash
576
+ # List available workflows
577
+ praisonai workflow list
578
+
579
+ # Execute a workflow
580
+ praisonai workflow run deploy
581
+
582
+ # Execute with variables
583
+ praisonai workflow run deploy --workflow-var environment=staging --workflow-var branch=main
584
+
585
+ # Show workflow details
586
+ praisonai workflow show deploy
587
+
588
+ # Create a new workflow template
589
+ praisonai workflow create my_workflow
590
+ ```
591
+
592
+ ### Hooks CLI:
593
+ ```bash
594
+ # List configured hooks
595
+ praisonai hooks list
596
+
597
+ # Show hooks statistics
598
+ praisonai hooks stats
599
+
600
+ # Create hooks.json template
601
+ praisonai hooks init
602
+ ```
603
+
604
+ ### Claude Memory Tool CLI:
605
+ ```bash
606
+ # Enable Claude Memory Tool (Anthropic models only)
607
+ praisonai "Research and remember findings" --claude-memory --llm anthropic/claude-sonnet-4-20250514
608
+ ```
609
+
514
610
  ## Using JavaScript Code
515
611
 
516
612
  ```bash
@@ -1142,7 +1238,7 @@ cd src/praisonai && uv publish
1142
1238
  - 🎨 Interactive UIs
1143
1239
  - 📄 YAML-based Configuration
1144
1240
  - 🛠️ Custom Tool Integration
1145
- - 🔍 Internet Search Capability (using Crawl4AI and Tavily)
1241
+ - 🔍 Internet Search Capability (Tavily, You.com, Exa, DuckDuckGo, Crawl4AI)
1146
1242
  - 🖼️ Vision Language Model (VLM) Support
1147
1243
  - 🎙️ Real-time Voice Interaction
1148
1244
 
@@ -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
@@ -1,7 +1,7 @@
1
1
  rich>=13.7
2
2
  markdown>=3.5
3
3
  pyparsing>=3.0.0
4
- praisonaiagents>=0.0.184
4
+ praisonaiagents>=0.0.187
5
5
  python-dotenv>=0.19.0
6
6
  instructor>=1.3.3
7
7
  PyYAML>=6.0
@@ -60,6 +60,7 @@ PraisonAI is a production-ready Multi-AI Agents framework with self-reflection,
60
60
  - 💾 **Prompt Caching** (Reduce costs & latency - OpenAI, Anthropic, Bedrock, Deepseek)
61
61
  - 🧠 **Claude Memory Tool** (Persistent cross-conversation memory - Anthropic Beta)
62
62
  - 💾 **File-Based Memory** (Zero-dependency persistent memory for all agents)
63
+ - 🔍 **Built-in Search Tools** (Tavily, You.com, Exa - web search, news, content extraction)
63
64
  - 📋 **Planning Mode** (Plan before execution - Agent & Multi-Agent)
64
65
  - 🔧 **Planning Tools** (Research with tools during planning)
65
66
  - 🧠 **Planning Reasoning** (Chain-of-thought planning)
@@ -414,6 +415,101 @@ praisonai research --query-rewrite --tools tools.py --save "Your research query"
414
415
  praisonai research -v "Your research query"
415
416
  ```
416
417
 
418
+ ### Planning Mode CLI:
419
+ ```bash
420
+ # Enable planning mode - agent creates a plan before execution
421
+ praisonai "Research AI trends and write a summary" --planning
422
+
423
+ # Planning with tools for research
424
+ praisonai "Analyze market trends" --planning --planning-tools tools.py
425
+
426
+ # Planning with chain-of-thought reasoning
427
+ praisonai "Complex analysis task" --planning --planning-reasoning
428
+
429
+ # Auto-approve plans without confirmation
430
+ praisonai "Task" --planning --auto-approve-plan
431
+ ```
432
+
433
+ ### Memory CLI:
434
+ ```bash
435
+ # Enable memory for agent (persists across sessions)
436
+ praisonai "My name is John" --memory
437
+
438
+ # Memory with user isolation
439
+ praisonai "Remember my preferences" --memory --user-id user123
440
+
441
+ # Memory management commands
442
+ praisonai memory show # Show memory statistics
443
+ praisonai memory add "User prefers Python" # Add to long-term memory
444
+ praisonai memory search "Python" # Search memories
445
+ praisonai memory clear # Clear short-term memory
446
+ praisonai memory clear all # Clear all memory
447
+ praisonai memory save my_session # Save session
448
+ praisonai memory resume my_session # Resume session
449
+ praisonai memory sessions # List saved sessions
450
+ praisonai memory checkpoint # Create checkpoint
451
+ praisonai memory restore <checkpoint_id> # Restore checkpoint
452
+ praisonai memory checkpoints # List checkpoints
453
+ praisonai memory help # Show all commands
454
+ ```
455
+
456
+ ### Rules CLI:
457
+ ```bash
458
+ # List all loaded rules (from PRAISON.md, CLAUDE.md, etc.)
459
+ praisonai rules list
460
+
461
+ # Show specific rule details
462
+ praisonai rules show <rule_name>
463
+
464
+ # Create a new rule
465
+ praisonai rules create my_rule "Always use type hints"
466
+
467
+ # Delete a rule
468
+ praisonai rules delete my_rule
469
+
470
+ # Show rules statistics
471
+ praisonai rules stats
472
+
473
+ # Include manual rules with prompts
474
+ praisonai "Task" --include-rules security,testing
475
+ ```
476
+
477
+ ### Workflow CLI:
478
+ ```bash
479
+ # List available workflows
480
+ praisonai workflow list
481
+
482
+ # Execute a workflow
483
+ praisonai workflow run deploy
484
+
485
+ # Execute with variables
486
+ praisonai workflow run deploy --workflow-var environment=staging --workflow-var branch=main
487
+
488
+ # Show workflow details
489
+ praisonai workflow show deploy
490
+
491
+ # Create a new workflow template
492
+ praisonai workflow create my_workflow
493
+ ```
494
+
495
+ ### Hooks CLI:
496
+ ```bash
497
+ # List configured hooks
498
+ praisonai hooks list
499
+
500
+ # Show hooks statistics
501
+ praisonai hooks stats
502
+
503
+ # Create hooks.json template
504
+ praisonai hooks init
505
+ ```
506
+
507
+ ### Claude Memory Tool CLI:
508
+ ```bash
509
+ # Enable Claude Memory Tool (Anthropic models only)
510
+ praisonai "Research and remember findings" --claude-memory --llm anthropic/claude-sonnet-4-20250514
511
+ ```
512
+
417
513
  ## Using JavaScript Code
418
514
 
419
515
  ```bash
@@ -1045,7 +1141,7 @@ cd src/praisonai && uv publish
1045
1141
  - 🎨 Interactive UIs
1046
1142
  - 📄 YAML-based Configuration
1047
1143
  - 🛠️ Custom Tool Integration
1048
- - 🔍 Internet Search Capability (using Crawl4AI and Tavily)
1144
+ - 🔍 Internet Search Capability (Tavily, You.com, Exa, DuckDuckGo, Crawl4AI)
1049
1145
  - 🖼️ Vision Language Model (VLM) Support
1050
1146
  - 🎙️ Real-time Voice Interaction
1051
1147