Skip to main content

AI-powered academic paper synthesis tool

Project description

LitAI

AI-powered literature review assistant that understands your research questions and automatically finds papers, extracts insights, and synthesizes findings - all through natural conversation.

Why LitAI?

LitAI accelerates your research by turning hours of paper reading into minutes of focused insights:

  • Find relevant papers fast: Natural language search across millions of papers
  • Extract key insights: AI reads papers and pulls out claims with evidence
  • Synthesize findings: Ask questions across multiple papers and get cited answers
  • Build your collection: Manage PDFs locally with automatic downloads from ArXiv

Perfect for:

  • Literature reviews for research papers
  • Understanding a new field quickly
  • Finding solutions to technical problems
  • Discovering contradictions in existing work
  • Building comprehensive reading lists

💡 Tip: Use the /questions command to see research unblocking questions organized by phase - from debugging experiments to contextualizing results.

Installation

Prerequisites

  • Python 3.11 or higher
  • API key for OpenAI or Anthropic

Install with pip or uv

# Using pip
pip install litai-research

# Using uv (faster)
uv pip install litai-research

Configuration

Set your API key as an environment variable:

# For OpenAI
export OPENAI_API_KEY=sk-...

# For Anthropic
export ANTHROPIC_API_KEY=sk-ant-...
Advanced Configuration

Configure LitAI using the /config command:

# Show current configuration
/config show

# Set provider and model
/config set llm.provider openai
/config set llm.model gpt-4o-mini

# Reset to auto-detection
/config reset

Configuration is stored in ~/.litai/config.json and persists across sessions.

Quick Start

Launch the interactive interface:

litai

Two Ways to Use LitAI

→ Natural Language Mode (Recommended)

Just ask questions and let AI handle everything. Follow this workflow:

litai
# Step 1: Find papers (builds search results)
> Find papers about vision transformers

# Step 2: Add papers from search results to your collection
> Add the "Attention Is All You Need" paper to my collection

# Step 3: Analyze papers in your collection
> What are the key findings in the BERT paper?

# Step 4: Synthesize across your collection
> How does ViT compare to CNN methods in my papers?

The AI will automatically:

  • Search for relevant papers
  • Download and read PDFs
  • Extract key insights
  • Synthesize findings across multiple sources
  • Provide citations for all claims

→ Command Mode

For precise control over specific operations:

View Command Reference
# Search for papers
> /find attention mechanisms for computer vision

# Add papers to your collection (by search result number)
> /add 1 3 5

# List papers in your collection
> /list

# Extract key points from a paper
> /distill 1

# Synthesize multiple papers
> /synthesize Compare transformer and CNN architectures

# Clear the screen
> /clear

Features

Paper Discovery

  • Natural language search via Semantic Scholar API
  • View abstracts and metadata before adding to collection

Paper Management

  • Build a local collection of research papers
  • Automatic PDF download from ArXiv
  • Duplicate detection and organized storage

AI-Powered Analysis

  • Extract key claims with supporting evidence
  • Automatic section references and quotes
  • Generate comprehensive literature reviews
  • Proper inline citations (Author et al., Year)

Natural Language Interface

  • Chat-based interaction for complex queries
  • Context-aware conversations about your research
  • Multi-paper analysis and comparison

Data Storage

LitAI stores all data locally in ~/.litai/:

  • litai.db - SQLite database with paper metadata and extractions
  • pdfs/ - Downloaded PDF files
  • logs/ - Application logs for debugging

Development

Project Structure
litai/
├── src/litai/
│   ├── cli.py          # Command-line interface
│   ├── database.py     # Data persistence layer
│   ├── llm.py          # LLM client (OpenAI/Anthropic)
│   ├── papers.py       # Paper search and management
│   ├── pdf.py          # PDF processing
│   ├── synthesis.py    # Literature synthesis
│   └── tools.py        # Extraction tools
├── tests/              # Test suite
├── docs/               # Documentation
└── pyproject.toml      # Project configuration
Running Tests
# Run all tests
pytest

# Run with coverage
pytest --cov=litai

# Run specific test file
pytest tests/test_papers.py

FAQ

Why do paper searches sometimes fail?

Semantic Scholar's public API can experience high load, leading to search failures. If you encounter frequent issues:

License

This project is open source and available under the MIT License.

Acknowledgments

Support

  • Report issues: GitHub Issues
  • Logs for debugging: ~/.litai/logs/litai.log

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

litai_research-0.1.3.dev20250809.tar.gz (98.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

litai_research-0.1.3.dev20250809-py3-none-any.whl (83.2 kB view details)

Uploaded Python 3

File details

Details for the file litai_research-0.1.3.dev20250809.tar.gz.

File metadata

File hashes

Hashes for litai_research-0.1.3.dev20250809.tar.gz
Algorithm Hash digest
SHA256 c57c4de5b4054a425450528bc4b1fbf1b470d18ad1c5b4be022d3c85f5c456e0
MD5 b7bebd7a7fbc64456365ef76dba9cc27
BLAKE2b-256 5e4e3cecf2e966baa981aabab85f7e2c376c6a6d2648c2f6c6f64fc5cc998731

See more details on using hashes here.

File details

Details for the file litai_research-0.1.3.dev20250809-py3-none-any.whl.

File metadata

File hashes

Hashes for litai_research-0.1.3.dev20250809-py3-none-any.whl
Algorithm Hash digest
SHA256 91e9dfb4f98441728510a635fcee3f7c45de31bd94bb26a2fea0ecac1e2482d3
MD5 d1e12352df42c6434ef99a0df25b5fd4
BLAKE2b-256 6c07dcb74b7ca18f5b498946e56055775014d750c94b18cc8b2c77f4862db3fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page