praisonAI 2.3.5__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.5 → praisonai-2.3.7}/PKG-INFO +137 -13
  2. {praisonai-2.3.5 → praisonai-2.3.7}/PraisonAI.egg-info/PKG-INFO +137 -13
  3. {praisonai-2.3.5 → praisonai-2.3.7}/PraisonAI.egg-info/SOURCES.txt +1 -0
  4. {praisonai-2.3.5 → praisonai-2.3.7}/PraisonAI.egg-info/requires.txt +1 -1
  5. {praisonai-2.3.5 → praisonai-2.3.7}/README.md +135 -11
  6. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/cli.py +619 -1
  7. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/deploy.py +1 -1
  8. praisonai-2.3.7/praisonai/version.py +1 -0
  9. {praisonai-2.3.5 → praisonai-2.3.7}/pyproject.toml +1 -1
  10. praisonai-2.3.7/tests/test_cli_features.py +179 -0
  11. praisonai-2.3.5/praisonai/version.py +0 -1
  12. {praisonai-2.3.5 → praisonai-2.3.7}/PraisonAI.egg-info/dependency_links.txt +0 -0
  13. {praisonai-2.3.5 → praisonai-2.3.7}/PraisonAI.egg-info/entry_points.txt +0 -0
  14. {praisonai-2.3.5 → praisonai-2.3.7}/PraisonAI.egg-info/top_level.txt +0 -0
  15. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/__init__.py +0 -0
  16. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/__main__.py +0 -0
  17. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/agents_generator.py +0 -0
  18. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/api/call.py +0 -0
  19. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/auto.py +0 -0
  20. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/chainlit_ui.py +0 -0
  21. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/inbuilt_tools/__init__.py +0 -0
  22. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/inbuilt_tools/autogen_tools.py +0 -0
  23. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/inc/__init__.py +0 -0
  24. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/inc/config.py +0 -0
  25. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/inc/models.py +0 -0
  26. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/scheduler.py +0 -0
  27. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/setup/__init__.py +0 -0
  28. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/setup/build.py +0 -0
  29. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/setup/post_install.py +0 -0
  30. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/setup/setup_conda_env.py +0 -0
  31. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/setup.py +0 -0
  32. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/test.py +0 -0
  33. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/train.py +0 -0
  34. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/train_vision.py +0 -0
  35. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/agents.py +0 -0
  36. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/callbacks.py +0 -0
  37. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/chat.py +0 -0
  38. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/code.py +0 -0
  39. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/colab.py +0 -0
  40. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/colab_chainlit.py +0 -0
  41. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/components/aicoder.py +0 -0
  42. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/context.py +0 -0
  43. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/database_config.py +0 -0
  44. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/db.py +0 -0
  45. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/realtime.py +0 -0
  46. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/realtimeclient/__init__.py +0 -0
  47. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/realtimeclient/tools.py +0 -0
  48. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/ui/sql_alchemy.py +0 -0
  49. {praisonai-2.3.5 → praisonai-2.3.7}/praisonai/upload_vision.py +0 -0
  50. {praisonai-2.3.5 → praisonai-2.3.7}/setup.cfg +0 -0
  51. {praisonai-2.3.5 → praisonai-2.3.7}/tests/test.py +0 -0
  52. {praisonai-2.3.5 → praisonai-2.3.7}/tests/test_agents_playbook.py +0 -0
  53. {praisonai-2.3.5 → praisonai-2.3.7}/tests/test_basic.py +0 -0
  54. {praisonai-2.3.5 → praisonai-2.3.7}/tests/test_custom_tools_fix.py +0 -0
  55. {praisonai-2.3.5 → praisonai-2.3.7}/tests/test_double_api_fix.py +0 -0
  56. {praisonai-2.3.5 → praisonai-2.3.7}/tests/test_phase2_refactor.py +0 -0
  57. {praisonai-2.3.5 → 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.5
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
@@ -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.183
14
+ Requires-Dist: praisonaiagents>=0.0.184
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,7 +157,9 @@ 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
- - 📋 **Planning Mode** (Plan before execution like Cursor, Windsurf, Claude Code)
160
+ - 📋 **Planning Mode** (Plan before execution - Agent & Multi-Agent)
161
+ - 🔧 **Planning Tools** (Research with tools during planning)
162
+ - 🧠 **Planning Reasoning** (Chain-of-thought planning)
161
163
 
162
164
  ## Using Python Code
163
165
 
@@ -201,7 +203,34 @@ Run:
201
203
  python app.py
202
204
  ```
203
205
 
204
- ### 3. Deep Research Agent
206
+ ### 3. Agent with Planning Mode
207
+
208
+ Enable planning for any agent - the agent creates a plan, then executes step by step:
209
+
210
+ ```python
211
+ from praisonaiagents import Agent
212
+
213
+ def search_web(query: str) -> str:
214
+ return f"Search results for: {query}"
215
+
216
+ agent = Agent(
217
+ name="AI Assistant",
218
+ instructions="Research and write about topics",
219
+ planning=True, # Enable planning mode
220
+ planning_tools=[search_web], # Tools for planning research
221
+ planning_reasoning=True # Chain-of-thought reasoning
222
+ )
223
+
224
+ result = agent.start("Research AI trends in 2025 and write a summary")
225
+ ```
226
+
227
+ **What happens:**
228
+ 1. 📋 Agent creates a multi-step plan
229
+ 2. 🚀 Executes each step sequentially
230
+ 3. 📊 Shows progress with context passing
231
+ 4. ✅ Returns final result
232
+
233
+ ### 4. Deep Research Agent
205
234
 
206
235
  Automated research with real-time streaming, web search, and citations using OpenAI or Gemini Deep Research APIs.
207
236
 
@@ -239,7 +268,7 @@ print(result.report)
239
268
  - 🛠️ Built-in tools: web search, code interpreter, MCP, file search
240
269
  - 🔄 Automatic provider detection from model name
241
270
 
242
- ### 4. Query Rewriter Agent
271
+ ### 5. Query Rewriter Agent
243
272
 
244
273
  Transform user queries to improve RAG retrieval quality using multiple strategies.
245
274
 
@@ -274,9 +303,9 @@ result = agent.rewrite("What about cost?", chat_history=[...])
274
303
  - **CONTEXTUAL**: Resolve references using conversation history
275
304
  - **AUTO**: Automatically detect best strategy
276
305
 
277
- ### 5. Agent Memory (Zero Dependencies)
306
+ ### 6. Agent Memory (Zero Dependencies)
278
307
 
279
- Enable persistent memory for agents - works out of the box without any extra packages. Features inspired by Claude, Gemini CLI, Codex CLI, Cursor, and Windsurf.
308
+ Enable persistent memory for agents - works out of the box without any extra packages.
280
309
 
281
310
  ```python
282
311
  from praisonaiagents import Agent
@@ -301,7 +330,7 @@ result = agent.start("My name is John and I prefer Python")
301
330
  - **Entity**: People, places, organizations with attributes
302
331
  - **Episodic**: Date-based interaction history
303
332
 
304
- **Advanced Features (like Gemini CLI):**
333
+ **Advanced Features:**
305
334
  ```python
306
335
  from praisonaiagents.memory import FileMemory
307
336
 
@@ -331,7 +360,7 @@ memory.handle_command("/memory save my_session")
331
360
  | `memory="sqlite"` | Built-in | SQLite with indexing |
332
361
  | `memory="chromadb"` | chromadb | Vector/semantic search |
333
362
 
334
- ### 6. Rules & Instructions (like Cursor/Windsurf)
363
+ ### 6. Rules & Instructions
335
364
 
336
365
  PraisonAI auto-discovers instruction files from your project root and git root:
337
366
 
@@ -359,7 +388,7 @@ agent = Agent(name="Assistant", instructions="You are helpful.")
359
388
  # Rules are injected into system prompt automatically
360
389
  ```
361
390
 
362
- **@Import Syntax (like Claude Code):**
391
+ **@Import Syntax:**
363
392
  ```markdown
364
393
  # CLAUDE.md
365
394
  See @README for project overview
@@ -380,7 +409,7 @@ activation: always # always, glob, manual, ai_decision
380
409
  - Follow PEP 8
381
410
  ```
382
411
 
383
- ### 7. Auto-Generated Memories (like Windsurf Cascade)
412
+ ### 7. Auto-Generated Memories
384
413
 
385
414
  ```python
386
415
  from praisonaiagents.memory import FileMemory, AutoMemory
@@ -395,7 +424,7 @@ memories = auto.process_interaction(
395
424
  # Extracts: name="John", preference="Python for backend"
396
425
  ```
397
426
 
398
- ### 8. Workflows (like Windsurf)
427
+ ### 8. Workflows
399
428
 
400
429
  Create reusable multi-step workflows in `.praison/workflows/`:
401
430
 
@@ -412,7 +441,7 @@ result = manager.execute(
412
441
  )
413
442
  ```
414
443
 
415
- ### 9. Hooks (like Windsurf Cascade Hooks)
444
+ ### 9. Hooks
416
445
 
417
446
  Configure in `.praison/hooks.json`:
418
447
 
@@ -482,6 +511,101 @@ praisonai research --query-rewrite --tools tools.py --save "Your research query"
482
511
  praisonai research -v "Your research query"
483
512
  ```
484
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
+
485
609
  ## Using JavaScript Code
486
610
 
487
611
  ```bash
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PraisonAI
3
- Version: 2.3.5
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
@@ -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.183
14
+ Requires-Dist: praisonaiagents>=0.0.184
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,7 +157,9 @@ 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
- - 📋 **Planning Mode** (Plan before execution like Cursor, Windsurf, Claude Code)
160
+ - 📋 **Planning Mode** (Plan before execution - Agent & Multi-Agent)
161
+ - 🔧 **Planning Tools** (Research with tools during planning)
162
+ - 🧠 **Planning Reasoning** (Chain-of-thought planning)
161
163
 
162
164
  ## Using Python Code
163
165
 
@@ -201,7 +203,34 @@ Run:
201
203
  python app.py
202
204
  ```
203
205
 
204
- ### 3. Deep Research Agent
206
+ ### 3. Agent with Planning Mode
207
+
208
+ Enable planning for any agent - the agent creates a plan, then executes step by step:
209
+
210
+ ```python
211
+ from praisonaiagents import Agent
212
+
213
+ def search_web(query: str) -> str:
214
+ return f"Search results for: {query}"
215
+
216
+ agent = Agent(
217
+ name="AI Assistant",
218
+ instructions="Research and write about topics",
219
+ planning=True, # Enable planning mode
220
+ planning_tools=[search_web], # Tools for planning research
221
+ planning_reasoning=True # Chain-of-thought reasoning
222
+ )
223
+
224
+ result = agent.start("Research AI trends in 2025 and write a summary")
225
+ ```
226
+
227
+ **What happens:**
228
+ 1. 📋 Agent creates a multi-step plan
229
+ 2. 🚀 Executes each step sequentially
230
+ 3. 📊 Shows progress with context passing
231
+ 4. ✅ Returns final result
232
+
233
+ ### 4. Deep Research Agent
205
234
 
206
235
  Automated research with real-time streaming, web search, and citations using OpenAI or Gemini Deep Research APIs.
207
236
 
@@ -239,7 +268,7 @@ print(result.report)
239
268
  - 🛠️ Built-in tools: web search, code interpreter, MCP, file search
240
269
  - 🔄 Automatic provider detection from model name
241
270
 
242
- ### 4. Query Rewriter Agent
271
+ ### 5. Query Rewriter Agent
243
272
 
244
273
  Transform user queries to improve RAG retrieval quality using multiple strategies.
245
274
 
@@ -274,9 +303,9 @@ result = agent.rewrite("What about cost?", chat_history=[...])
274
303
  - **CONTEXTUAL**: Resolve references using conversation history
275
304
  - **AUTO**: Automatically detect best strategy
276
305
 
277
- ### 5. Agent Memory (Zero Dependencies)
306
+ ### 6. Agent Memory (Zero Dependencies)
278
307
 
279
- Enable persistent memory for agents - works out of the box without any extra packages. Features inspired by Claude, Gemini CLI, Codex CLI, Cursor, and Windsurf.
308
+ Enable persistent memory for agents - works out of the box without any extra packages.
280
309
 
281
310
  ```python
282
311
  from praisonaiagents import Agent
@@ -301,7 +330,7 @@ result = agent.start("My name is John and I prefer Python")
301
330
  - **Entity**: People, places, organizations with attributes
302
331
  - **Episodic**: Date-based interaction history
303
332
 
304
- **Advanced Features (like Gemini CLI):**
333
+ **Advanced Features:**
305
334
  ```python
306
335
  from praisonaiagents.memory import FileMemory
307
336
 
@@ -331,7 +360,7 @@ memory.handle_command("/memory save my_session")
331
360
  | `memory="sqlite"` | Built-in | SQLite with indexing |
332
361
  | `memory="chromadb"` | chromadb | Vector/semantic search |
333
362
 
334
- ### 6. Rules & Instructions (like Cursor/Windsurf)
363
+ ### 6. Rules & Instructions
335
364
 
336
365
  PraisonAI auto-discovers instruction files from your project root and git root:
337
366
 
@@ -359,7 +388,7 @@ agent = Agent(name="Assistant", instructions="You are helpful.")
359
388
  # Rules are injected into system prompt automatically
360
389
  ```
361
390
 
362
- **@Import Syntax (like Claude Code):**
391
+ **@Import Syntax:**
363
392
  ```markdown
364
393
  # CLAUDE.md
365
394
  See @README for project overview
@@ -380,7 +409,7 @@ activation: always # always, glob, manual, ai_decision
380
409
  - Follow PEP 8
381
410
  ```
382
411
 
383
- ### 7. Auto-Generated Memories (like Windsurf Cascade)
412
+ ### 7. Auto-Generated Memories
384
413
 
385
414
  ```python
386
415
  from praisonaiagents.memory import FileMemory, AutoMemory
@@ -395,7 +424,7 @@ memories = auto.process_interaction(
395
424
  # Extracts: name="John", preference="Python for backend"
396
425
  ```
397
426
 
398
- ### 8. Workflows (like Windsurf)
427
+ ### 8. Workflows
399
428
 
400
429
  Create reusable multi-step workflows in `.praison/workflows/`:
401
430
 
@@ -412,7 +441,7 @@ result = manager.execute(
412
441
  )
413
442
  ```
414
443
 
415
- ### 9. Hooks (like Windsurf Cascade Hooks)
444
+ ### 9. Hooks
416
445
 
417
446
  Configure in `.praison/hooks.json`:
418
447
 
@@ -482,6 +511,101 @@ praisonai research --query-rewrite --tools tools.py --save "Your research query"
482
511
  praisonai research -v "Your research query"
483
512
  ```
484
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
+
485
609
  ## Using JavaScript Code
486
610
 
487
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
@@ -1,7 +1,7 @@
1
1
  rich>=13.7
2
2
  markdown>=3.5
3
3
  pyparsing>=3.0.0
4
- praisonaiagents>=0.0.183
4
+ praisonaiagents>=0.0.184
5
5
  python-dotenv>=0.19.0
6
6
  instructor>=1.3.3
7
7
  PyYAML>=6.0