latte-review-guide

Automate systematic literature reviews with LatteReview AI agents

191 stars

Best use case

latte-review-guide is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Automate systematic literature reviews with LatteReview AI agents

Teams using latte-review-guide should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/latte-review-guide/SKILL.md --create-dirs "https://raw.githubusercontent.com/wentorai/research-plugins/main/skills/research/paper-review/latte-review-guide/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/latte-review-guide/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How latte-review-guide Compares

Feature / Agentlatte-review-guideStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Automate systematic literature reviews with LatteReview AI agents

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# LatteReview Guide

## Overview

LatteReview is a low-code Python package that uses AI agents to automate systematic literature reviews. It handles title/abstract screening, full-text assessment, data extraction, and PRISMA-compliant reporting — tasks that typically consume hundreds of researcher-hours. Supports multiple LLM backends (Anthropic, OpenAI, local models).

## Installation

```bash
pip install lattereview
```

## Core Workflow

### Step 1: Initialize Review

```python
from lattereview import ReviewProject

# Create a new review project
project = ReviewProject(
    name="ML in Medical Imaging Review",
    research_question="What deep learning architectures are used for "
                      "medical image segmentation?",
    inclusion_criteria=[
        "Uses deep learning for medical image segmentation",
        "Published in peer-reviewed venue",
        "Reports quantitative evaluation metrics",
    ],
    exclusion_criteria=[
        "Review/survey articles",
        "Non-English publications",
        "Conference abstracts only",
    ],
)
```

### Step 2: Import Papers

```python
# Import from various sources
project.import_papers("scopus_export.csv", source="scopus")
project.import_papers("pubmed_export.csv", source="pubmed")

# Or from a DataFrame
import pandas as pd
df = pd.read_csv("papers.csv")
project.import_from_dataframe(df,
    title_col="title",
    abstract_col="abstract",
    year_col="year",
)

print(f"Imported {project.total_papers} papers")
```

### Step 3: AI Screening

```python
from lattereview.agents import ScreeningAgent

# Configure screening agent
screener = ScreeningAgent(
    llm_provider="anthropic",
    model="claude-sonnet-4-20250514",
    criteria=project.inclusion_criteria,
    exclusion=project.exclusion_criteria,
)

# Title/abstract screening
results = screener.screen(
    project.papers,
    mode="title_abstract",
    confidence_threshold=0.7,
)

# Results include: decision, confidence, reasoning
for paper in results[:3]:
    print(f"{paper.title}")
    print(f"  Decision: {paper.decision} "
          f"(confidence: {paper.confidence:.2f})")
    print(f"  Reason: {paper.reasoning}")
```

### Step 4: Data Extraction

```python
from lattereview.agents import ExtractionAgent

extractor = ExtractionAgent(
    llm_provider="anthropic",
    fields={
        "architecture": "Deep learning architecture used",
        "dataset": "Medical imaging dataset",
        "modality": "Imaging modality (CT, MRI, X-ray, etc.)",
        "dice_score": "Best Dice similarity coefficient reported",
        "sample_size": "Number of images/patients",
    },
)

extracted = extractor.extract(project.included_papers)

# Export structured data
extracted.to_csv("extracted_data.csv")
```

### Step 5: Generate Report

```python
# PRISMA flow diagram
project.generate_prisma_diagram("prisma.png")

# Summary statistics
summary = project.summarize()
print(f"Screened: {summary['screened']}")
print(f"Included: {summary['included']}")
print(f"Excluded: {summary['excluded']}")
```

## Configuration

```python
# Use different LLM providers
screener = ScreeningAgent(
    llm_provider="openai",
    model="gpt-4o",
)

# Local models via Ollama
screener = ScreeningAgent(
    llm_provider="ollama",
    model="llama3",
    base_url="http://localhost:11434",
)
```

## Dual-Reviewer Mode

```python
# Simulate dual-reviewer screening for reliability
results = screener.dual_screen(
    project.papers,
    models=["claude-sonnet-4-20250514", "gpt-4o"],
    agreement_threshold=0.8,
)

# Papers with disagreement flagged for human review
conflicts = [p for p in results if p.agreement < 0.8]
print(f"{len(conflicts)} papers need human adjudication")
```

## Use Cases

1. **Systematic reviews**: PRISMA-compliant literature reviews
2. **Scoping reviews**: Rapid evidence mapping
3. **Meta-analysis preparation**: Structured data extraction
4. **Grant applications**: Quick literature landscape assessment

## References

- [LatteReview GitHub](https://github.com/PouriaRouzrokh/LatteReview)
- [LatteReview Documentation](https://lattereview.readthedocs.io/)
- Rouzrokh, P. et al. (2024). "LatteReview: AI-Assisted Systematic Literature Reviews."