Paper2Slides: Convert Papers to Presentations in One Click
Turn research papers, reports, and documents into professional slides and posters in minutes, with universal format support and custom styling.
- Source repo
- HKUDS/Paper2Slides
- Stars
- ★ 3.9k
- Last updated
- 6mo ago
- FARS reviewed
- Nov 08, 2026
- License
- MIT
- Primary language
- Python
- FA score
- 46/100 · Major gaps
At a glance
- How it runs
- Works with
- Platform-specific
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Researchers converting a lengthy paper into conference slides without manual formatting.
- Not a fit if
- Users unwilling to obtain API keys or pay per-use model costs
- Teams still on Python 3.11 or older environments
- Maintenance
- No commits for 6+ monthslast commit 2026-05-20+0.6 ★/day over 7 days
- Source review
- 46/100 · Major gaps
What does this agent do, and when should you use it?
Paper2Slides is an open-source tool from HKUDS that automates presentation generation from documents using a four-stage pipeline (RAG indexing, content analysis, layout planning, and visual generation). It accepts PDF, Word, Excel, PowerPoint, Markdown, and more, offering both CLI and web interfaces. Users can choose built-in themes or describe custom styles in natural language, and checkpointing enables resumable progress. Requires Python 3.12 and API keys for LLM and image generation services.
Paper2Slides reads document files (PDF, Word, Excel, PowerPoint, Markdown, etc.), parses them using RAG (leveraging LightRAG and RAG-Anything) to build a searchable index, extracts figures, tables, and structure, then plans slide/poster layouts and invokes image generation models (supports OpenRouter or Google Gemini) to create visuals, finally outputting PNG and PDF files. The CLI offers options like --input, --output, --style, --length, --fast, --parallel, and saves checkpoints for resumability. The web interface uses FastAPI backend and React frontend, launched via start.sh.
- Researchers converting a lengthy paper into conference slides without manual formatting.
- Educators transforming lecture notes into engaging presentation decks with custom themes.
- Product managers turning market reports into internal pitch decks, iterating on styles quickly.
- Content creators generating posters from PDFs or Word docs for conferences or social media.
- Teams processing multiple documents in parallel to accelerate slide production.
- Users recovering from interruptions using checkpoints to resume without restarting.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
pip install -r requirements.txt
- Config files
.env.env.example
How do you install or deploy this agent?
- Clone the repo:
git clone https://github.com/HKUDS/Paper2Slides.gitandcd Paper2Slides. 2. Create conda environment:conda create -n paper2slides python=3.12 -yand activate. 3. Install dependencies:pip install -r requirements.txt. 4. Create a.envfile in thepaper2slides/directory with your API keys (see.env.example).
How do you use this agent?
CLI example: python -m paper2slides --input paper.pdf --output slides --style doraemon --length medium --fast --parallel 2. Options include --input, --output (slides or poster), --style (academic/doraemon/custom text), --fast (skip RAG indexing), --parallel (parallel generation). For web UI, run ./scripts/start.sh and visit http://localhost:5173. To resume interrupted runs, just run the same command again; checkpoints auto-detect.
Safety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Supports multiple document formats (PDF, Word, Excel, PPT, Markdown) and simultaneous processing.
- Four-stage pipeline with RAG ensures accurate content extraction and source traceability.
- Checkpoint mechanism allows resuming from any stage and rapid style iteration.
- Custom styling via natural language descriptions offers high flexibility.
- Provides both CLI and web interfaces, catering to different user preferences.
- Relies on external LLM and image generation APIs, requiring API keys and incurring costs.
- Image generation defaults to a specific model (e.g., gemini-3-pro-image-preview) which may add latency and cost.
- Requires Python 3.12 environment and possibly specific system dependencies.
- RAG indexing can be slow for long documents; fast mode compromises content extraction depth.
- Project is very new (open-sourced Dec 2025) with limited community maturity and potential maintenance risks.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Paper2Slides: Convert Papers to Presentations in One Click This agent | 46 · Major gaps | CLIFree + model costs | ★ 3.9k | 6mo ago | Python | — |
| PPT Master — AI-native PowerPoint generation | 70 · Some gaps | Agent plugin / skillFree + model costs | ★ 82k | 1d ago | Python | Claude Code |
| Paper2Any Research Workspace | 49 · Major gaps | Self-hosted serviceFree + model costs | ★ 2.8k | 3mo ago | Python | OpenAI API |
| LingShu | 69 · Some gaps | Desktop appFree + model costs | ★ 13 | 4mo ago | Rust | OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
The CLI requires input and an output location. The README says API keys and an image provider must be configured, and that reference figures are sent as inline data or image_url attachments, so some data-flow detail is disclosed. Deductions: the shown API code saves uploads under sources/uploads and serves them through a static route, while the packet shows no authentication, access controls, file-type limits, or retention cleanup guidance. There is no documented pre-generation confirmation, key-protection detail, external-call scope, rollback mechanism, or source-attribution verification. Dependencies are only partly pinned, with no security audit evidence.
The README describes a four-stage pipeline, checkpoints, and resumption, and most CLI examples broadly match the exposed options. Deductions: the README says --fast skips RAG indexing while the CLI help says “parse only, no RAG indexing (direct LLM query),” leaving the mode's boundary somewhat unclear. Only a few dependencies are pinned and no fallback is documented. The CLI logs an invalid-input error and returns; the shown API excerpt does not establish actionable error recovery messages.
The README targets research papers, reports, and general documents, and offers slides/posters, styles, length and density choices, fast mode, and CLI/Web usage. CLI arguments define the main activation conditions, while Python 3.12+ and local service setup are specified. Deductions: although broad format support is claimed, the supplied material does not define support boundaries, capacity limits, or model constraints format by format; trigger and deployment scenarios are described but do not cover wider environment differences.
The README is organized around quick start, configuration, pipeline, and code structure, with commands, an option table, checkpoint examples, and recovery scenarios. The LICENSE contains the full MIT terms. Deductions: no FAQ or detailed limitations list is shown; the dated news records cover only a small set of changes and do not describe a release process; HKUDS appears in the copyright notice and community links are provided, but there is no named maintainer, support commitment, or clear update path.
The product turns documents into previewable and exportable slides or posters and offers source linking, style choices, checkpoint recovery, and parallel generation. The README includes showcase material and typical commands. Deductions: claims about professional quality, accuracy, and time savings are primarily README assertions; the packet provides no cost, timing, quality evaluation, or human-review workflow evidence.
Some README instructions can be checked against the CLI arguments and configuration options, including length, density, fast mode, and parallelism. Deductions: many quality and accuracy claims are not supported by the shown code or evaluation material; there is no independent-source or test-result corroboration; claims, examples, and verifiable facts are not clearly distinguished.
- The shown API code stores uploaded files locally and serves them through a static route; the packet does not show authentication or a cleanup policy. Check deployment access controls and file retention before using sensitive documents.
- Image generation and LLM calls send content to the configured providers. The README discloses some transmission methods but does not provide a complete data-retention or privacy account.
- The supplied material does not include evaluation evidence for the README's accuracy, professional-quality, or speed claims.
FAQ
What API keys are required?
.env.example in the paper2slides directory.How to resume an interrupted generation?
--from-stage to force restart from a specific stage.Can I customize slide styles?
--style with built-in themes (e.g., academic, doraemon) or any natural language description (e.g., 'Studio Ghibli anime style').What input formats are supported?
Difference between fast and normal modes?
--fast) skips RAG indexing, using direct LLM queries for short documents and quick previews. Normal mode builds a full RAG index for long or complex documents.Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.