Skip to content

manju07/deep-research-assistant

Repository files navigation

title app_file sdk sdk_version
deep-research-assistant-by-manjunath-asundi
deep_research.py
gradio
5.31.0

AI Research Assistant

Deep Research Assistant Magnifier

Deep Research Assistant is a comprehensive AI AI-powered application designed to automate and streamline the process of conducting in-depth research on any topic. By leveraging advanced language models and web search capabilities, it can plan, execute, and synthesize research with minimal user intervention, making it ideal for students, professionals, and anyone needing high-quality, structured information quickly.

🛠️ Tech Stack

  • Python 3.12+
  • Gradio (modern web interface for rapid prototyping and deployment)
  • OpenAI GPT-4o-mini (advanced AI model powering research and summarization)
  • OpenAI Agent SDK (enables seamless integration of OpenAI's agentic workflows, allowing the assistant to plan, execute, and chain tasks autonomously using OpenAI's latest agent framework)
  • Pydantic (robust data validation and settings management)
  • Asyncio (efficient asynchronous task management for concurrent operations)

✨ Features

  • Automated Research Planning:
    The assistant analyzes your query and generates three highly relevant web search terms, ensuring your research covers multiple perspectives and is both broad and deep.

  • Web Search & Summarization:
    For each search term, the assistant performs real-time web searches and summarizes the findings into concise, information-rich paragraphs, focusing on the most important insights.

  • Comprehensive Report Generation:
    All summaries are synthesized into a detailed, well-structured markdown report. The report typically spans 5-10 pages, includes an outline, a summary of findings, and a main body for clarity and readability.

  • Follow-up Suggestions:
    At the end of each report, you'll find a curated list of follow-up questions and suggested topics for further exploration, helping you continue your research journey.

  • Email Delivery:
    Optionally, receive the final report directly via email—perfect for sharing or saving for later reference.

  • Traceability:
    Each research session receives a unique trace ID, so you can review the process, debug, or audit the research steps for transparency and reproducibility.

🧭 How It Works

  1. Input a Query:
    Enter your research question or topic of interest into the application interface.

  2. Planning:
    The system analyzes your query and automatically generates three targeted web search terms that collectively address different aspects of your topic.

  3. Searching:
    Each search term is used to perform a web search. The assistant reads and summarizes the most relevant information from the search results, distilling them into concise, focused summaries.

  4. Report Writing:
    The assistant combines all summaries and synthesizes them into a detailed, markdown-formatted report. The report includes an outline, a short summary, the main content, and a list of follow-up questions.

  5. Delivery:
    The completed report is displayed within the app interface. Optionally, you can provide your email address to receive the report directly in your inbox.

  6. Traceability:
    A unique trace link is provided for each session, allowing you to review the research process and outputs at any time.

🚀 Usage

This application is built using Gradio, making it easy to launch locally or deploy on cloud platforms. The interface is user-friendly and requires no prior technical knowledge.

🏠 Running Locally

  1. Install dependencies:
    Ensure you have Python 3.12 or higher installed. Then, install all required packages using:

    uv venv
    source .venv/bin/activate
    uv add -r requirements.txt
    
  2. Start the app:
    Launch the Gradio interface with:

    uv run deep_research.py 
    
  3. Open in your browser:
    After starting, Gradio will provide a local URL (e.g., http://127.0.0.1:7860/). Open this link in your web browser to access the Deep Research Assistant.

🌐 Live Demo

Try Deep Research Assistant Now — Click Here!

No signup or installation needed. Just open the link, ask your question, and get a detailed research report in seconds!

Screenshot:
App Screenshot

📝 Example

Suppose you want to research "The impact of remote work on employee productivity."

  • Enter this query into the app.
  • The assistant will generate three focused search terms, such as "remote work productivity studies," "challenges of remote work," and "benefits of remote work for companies."
  • It will search the web for each term, summarize the findings, and then synthesize a detailed report.
  • The final report will be displayed in the app and can also be sent to your email for convenience.

For more information, troubleshooting, or to contribute, please refer to the project repository or contact the maintainer.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages