Use this file to discover all available pages before exploring further.
The Deep Research Agent automates comprehensive research using OpenAI or Gemini Deep Research APIs with real-time streaming, web search, and structured citations.Agents: 1 — Specialized agent using provider deep research APIs.
from praisonaiagents import DeepResearchAgentagent = DeepResearchAgent( model="o4-mini-deep-research",)result = agent.research("What are the latest AI trends in 2025?")print(result.report)print(f"Citations: {len(result.citations)}")
# Deep research modepraisonai research "What are the latest AI trends?"# With save optionpraisonai research --save "Research quantum computing advances"
framework: praisonaitopic: Deep Researchroles: researcher: role: Deep Research Specialist goal: Conduct comprehensive research with citations backstory: You are an expert researcher llm: o4-mini-deep-research tasks: research: description: Research the latest AI trends in 2025 expected_output: Comprehensive report with citations
from praisonaiagents import DeepResearchAgentagent = DeepResearchAgent( model="o4-mini-deep-research",)# Note: DeepResearchAgent uses .research() method# For API serving, wrap in standard agent
from praisonaiagents import DeepResearchAgentagent = DeepResearchAgent( model="o4-mini-deep-research", # or "o3-deep-research")result = agent.research("What are the latest AI trends?")print(result.report)print(f"Citations: {len(result.citations)}")
result.report # Full research reportresult.citations # List of citations with URLsresult.web_searches # Web searches performedresult.reasoning_steps # Reasoning steps capturedresult.interaction_id # Session ID (for Gemini follow-ups)
from praisonaiagents import DeepResearchAgentagent = DeepResearchAgent( model="o4-mini-deep-research", instructions=""" You are a professional researcher. Focus on: - Data-rich insights with specific figures - Reliable sources and citations - Clear, structured responses """,)result = agent.research("Economic impact of AI on healthcare")