
PageIndex
Vectorless RAG engine that finds answers by reasoning over a document's page tree
- Pricing
- Open source
- Platforms
- API, self-hosted, Web
- GitHub stars
- 40.5K
- Last commit
- 1 day ago
- Language
- Python
- License
- MIT
About PageIndex
PageIndex is an open-source AI tool for files and documents. It is available on API, self-hosted and Web.
Where standard retrieval ranks chunks by similarity, PageIndex builds a tree of a long document and lets a model reason through it to the sections that matter. The authors argue that similarity is not the same as relevance on dense professional documents, and say this avoids embeddings, chunking and a vector database. The site claims 98.7% on FinanceBench.
The newest pieces on the site are a Page Search API that finds the relevant pages for a question in about a second so a model reads only those, and a Page Extract API that fills a JSON Schema from a PDF. The project reports up to 97% lower token cost for the search API. A File System layer extends the tree across a whole corpus.
The Python SDK has local mode, using your own LLM key, and cloud mode, and the code is MIT licensed.
What it does
- Tree-based indexing
- Builds a navigable structure from long documents.
- Page Search API
- Returns only the pages relevant to a question.
- Page Extract API
- Pulls fields out of PDFs using a JSON Schema.
- Local and cloud modes
- SDK runs on your machine or on PageIndex Cloud.
- Traceable retrieval
- Answers point back to pages in the source.
Good for
- Answer questions over long financial filings
- Extract holdings tables from PDFs
- Cut LLM token use on document QA
- Index a large collection of reports
Pricing
Open source
MIT; cloud APIs also offered
Prices change. Check pageindex.ai before you buy.
PageIndex FAQ
Does it need a vector database?
No, it is described as vectorless.
Can I run it locally?
Yes, the SDK has a local mode with your own LLM API key.
What are the headline claims?
98.7% on FinanceBench and 97% lower token cost for Page Search, per the project.
Is PageIndex free?
Yes. PageIndex is open source, so you can use and self-host it for free.
What are the best alternatives to PageIndex?
The closest alternatives to PageIndex are graphify, JavaGuide, claude-mem, ragflow and anything-llm.
Alternatives to PageIndex

Code knowledge graph that gives coding assistants shared, source-linked context
- Freemium
- Open-source agent
- 149K GitHub stars
- Knowledge and memory

Chinese-language Java backend interview guide with an AI application section
- Free
- Open-source agent
- 160K GitHub stars
- Knowledge and memory

Memory for coding agents that saves decisions and fixes, with optional hosted sync
- Freemium
- Open-source agent
- 118K GitHub stars
- Knowledge and memory

Open-source RAG engine with a document pipeline, hybrid search and visual agent workflows
- Freemium
- Open-source agent
- 94.3K GitHub stars
- Knowledge and memory

Private on-device AI assistant for chatting with documents, with local models
- Free
- Open-source agent
- 68.3K GitHub stars
- Personal assistants

Long-term memory layer for AI agents that stores typed facts and consolidates beliefs
- Open source
- Open-source agent
- 61.4K GitHub stars
- Knowledge and memory