ResearchPal transforms how researchers interact with scientific literature by leveraging AI to extract, analyze, and organize research papers. It helps you understand papers faster, compare multiple works, generate code implementations, and discuss complex concepts with an AI assistant.
π Smart Paper Analysis
- Extract and summarize research papers from PDFs
- Identify key takeaways, methodologies, and insights
- Classify papers into appropriate research domains
- Extract mathematical formulations and model architectures
π Advanced Search
- Find papers by content, domain, title, or specific concepts
- Semantic search that understands meaning, not just keywords
- Browse papers by research domain
π¬ AI-Powered Discussion
- Ask questions about papers and receive detailed answers
- Get explanations of complex concepts
- Explore implications and limitations of research
π Multi-Paper Comparison
- Compare methodologies, results, and architectures across papers
- Generate comprehensive comparison reports
- Identify similarities and differences between approaches
π» Code Generation
- Automatically implement paper architectures in Python
- Generate well-commented, working code
- Support for popular frameworks like PyTorch
π Content Creation
- Generate blog posts explaining papers in accessible language
- Create customized summaries with adjustable detail levels
- Export summaries to Markdown files
pip install research-palgit clone https://github.com/username/research-pal.git
cd research-pal
pip install -e .ResearchPal requires at least one of these API keys:
- OpenAI API Key (for GPT models)
- Google API Key (for Gemini models)
Run the configuration wizard:
research-pal configureresearch-pal# Summarize a paper
summarize path/to/paper.pdf
# Search your paper collection
search neural networks
# Open a paper and discuss it
open abc123
discuss What are the key innovations in this paper?| Command | Description |
|---|---|
search <query> [-n <count>] |
Search for papers |
search domain:<domain> |
Search by research domain |
search title:<title> |
Search by paper title |
search takeaway:<concept> |
Search in paper takeaways |
open <paper_id> |
Open a paper |
history [<count>] |
Show recently opened papers |
switch <number> |
Switch to a paper from history |
| Command | Description |
|---|---|
show <section> |
Show a section of current paper |
show all |
Display full paper summary |
discuss <question> |
Discuss the current paper |
add <field> <content> |
Add info to current paper |
| Command | Description |
|---|---|
summarize <pdf_path> |
Summarize a new paper |
summarize <pdf_path> --output <path> |
Save summary to path |
summarize <pdf_path> --force |
Re-summarize existing paper |
summarize <pdf_path> --code |
Generate implementation code |
summarize <pdf_path> --blog |
Generate blog post |
generate code |
Generate code for current paper |
generate blog |
Generate blog post for current paper |
export <file_path> |
Export current paper to file |
| Command | Description |
|---|---|
compare_add [<paper_id>] |
Add paper to comparison list |
compare_remove <index> |
Remove paper from comparison |
compare_list |
List papers for comparison |
compare_clear |
Clear comparison list |
compare [<aspect>] |
Generate comparison |
| Command | Description |
|---|---|
theme <theme_name> |
Change UI theme |
debug on|off |
Toggle debug mode |
clear |
Clear screen |
exit, quit |
Exit the shell |
help [<command>] |
Show help |
> summarize ~/papers/transformer.pdf> summarize path/to/paper.pdf --output ~/research/summaries/paper_summary.md> search title:Transformer
> open abc123
> compare_add
> search title:BERT
> open def456
> compare_add
> compare methodology> open abc123
> discuss What are the key innovations in this paper?> search domain:Computer VisionConfigure ResearchPal's behavior:
research-pal configureOptions include:
- LLM model selection
- Output token limits
- Database location
- Output directory
- Theme preferences
# Clone repository
git clone https://github.com/username/research-pal.git
cd research-pal
# Create virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install in development mode
pip install -e ".[dev]"pytest
pytest -v # For verbose output
pytest --cov=research_pal # For coverage informationComprehensive documentation is available in the docs directory.
See the Troubleshooting Guide for solutions to common issues.
Contributions are welcome! See CONTRIBUTING.md for guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with OpenAI and Google Gemini APIs
- Uses ChromaDB for vector storage
- Powered by Rich for terminal UI
