ScholarLens is a Streamlit-based AI research assistant that streamlines literature review, research paper summarization, and comparison. It leverages Agentic AI workflows and Agentic RAG (via the Agno library) to let you search, analyze, summarize, and compare academic papers in a deeply interactive way.
-
Search latest research papers from arXiv by topic.
-
Summarizes each paper with:
- Problem statement
- Key contributions
- Summary of findings
-
Export results as JSON.
-
Upload any PDF research paper.
-
Instant Glance Mode:
- Extracts title, model, dataset, evaluation metrics, and structured summary.
-
Guru Mode:
- Section-wise summarization (Abstract, Methodology, Results, etc.) in bullet-point JSON format.
-
Upload a paper and query it conversationally.
-
Uses Agno's Agentic RAG flow:
- Gemini Embeddings for semantic chunk representation.
- Pinecone VectorDB for fast similarity search.
- Gemini LLM as the reasoning engine.
-
Supports persistent chat + search history for contextual Q&A.
-
Upload two or three research papers (PDF).
-
AI-generated Markdown comparison table:
- Problem statement
- Methodology
- Datasets used
- Model performance and accuracy
- Frontend: Streamlit
- Agentic Framework: Agno for multi-step RAG orchestration
- LLM Providers: Google Gemini, Groq
- Vector Database: Pinecone
- Embeddings: Gemini Embeddings (
models/gemini-embedding-001) - PDF Processing: PyMuPDF (fitz)
- Agent Framework (ArXiv & Summarization): CrewAI
- APIs: arXiv API, Pinecone API
- Environment Management: python-dotenv
ScholarLens/
├── main.py # Entry point
├── requirements.txt # Dependencies
├── comparision/ # Paper comparison module
├── rag/ # Agentic RAG implementation
├── search/ # Research paper search tools
├── summarization/ # Summarization modules
├── utils/ # Utilities (memory, DB patches)
└── assets/ # Images & static assets
1️⃣ Clone the repository
git clone https://github.com/your-username/scholarlens.git
cd scholarlens2️⃣ Create a virtual environment
python -m venv venv
source venv/bin/activate # On Mac/Linux
venv\Scripts\activate # On Windows3️⃣ Install dependencies
pip install -r requirements.txt4️⃣ Set up environment variables
Create a .env file in the root directory:
GOOGLE_API_KEY=your_google_gemini_api_key
GROQ_API_KEY=your_groq_api_key
PINECONE_API_KEY=your_pinecone_api_keyRun the app:
streamlit run app.pyIn the sidebar, select:
- ArXiv Smart Search → Search papers by topic.
- AI Paper Companion → Upload PDF for summarization.
- Agentic RAG Chatbot → Chat with a paper using Agno's RAG.
- Compare Research Papers → Compare two research PDFs.
Check out the demo: https://scholarlens.streamlit.app/
MIT License © 2025 ScholarLens AI