praisonAI 2.3.5__tar.gz → 2.3.6__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.
- {praisonai-2.3.5 → praisonai-2.3.6}/PKG-INFO +42 -13
- {praisonai-2.3.5 → praisonai-2.3.6}/PraisonAI.egg-info/PKG-INFO +42 -13
- {praisonai-2.3.5 → praisonai-2.3.6}/PraisonAI.egg-info/requires.txt +1 -1
- {praisonai-2.3.5 → praisonai-2.3.6}/README.md +40 -11
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/deploy.py +1 -1
- praisonai-2.3.6/praisonai/version.py +1 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/pyproject.toml +1 -1
- praisonai-2.3.5/praisonai/version.py +0 -1
- {praisonai-2.3.5 → praisonai-2.3.6}/PraisonAI.egg-info/SOURCES.txt +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/PraisonAI.egg-info/dependency_links.txt +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/PraisonAI.egg-info/entry_points.txt +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/PraisonAI.egg-info/top_level.txt +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/__init__.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/__main__.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/agents_generator.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/api/call.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/auto.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/chainlit_ui.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/cli.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/inbuilt_tools/__init__.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/inbuilt_tools/autogen_tools.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/inc/__init__.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/inc/config.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/inc/models.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/scheduler.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/setup/__init__.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/setup/build.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/setup/post_install.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/setup/setup_conda_env.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/setup.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/test.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/train.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/train_vision.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/agents.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/callbacks.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/chat.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/code.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/colab.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/colab_chainlit.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/components/aicoder.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/context.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/database_config.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/db.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/realtime.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/realtimeclient/__init__.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/realtimeclient/tools.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/ui/sql_alchemy.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/praisonai/upload_vision.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/setup.cfg +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/tests/test.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/tests/test_agents_playbook.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/tests/test_basic.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/tests/test_custom_tools_fix.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/tests/test_double_api_fix.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/tests/test_phase2_refactor.py +0 -0
- {praisonai-2.3.5 → praisonai-2.3.6}/tests/test_runner.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PraisonAI
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.6
|
|
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.
|
|
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
|
|
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.
|
|
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
|
-
###
|
|
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
|
-
###
|
|
306
|
+
### 6. Agent Memory (Zero Dependencies)
|
|
278
307
|
|
|
279
|
-
Enable persistent memory for agents - works out of the box without any extra packages.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
444
|
+
### 9. Hooks
|
|
416
445
|
|
|
417
446
|
Configure in `.praison/hooks.json`:
|
|
418
447
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PraisonAI
|
|
3
|
-
Version: 2.3.
|
|
3
|
+
Version: 2.3.6
|
|
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.
|
|
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
|
|
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.
|
|
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
|
-
###
|
|
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
|
-
###
|
|
306
|
+
### 6. Agent Memory (Zero Dependencies)
|
|
278
307
|
|
|
279
|
-
Enable persistent memory for agents - works out of the box without any extra packages.
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
444
|
+
### 9. Hooks
|
|
416
445
|
|
|
417
446
|
Configure in `.praison/hooks.json`:
|
|
418
447
|
|
|
@@ -60,7 +60,9 @@ 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
|
-
- 📋 **Planning Mode** (Plan before execution
|
|
63
|
+
- 📋 **Planning Mode** (Plan before execution - Agent & Multi-Agent)
|
|
64
|
+
- 🔧 **Planning Tools** (Research with tools during planning)
|
|
65
|
+
- 🧠 **Planning Reasoning** (Chain-of-thought planning)
|
|
64
66
|
|
|
65
67
|
## Using Python Code
|
|
66
68
|
|
|
@@ -104,7 +106,34 @@ Run:
|
|
|
104
106
|
python app.py
|
|
105
107
|
```
|
|
106
108
|
|
|
107
|
-
### 3.
|
|
109
|
+
### 3. Agent with Planning Mode
|
|
110
|
+
|
|
111
|
+
Enable planning for any agent - the agent creates a plan, then executes step by step:
|
|
112
|
+
|
|
113
|
+
```python
|
|
114
|
+
from praisonaiagents import Agent
|
|
115
|
+
|
|
116
|
+
def search_web(query: str) -> str:
|
|
117
|
+
return f"Search results for: {query}"
|
|
118
|
+
|
|
119
|
+
agent = Agent(
|
|
120
|
+
name="AI Assistant",
|
|
121
|
+
instructions="Research and write about topics",
|
|
122
|
+
planning=True, # Enable planning mode
|
|
123
|
+
planning_tools=[search_web], # Tools for planning research
|
|
124
|
+
planning_reasoning=True # Chain-of-thought reasoning
|
|
125
|
+
)
|
|
126
|
+
|
|
127
|
+
result = agent.start("Research AI trends in 2025 and write a summary")
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
**What happens:**
|
|
131
|
+
1. 📋 Agent creates a multi-step plan
|
|
132
|
+
2. 🚀 Executes each step sequentially
|
|
133
|
+
3. 📊 Shows progress with context passing
|
|
134
|
+
4. ✅ Returns final result
|
|
135
|
+
|
|
136
|
+
### 4. Deep Research Agent
|
|
108
137
|
|
|
109
138
|
Automated research with real-time streaming, web search, and citations using OpenAI or Gemini Deep Research APIs.
|
|
110
139
|
|
|
@@ -142,7 +171,7 @@ print(result.report)
|
|
|
142
171
|
- 🛠️ Built-in tools: web search, code interpreter, MCP, file search
|
|
143
172
|
- 🔄 Automatic provider detection from model name
|
|
144
173
|
|
|
145
|
-
###
|
|
174
|
+
### 5. Query Rewriter Agent
|
|
146
175
|
|
|
147
176
|
Transform user queries to improve RAG retrieval quality using multiple strategies.
|
|
148
177
|
|
|
@@ -177,9 +206,9 @@ result = agent.rewrite("What about cost?", chat_history=[...])
|
|
|
177
206
|
- **CONTEXTUAL**: Resolve references using conversation history
|
|
178
207
|
- **AUTO**: Automatically detect best strategy
|
|
179
208
|
|
|
180
|
-
###
|
|
209
|
+
### 6. Agent Memory (Zero Dependencies)
|
|
181
210
|
|
|
182
|
-
Enable persistent memory for agents - works out of the box without any extra packages.
|
|
211
|
+
Enable persistent memory for agents - works out of the box without any extra packages.
|
|
183
212
|
|
|
184
213
|
```python
|
|
185
214
|
from praisonaiagents import Agent
|
|
@@ -204,7 +233,7 @@ result = agent.start("My name is John and I prefer Python")
|
|
|
204
233
|
- **Entity**: People, places, organizations with attributes
|
|
205
234
|
- **Episodic**: Date-based interaction history
|
|
206
235
|
|
|
207
|
-
**Advanced Features
|
|
236
|
+
**Advanced Features:**
|
|
208
237
|
```python
|
|
209
238
|
from praisonaiagents.memory import FileMemory
|
|
210
239
|
|
|
@@ -234,7 +263,7 @@ memory.handle_command("/memory save my_session")
|
|
|
234
263
|
| `memory="sqlite"` | Built-in | SQLite with indexing |
|
|
235
264
|
| `memory="chromadb"` | chromadb | Vector/semantic search |
|
|
236
265
|
|
|
237
|
-
### 6. Rules & Instructions
|
|
266
|
+
### 6. Rules & Instructions
|
|
238
267
|
|
|
239
268
|
PraisonAI auto-discovers instruction files from your project root and git root:
|
|
240
269
|
|
|
@@ -262,7 +291,7 @@ agent = Agent(name="Assistant", instructions="You are helpful.")
|
|
|
262
291
|
# Rules are injected into system prompt automatically
|
|
263
292
|
```
|
|
264
293
|
|
|
265
|
-
**@Import Syntax
|
|
294
|
+
**@Import Syntax:**
|
|
266
295
|
```markdown
|
|
267
296
|
# CLAUDE.md
|
|
268
297
|
See @README for project overview
|
|
@@ -283,7 +312,7 @@ activation: always # always, glob, manual, ai_decision
|
|
|
283
312
|
- Follow PEP 8
|
|
284
313
|
```
|
|
285
314
|
|
|
286
|
-
### 7. Auto-Generated Memories
|
|
315
|
+
### 7. Auto-Generated Memories
|
|
287
316
|
|
|
288
317
|
```python
|
|
289
318
|
from praisonaiagents.memory import FileMemory, AutoMemory
|
|
@@ -298,7 +327,7 @@ memories = auto.process_interaction(
|
|
|
298
327
|
# Extracts: name="John", preference="Python for backend"
|
|
299
328
|
```
|
|
300
329
|
|
|
301
|
-
### 8. Workflows
|
|
330
|
+
### 8. Workflows
|
|
302
331
|
|
|
303
332
|
Create reusable multi-step workflows in `.praison/workflows/`:
|
|
304
333
|
|
|
@@ -315,7 +344,7 @@ result = manager.execute(
|
|
|
315
344
|
)
|
|
316
345
|
```
|
|
317
346
|
|
|
318
|
-
### 9. Hooks
|
|
347
|
+
### 9. Hooks
|
|
319
348
|
|
|
320
349
|
Configure in `.praison/hooks.json`:
|
|
321
350
|
|
|
@@ -57,7 +57,7 @@ class CloudDeployer:
|
|
|
57
57
|
file.write("FROM python:3.11-slim\n")
|
|
58
58
|
file.write("WORKDIR /app\n")
|
|
59
59
|
file.write("COPY . .\n")
|
|
60
|
-
file.write("RUN pip install flask praisonai==2.3.
|
|
60
|
+
file.write("RUN pip install flask praisonai==2.3.6 gunicorn markdown\n")
|
|
61
61
|
file.write("EXPOSE 8080\n")
|
|
62
62
|
file.write('CMD ["gunicorn", "-b", "0.0.0.0:8080", "api:app"]\n')
|
|
63
63
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.3.6"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.3.5"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|