This repository contains an intelligent AI-powered agent capable of generating in-depth, structured reports on any given topic. Simply provide a subject of interest, and if required, the agent will ask you few questions for better clarifications, and then the agent will research it comprehensively and deliver a detailed report straight to your email inbox and display it in the web UI.
- 🔍 Accepts any topic as input
- 🤔 Asks clarifying questions to refine the research
- 🧩 Plans and executes multiple web searches for comprehensive coverage
- 📄 Generates detailed, well-organized reports with clear sections
- 📧 Sends the report directly to the specified email address and shows it in the UI
- 🗂️ Provides links to relevant sources and further reading
- ⚡ Fast, efficient, and fully automated
- Topic Input: Enter your research topic in the web interface.
- Clarification: The agent asks up to 3 clarifying questions to better understand your needs.
- Planning: The agent generates 3 focused web search queries with reasons for each.
- Research: Each query is used to perform a web search and generate a summary. 65AC
- Evaluation: Summaries are evaluated for quality and relevance; low-quality results are retried up to 3 times.
- Report Writing: The best summaries are compiled into a structured, detailed report.
- Delivery: The report is emailed to you and displayed in the Gradio UI.
Perfect for market research, academic exploration, competitive analysis, or simply satisfying your curiosity — all hands-free via email delivery and web interface.
- Visit the AI Deep Research Agent web interface.
- Provide your OpenAI API & Gemini API key to authenticate your requests.
- Provide a clear and specific topic for research.
- Answer the clarifying questions to help the agent focus its research (or leave blank to skip).
- Enter your email address where you want to receive the report.
- Submit your request and wait for the report to arrive in your inbox and appear in the UI.
- Python 3.12+
- OpenAI SDK (Agents, Tools, Async workflows)
- Gradio for the web interface
- SendGrid for email delivery
This project is licensed under the MIT License. Feel free to use, modify, and distribute it as per the terms of the license.
If you have any questions, suggestions, or want to hire Darshan, please feel free to reach out via Email or LinkedIn.
Email: darshanramani1@gmail.com