Skip to content

FRANK-RAN/Research-Agent

Repository files navigation

Research Agent

A powerful research assistant that helps you analyze and interact with academic papers from various sources including arXiv and Zotero.

Features

  • Fetch and analyze papers from arXiv
  • Import and process papers from Zotero
  • automatically generate literature review survey to answer research questions
  • PDF processing and text extraction
  • Streamlit-based web interface
  • RESTful API for programmatic access

Prerequisites

  • Python 3.11 or higher
  • OpenAI API key
  • LlamaParse API Key

Installation

  1. Clone the repository:
git clone https://github.com/FRANK-RAN/Research-Agent
cd Research-Agent
  1. Create and activate a virtual environment:

On Linux/Mac:

python -m venv .literature
source .literature/bin/activate  

On Windows:

python -m venv .literature
.literature\Scripts\activate.bat  
  1. Install dependencies:
pip install -r requirements.txt
  1. Set up environment variables: Update the .env file in the root directory with:
OPENAI_API_KEY=your_api_key_here
LLAMA_CLOUD_API_KEY=your_api_key_here

Usage

Starting the Application

On Linux/Mac:

./start_app.sh

On Windows:

.\start_app.bat

This will start:

Stopping the Application

On Linux/Mac:

./stop_app.sh

On Windows:

.\stop_app.bat

Project Structure

  • src/ - Source code directory
  • research_output/ - Research analysis outputs
  • streamlit_app.py - Streamlit frontend
  • web_api.py - FastAPI backend

API Documentation

The backend API provides endpoints for:

  • Paper fetching and processing
  • Chat interactions
  • Document analysis
  • Search functionality

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

This project is licensed under the terms of the LICENSE file in the root directory of this repository.

Support

For support, please open an issue in the repository or contact the maintainers.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published