PageIndex
An open-source document RAG engine searches PDF section trees with an LLM, with local indexing and storage, page citations and an MIT license.

PageIndex is a document retrieval engine for developers building question answering over long PDFs, including financial reports, legal documents and technical manuals. It uses an LLM to select relevant sections from a document tree without a vector database or document chunking.
- Context-aware search. Retrieval can account for conversation history and domain knowledge when selecting sections to read.
- Verifiable answers. Page-level citations in local mode let readers check answers against the original document.
- Document chat. The Python SDK supports streaming responses and searches across multiple documents, reading selected sections for each question.
- Agent integration. Connect retrieval tools to the OpenAI Agents SDK, Claude Agent SDK or another agent framework.
The MIT-licensed open source engine handles text-based PDFs. Local mode keeps document indexing and storage on your machine, but model calls use your chosen LLM provider and key. Local storage doesn't itself mean offline inference.
PageIndex Cloud handles indexing and storage on PageIndex's servers. Its cloud capabilities include OCR and image understanding for scanned or image-rich documents, block-level citations, an MCP server and a file-level tree for corpus search. Cloud chat and retrieval remain compatible with your chosen model provider. Dedicated VPC and on-premises deployments are also available.