Skip to main content
Run provider-native deep research — multi-step web search, reasoning, and cited reports — with the DeepResearchAgent.
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.

Quick Start

1

Simple Usage

Pick a deep-research model and run a query.
2

With Custom Instructions

Steer the researcher and inspect citations.

How It Works

Workflow

  1. Receive research query
  2. Execute web searches via provider API
  3. Perform multi-step reasoning
  4. Generate comprehensive report with citations

Setup

Run — Python

Run — CLI

Run — agents.yaml

Serve API

OpenAI Deep Research

Gemini Deep Research

Features

Multi-Provider

Supports OpenAI, Gemini, and LiteLLM providers.

Real-time Streaming

See reasoning summaries and web searches as they happen.

Structured Citations

Get citations with titles and URLs.

Auto Detection

Provider automatically detected from model name.

Streaming Output

Streaming is enabled by default. You will see:
  • 💭 Reasoning summaries
  • 🔎 Web search queries
  • Final report text

Response Structure

Available Models

Configuration Options

With Custom Instructions

Accessing Citations


Monitor / Verify

Cleanup

Features Demonstrated

Best Practices

o3-deep-research and o4-mini-deep-research route to OpenAI; deep-research-pro routes to Gemini. The provider is auto-detected from the model name, so pick the one whose API key you have set.
Deep research runs multiple search-and-reason cycles. Raise max_wait_time for broad topics so the agent isn’t cut off mid-report.
Every result carries citations with titles and URLs. Render them so users can verify claims — that traceability is the whole point of deep research.
For quick, cheap look-ups, a plain Agent with a search tool is faster and cheaper. Reserve DeepResearchAgent for questions that genuinely need multi-step reasoning.
A lighter search-tool research recipe using a plain Agent.
Single-pass web search for quick answers.