Ross ROSS = Recommend OSS · open-source software intelligence for agents

parthsarthi03/raptor

The official implementation of RAPTOR: Recursive Abstractive Processing for Tree-Organized Retrieval observed · 2026-08-28

github.com/parthsarthi03/raptor · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

25/100

  • Activity 0
  • Release rhythm 35
  • Longevity 65

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 919
  • days_rel: n/a
  • days_push: 729
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1750 stars · 234 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

The official Python implementation of RAPTOR (Recursive Abstractive Processing for Tree-Organized Retrieval), a retrieval-augmented generation method from an arXiv paper. It recursively embeds, clusters, and summarizes document chunks into a multi-level tree, then retrieves from that tree at query time to answer questions with context spanning different levels of abstraction.

Use cases

  • improve rag retrieval over long documents
  • answer questions that require multi-step reasoning across a whole document
  • build recursive hierarchical summaries of text for retrieval
  • implement tree-organized retrieval in python
  • get document-level context instead of short contiguous chunks
  • question answering on benchmarks like QuALITY with GPT-4

When to choose

  • You need retrieval that captures holistic document context rather than isolated chunks
  • You are doing long-document or multi-hop question answering where standard RAG underperforms
  • You want a programmable RAG layer where you can swap in custom summarization, embedding, or QA models

When to avoid

  • You need a production RAG platform with ingestion pipelines, connectors, and UIs out of the box
  • Your corpus is small or short documents where plain chunk retrieval already suffices and tree-building LLM costs are not justified
  • You want a no-code turnkey search product rather than a library to integrate into your code

Facets

library · maturity active

rag machine-learning nlp search-engine artificial-intelligence machine-learning large-language-models python retrieval-augmented-generation tree-structured-retrieval recursive-summarization hierarchical-clustering question-answering long-document-retrieval research-paper-implementation document-indexing natural-language-processing search

6 sources

Member repositories

RepositoryRoleHealth v2
parthsarthi03/raptormain25

For agents

markdown · JSON · MCP: product_card(name="parthsarthi03/raptor")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem