An AI-powered research assistant built with Python, OpenAI Agents SDK, and Gradio that autonomously plans research, performs parallel web searches, synthesizes findings into a structured report, and emails the final results.
This project demonstrates an autonomous multi-stage research workflow where specialized AI agents collaborate to answer complex research questions.
Instead of relying on a single LLM response, the system decomposes the problem into multiple research tasks, executes searches concurrently, generates a comprehensive report, and automatically delivers the results via email.
docker build -t deep-research-agent .docker run -p 7860:7860 ^
-e OPENAI_API_KEY=YOUR_OPENAI_API_KEY ^
deep-research-agentOpen
http://localhost:7860
- Autonomous research planning
- Parallel web search execution
- AI-powered report generation
- Email delivery of research reports
- Interactive Gradio web interface
- OpenAI tracing for workflow observability
- Modular agent architecture
User Question
│
▼
Planner Agent
│
▼
Search Plan
│
▼
Multiple Search Agents
│
▼
Collected Results
│
▼
Writer Agent
│
▼
Research Report
│
▼
Email Agent
│
▼
Delivered Report
- Python
- OpenAI Agents SDK
- OpenAI API
- Gradio
- Pydantic
- Python Dotenv
- Requests
Clone the repository
git clone https://github.com/NeelPawar-01/deep-research-agent.gitMove into the project
cd deep-research-agentInstall dependencies
pip install -r requirements.txtCreate a .env file
OPENAI_API_KEY=your_api_keyRun the application
python app.py- Enter a research question.
- The Planner Agent creates a research strategy.
- Search Agents perform parallel information gathering.
- The Writer Agent synthesizes the findings into a structured report.
- The Email Agent sends the completed report.
- The user receives both the report in the UI and via email.
- Autonomous AI Agents
- Agent Orchestration
- Parallel Task Execution
- OpenAI Agents SDK
- LLM Workflow Design
- Research Automation
- Python Application Development
- Async Programming
- Prompt Engineering
- Support for local LLMs
- Retrieval-Augmented Generation (RAG)
- PDF export
- Citation management
- Multi-provider LLM support
- Persistent research history
This project demonstrates how autonomous AI agents can collaborate to perform complex research tasks through planning, execution, synthesis, and automated report delivery.
