comprehensive research, data analysis, and report generation. The system leverages modern AI technologies, including LangChain and Groq LLM, Agentic AI, to provide users with in-depth analysis on a wide range of topics, with particular strength in financial and market research. An advanced AI-powered research system that leverages multiple specialized agents to perform comprehensive research, data analysis, and report generation.
- Multi-Agent Architecture: Specialized agents for general queries, deep research, and report generation
- Web Research: Comprehensive web crawling using Tavily API with configurable depth (5-20 sources)
- Financial Analysis:
- Real-time stock and cryptocurrency data analysis
- Price trend visualization
- Comparative performance analysis
- Technical indicators and market insights
- Dark/Light Mode:
- Customizable theme preference
- Persistent theme settings
- Modern, responsive design
- Search History:
- Track and manage previous queries
- One-click reuse of past searches
- Search through history
- Clear history option
- Dynamic Charts:
- Stock price trends
- Cryptocurrency performance
- Multi-asset comparisons
- Technical analysis indicators
- Interactive Graphs:
- Zoom and pan capabilities
- Tooltips with detailed information
- Responsive design for all screen sizes
- PDF Reports:
- Professional formatting
- Embedded charts and visualizations
- Source citations
- Unique filenames for easy tracking
- Word Documents:
- Editable format
- Complete research findings
- Charts and tables included
- React 18+
- Bootstrap 5
- Context API for state management
- Responsive design components
- FastAPI
- LangChain with Groq LLM
- Matplotlib for visualizations
- ReportLab and python-docx for document generation
-
Python Environment:
- Python 3.10 or higher
- pip package manager
-
Node.js Environment:
- Node.js 14 or higher
- npm package manager
-
API Keys:
- Groq API key (for LLM)
- Tavily API key (for web search)
- Clone the repository:
git clone https://github.com/Gh-Novel/Deep_research-.git
cd Deep-research- Create and activate a virtual environment (Windows):
python -m venv venv
.\venv\Scripts\activate- Install backend dependencies:
cd backend
pip install -r requirements.txt- Create
.envfile in the backend directory:
GROQ_API_KEY=your_groq_api_key
TAVILY_API_KEY=your_tavily_api_key
- Install frontend dependencies:
cd ../frontend
npm install- Create
.envfile in the frontend directory:
REACT_APP_API_URL=http://localhost:8000
- Navigate to backend directory:
cd backend- Run the FastAPI server:
python app.pyThe backend will be available at http://localhost:8000
- Navigate to frontend directory:
cd frontend- Start the development server:
npm startThe application will open automatically at http://localhost:3000
- Enter your query in the search box
- Select research type:
- Normal: Quick analysis with 5 sources
- Deep Research: Comprehensive analysis with up to 20 sources
- Click "Start Research"
- Enter stock symbols or cryptocurrency names
- System will automatically:
- Generate price charts
- Compare performance
- Analyze trends
- Provide market insights
- View generated charts and analysis
- Access source citations
- Export options:
- Generate PDF report
- Export to Word document
- Save to search history
- Access previous searches from history panel
- Click on any history item to rerun the query
- Search through history for specific queries
- Clear individual items or entire history
deep-research/
├── backend/
│ ├── agents/ # AI agents implementation
│ │ └── app.py # Main FastAPI application
│ ├── routers/ # API endpoints
│ ├── utils/ # Helper functions
│ └── README.md
├── frontend/
│ ├── src/
│ │ ├── components/ # React components
│ │ ├── contexts/ # React contexts
│ │ ├── services/ # API services
│ │ └── assets/ # Styles and images
│ └── public/ # Static files
└── README.md
- Fork the repository
- Create a feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.

