Skip to content

Commit 46ca1f9

Browse files
committed
feat: add Deep Research Agent support with OpenAI and Gemini integration
1 parent 10ec948 commit 46ca1f9

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ PraisonAI is a production-ready Multi-AI Agents framework with self-reflection,
5353
- 🛠️ 100+ Custom Tools
5454
- 📄 YAML Configuration
5555
- 💯 100+ LLM Support
56+
- 🔬 **Deep Research Agents** (OpenAI & Gemini)
5657

5758
## Using Python Code
5859

@@ -96,6 +97,44 @@ Run:
9697
python app.py
9798
```
9899

100+
### 3. Deep Research Agent
101+
102+
Automated research with real-time streaming, web search, and citations using OpenAI or Gemini Deep Research APIs.
103+
104+
```python
105+
from praisonaiagents import DeepResearchAgent
106+
107+
# OpenAI Deep Research
108+
agent = DeepResearchAgent(
109+
model="o4-mini-deep-research", # or "o3-deep-research"
110+
verbose=True
111+
)
112+
113+
result = agent.research("What are the latest AI trends in 2025?")
114+
print(result.report)
115+
print(f"Citations: {len(result.citations)}")
116+
```
117+
118+
```python
119+
# Gemini Deep Research
120+
from praisonaiagents import DeepResearchAgent
121+
122+
agent = DeepResearchAgent(
123+
model="deep-research-pro", # Auto-detected as Gemini
124+
verbose=True
125+
)
126+
127+
result = agent.research("Research quantum computing advances")
128+
print(result.report)
129+
```
130+
131+
**Features:**
132+
- 🔍 Multi-provider support (OpenAI, Gemini, LiteLLM)
133+
- 📡 Real-time streaming with reasoning summaries
134+
- 📚 Structured citations with URLs
135+
- 🛠️ Built-in tools: web search, code interpreter, MCP, file search
136+
- 🔄 Automatic provider detection from model name
137+
99138
## Using No Code
100139

101140
### Auto Mode:

0 commit comments

Comments
 (0)