Generate comprehensive research reports on any topic in seconds.
Deep Research AI Agent is a web application that helps you research any topic and generates professional research reports automatically. Simply type in what you want to research, and our AI agents will:
- 🔍 Search the web for reliable information
- 📊 Analyze and synthesize the data
- 📝 Create a structured research report
- 📄 Let you download it in multiple formats (PDF, Word, Markdown)
No technical knowledge required! Just visit the website and start researching.
https://deep-research-ai-agent.streamlit.app/
- Dual AI Agents: One searches the web, another writes your report
- Multi-Language Support: Generate reports in English, Spanish, or German
- Model Selection: Choose models via OpenRouter
- Writing Styles: Academic, Business, Technical, or Casual
- Citation Formats: APA, MLA, or IEEE standards
- Word Count Control: 500 to 5000 words
- Multiple Export Formats: PDF, Word, Markdown, JSON, or Plain Text
- No Login Required: Start researching immediately
- Progress Tracking: Real-time updates as your research generates
- Mobile Responsive: Works on phones, tablets, and desktops
- Deep Research Mode: For comprehensive, academic-style papers
- Model Selection: Choose from multiple models
- Duplicate Detection: Automatically removes redundant content
- Memory System (ChromaDB): Reduces API calls by 30-60%, speeds up responses by 20-40% on repeated topics
- Orchestrated with LangGraph as a two‑node state machine:
research→ gathers sources via Tavily (with domain filtering)draft→ composes structured Markdown based on style/language/citations
- Post‑processing normalizes lists, paragraph spacing, and references across PDF/Word/Markdown/Text.
- Optional vector memory stores past research with smart TTL (3 days for news, 30 days for evergreen content)
- 📚 Students: Research papers, essays, assignments
- 📰 Writers: Article research, fact-checking, content ideas
- 🎓 Educators: Lesson planning, curriculum development
- 💡 Anyone Curious: Learn about any topic quickly!
-
Clone the repository:
git clone https://github.com/saksham-jain177/AI-Agent-based-Deep-Research.git cd AI-Agent-based-Deep-Research -
Install Python 3.8+ and dependencies:
pip install -r requirements.txt
-
Get API keys:
- Tavily API - For web search (free tier available)
- OpenRouter API - For AI models
-
Create
.envfile:TAVILY_API_KEY=your_tavily_key_here OPENROUTER_API_KEY=your_openrouter_key_here # Optional: Enable vector memory for faster repeated searches ENABLE_VECTOR_STORE=true # Optional: For feedback system (bot email sends to itself) [email protected] # Bot Gmail account FEEDBACK_BOT_PASSWORD=16_char_app_password # Gmail App Password (not regular password) -
Run the app:
streamlit run app.py
- Frontend: Streamlit (Python web framework)
- AI Framework: LangChain & LangGraph
- Web Search: Tavily API
- LLM Provider: OpenRouter
- Document Generation: ReportLab (PDF), python-docx (Word)
AI-Agent-based-Deep-Research/
├── app.py # Main Streamlit application
├── main.py # Orchestrates research workflow
├── research_agent.py # Web search functionality
├── draft_agent.py # AI report generation
├── requirements.txt # Python dependencies
└── .env # API keys (create this)
If you'd like to deploy your own version of this app with customizations with Streamlit Cloud :
- Fork this repository
- Visit share.streamlit.io
- Connect your GitHub account
- Deploy your forked repo
- Add API keys in Streamlit's Secrets (Settings → Secrets)
We welcome contributions! Here's how you can help:
- Report Bugs: Open an issue describing the problem
- Suggest Features: Share your ideas in discussions
- Submit Code: Fork, modify, and create a pull request
- Improve Docs: Help make this README even better
- Share: Tell others about this project!
# Clone your fork
git clone https://github.com/YOUR_USERNAME/AI-Agent-based-Deep-Research.git
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install in development mode
pip install -r requirements.txt
# Make your changes and test
streamlit run app.pyQ: Do I need coding knowledge?
A: No. Open the web app, enter a query, and click Run.
Q: Can I use this for academic work?
A: Yes, but always verify sources and cite appropriately. This is a research tool, not a substitute for critical thinking.
Q: How accurate is the information?
A: We search reputable sources and filter out social media. However, always fact-check important information.
Q: Can I customize the AI model?
A: Yes. Choose a model from the sidebar (OpenRouter).
Q: Is my data private?
A: We don't store your searches. API providers may have their own policies.
MIT License - Use freely for personal or commercial projects!
- GitHub Issues: Report bugs or request features
- Discussions: Join the community
⭐ Star this repo if you find it helpful!