Load Script Link

Reports across multiple topics can be automated using Google Apps Script with Gemini.

git clone https://github.com/langchain-ai/open_deep_research.git cd open_deep_research pip install -r requirements.txt Use code with caution. Copied to clipboard

Setting the background parameter to True is recommended as deep reports can take several minutes to generate. 2. Open Source Deep Research (LangChain) load script

To generate a deep report using modern AI research tools, you can use the following scripts based on the platform you prefer. These "Deep Research" scripts automate multi-step web searching, data synthesis, and document drafting. 1. OpenAI Deep Research (API)

If you have access to the , you can use the o3-deep-research or o4-mini-deep-research models. This requires at least one data source, such as web search. Reports across multiple topics can be automated using

Use the provided CLI or Python entry point to start a research loop that typically runs 5–7 concurrent search iterations. 3. Bulk Deep Research (Google Apps Script)

import openai client = openai.OpenAI(api_key="your-api-key") # The model handles the multi-step research loop internally response = client.responses.create( model="o3-deep-research", messages=[ {"role": "user", "content": "Generate a deep report on the future of renewable energy in 2030."} ], tools=[{"type": "web_search_preview"}] # Required for deep research ) print(response.output_text) Use code with caution. Copied to clipboard messages=[ {"role": "user"

For a local or open-source setup, GPT-Researcher or Open Deep Research are the most popular frameworks. Clone & Setup:

Image