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

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.

  • Tree index built from PDF layout
  • LLM reasoning over the index for retrieval
  • Local SDK with pluggable chat models
PythonDetails →
★ 40.9k⟳ 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.

  • Pre-authenticated app toolkits
  • Per-user agent sessions
  • Runtime tool discovery and execution
TypeScriptCLIDetails →
★ 31.4k⟳ todayMIT

PageAgent

In-page JavaScript GUI agent for web applications

Embeddable script adds a natural-language agent to any webpage for DOM-based actions without screenshots or a Python backend.

  • Single-script or npm integration
  • DOM-based page manipulation
  • Bring-your-own LLM configuration
TypeScriptWeb, Browser extensionDetails →
★ 29.8k⟳ 16 days agoMIT
Open Source Alternative to:Claude in Chrome

AI SDK

TypeScript toolkit for AI applications and agents

The AI SDK is a provider-agnostic TypeScript library for building AI-powered applications and agents with popular UI frameworks and Node.js runtimes.

  • Unified provider API
  • Vercel AI Gateway support
  • Text and structured output
TypeScriptDetails →
★ 28.4k⟳ todayApache-2.0

Stagehand

SDK for AI-driven browser automation

Stagehand gives agents Playwright-style browser control with natural-language act, observe, and extract helpers. It ships for TypeScript, Python, and Go with local Chrome or hosted cloud browsers.

  • Playwright-style page methods
  • Natural-language act and extract
  • Self-healing action adaptation
TypeScriptCLIDetails →
★ 26.2k⟳ todayMIT

turbovec

In-process TurboQuant vector index for Python and Rust

An in-process vector index for Python and Rust that compresses embeddings to 2 or 4 bits per dimension and searches the compressed form with SIMD kernels.

  • 2-bit and 4-bit TurboQuant compression
  • SIMD search on compressed vectors
  • Incremental add and remove without rebuild
RustDetails →
★ 17.5k⟳ 1 month agoMIT