qmetrics.net

PaperQA2

Scientific document RAG with citations

PaperQA2 screenshot

PaperQA2 is a Python package for retrieval-augmented generation on PDFs, office files, code, and plain text, focused on scientific literature with in-text citations.

Overview

PaperQA2 (version 5 onward) performs high-accuracy retrieval augmented generation on local document collections, with emphasis on scientific papers. Answers are grounded in sources and include in-text citations rather than unsupported summaries.

The default agent workflow searches for candidate papers, chunks and embeds them, ranks evidence with embedding search and LLM re-ranking, summarizes chunks in query context, and generates a final cited answer. Tools can be invoked in flexible order by a language agent. Metadata enrichment pulls citation and journal information from providers such as Crossref and Semantic Scholar, with optional API keys to raise rate limits on large libraries.

Documents support multiple modalities including tables, figures, non-English text, and equations, with several PDF readers and an Microsoft Office reader. Embeddings and models route through LiteLLM, so many hosted or self-hosted LLM backends can be configured. A CLI command indexes folders of PDFs, reuses on-disk indexes, and exposes bundled quality presets.

Library usage covers manual document management without an agent, async APIs, custom prompts, external vector databases, multimodal contextual summarization, and saving or reloading indexes. Default storage lives under a configurable home directory for answers and indices.

Key features

  • Agentic search, evidence, and answer tools
  • Metadata-aware embeddings and reranking
  • Automatic paper metadata fetching
  • CLI for indexing and questioning folders
  • LiteLLM-compatible models and embeddings
  • Multimodal PDF and Office readers
  • Bundled high-quality and fast settings
  • Local full-text index with reuse

Use cases

  • Question answering over a paper library
  • Literature review with citations
  • Contradiction checking across studies
  • Summarizing scientific PDF collections

Tags

Similar software

Graphify

Codebase knowledge graph skill for AI coding assistants

Graphify maps a project’s code, docs, and media into a queryable local knowledge graph and installs as a skill for assistants such as Cursor and Claude Code.

★ 154.2k⟳ yesterdayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

PageIndex

Reasoning-based document retrieval without vector indexes

PageIndex builds a hierarchical tree index from PDFs and answers questions by having a language model reason over that structure instead of embedding chunks in a vector database.

★ 40.8k⟳ 2 days agoMIT

LangExtract

LLM-driven structured extraction with source grounding

LangExtract is a Python library that pulls structured entities from unstructured text using LLMs, with chunking for long documents and HTML review output.

★ 39.4k⟳ yesterdayApache-2.0

MCP for Blender

Model Context Protocol bridge for LLM-driven Blender control

A third-party integration pairing a Blender addon with an MCP server so AI clients can manipulate scenes, materials, and scripts in Blender 3.0+ on your machine.

★ 36k⟳ yesterdayMIT

Composio

SDK and CLI for connecting AI agents to many apps

Composio equips AI agents with large sets of pre-authenticated toolkits, per-user sessions, authentication, triggers, and a sandbox. SDKs ship for TypeScript and Python with adapters for common agent frameworks.

★ 31.3k⟳ yesterdayMIT