The Research Analysis Tool (RAT) is a cutting-edge Python application designed to streamline the academic research process. By automating paper discovery, summarization, and in-depth analysis, RAT empowers researchers to make data-driven decisions efficiently and effectively.
🎥 Want a quick walkthrough? Check out my YouTube video explaining RAT! Watch Here
-
Query Input & arXiv Link Generation
Users begin by entering a research query. RAT converts this query into an arXiv search URL, setting the stage for data collection. -
Web Scraping
Using therequestslibrary along withBeautifulSoup, RAT scrapes research papers from arXiv. The extracted information—comprising the title, author(s), abstract, and PDF link—is organized into a structured DataFrame. -
AI-Powered Summarization
The tool then passes the DataFrame to the Groq summarizer. Here, an AI model (e.g.,llama-3-8b-instantfrom Groq) iteratively generates concise summaries of each paper’s abstract, distilling key insights. -
Global Research Analysis
Leveraging the AI-generated summaries, along with the paper titles and PDF links, RAT performs a comprehensive analysis to:- Identify emerging trends and subfields.
- Detect research gaps and underexplored opportunities.
- Highlight critical research questions for future studies.
For this step, users can select from multiple LLMs via OpenRouter—including DeepSeek, Google Gemini 2.0 Experimental, LLaMA, Mistral, and Qwen.
-
Citation & Export
Finally, RAT ensures that every reference is properly cited using the provided PDF links, and a complete research report is generated, ready for download as a PDF.
To use RAT, you'll need API keys for both Groq and OpenRouter. Follow these steps to get set up:
-
Groq API Key
Register on the Groq site and follow their instructions to obtain your API key. -
OpenRouter API Key
Register on the OpenRouter platform and secure your API key by following their detailed guidelines.
To run RAT web app locally:
- Clone the Repository
git clone https://github.com/Devashish-dixit/RAT
cd research-analysis-tool- Install Dependencies
pip install -r requirements.txt- Run the Application
streamlit run app.py
Or you can download and use the interactive python notebook locally.
For a quick start though, simply click the Colab badge or the web app at the top to open the project in Google Colab.
Happy Researching!



