Skip to main content

research

Method
This is a method of the DeepResearchAgent class in the deep_research_agent module.
Perform a deep research query.

Signature

Parameters

str
required
The research question or topic to investigate
Optional[str]
Override the agent’s default instructions
Optional[str]
Override the default model
Optional
Summary mode (“auto”, “detailed”, “concise”) - OpenAI only
Enable web search - OpenAI only
Optional[bool]
Enable code interpreter - OpenAI only
Optional
MCP server configurations - OpenAI only
Optional
File IDs for code interpreter - OpenAI only
Enable file search - Gemini only
Optional
File search store names - Gemini only
bool
default:"True"
Enable streaming for real-time progress (default: True)

Returns

DeepResearchResponse
DeepResearchResponse containing the report, citations, and metadata

Usage

Uses

  • time.time
  • debug
  • error

Source

View on GitHub

praisonaiagents/agent/deep_research_agent.py at line 1127