Deep Research Agent • AI Agent SDK
Deep Research Agent Module
deep_research_agent
AI Agent
Deep Research Agent Module
This module provides the DeepResearchAgent class for automating complex research workflows using Deep Research APIs from multiple providers:
- OpenAI: o3-deep-research, o4-mini-deep-research (via Responses API)
- Gemini: deep-research-pro (via Interactions API)
The agent automatically detects the provider based on the model name and uses the appropriate API.
Example:
from praisonaiagents import DeepResearchAgent
# OpenAI Deep Research
agent = DeepResearchAgent(
name="Research Assistant",
model="o3-deep-research",
instructions="You are a professional researcher..."
)
# Gemini Deep Research
agent = DeepResearchAgent(
name="Research Assistant",
model="deep-research-pro",
instructions="You are a professional researcher..."
)
result = agent.research("What are the economic impacts of AI on healthcare?")
print(result.report)
for citation in result.citations:
print(f"- {citation.title}: {citation.url}")Import
from praisonaiagents.agent import deep_research_agentClasses
Citation
Represents a citation in the research report.
ReasoningStepRepresents a reasoning step in the research process.
WebSearchCallRepresents a web search call made during research.
CodeExecutionStepRepresents a code execution step during research.
MCPCallRepresents an MCP tool call during research.
FileSearchCallRepresents a file search call (Gemini-specific).
DeepResearchResponseComplete response from a Deep Research query.
ProviderSupported Deep Research providers.
DeepResearchAgentAgent for performing deep research using multiple provider APIs.