PageIndex is a vectorless, reasoning-based retrieval-augmented generation system designed to overcome the limitations of traditional vector database approaches for professional document analysis. Rather than relying on semantic similarity search through vector embeddings, PageIndex uses large language models to reason over hierarchical tree-structured indexes of documents, enabling context-aware and explainable retrieval that mirrors how human experts navigate complex materials.
The core innovation of PageIndex is its two-step retrieval process. First, it generates a table-of-contents-style tree structure index from long documents, organizing content into natural sections rather than artificial chunks. Second, it performs agentic reasoning-based retrieval through tree search, where LLMs traverse and reason about the document structure to locate relevant information. This approach eliminates the need for vector databases and chunking while providing full traceability and explainability, as every retrieval result is grounded in explicit page and section references.
PageIndex addresses a fundamental problem in RAG systems: the distinction between similarity and relevance. Traditional vector-based RAG prioritizes semantic similarity, which often fails to capture true relevance in professional documents requiring contextual understanding and multi-step reasoning. The system is particularly suited for financial reports, legal documents, regulatory filings, technical manuals, medical literature, academic textbooks, and other long, complex professional documents where domain expertise and contextual reasoning are critical.
The repository provides multiple deployment options. Users can self-host PageIndex locally using the open-source code with standard PDF parsing, integrate it via MCP or API with the cloud service for enhanced OCR and tree building, or deploy enterprise solutions with dedicated or private infrastructure. The project includes practical examples such as an agentic vectorless RAG demonstration using OpenAI Agents SDK, along with Jupyter notebooks for vectorless RAG and vision-based RAG workflows that work directly over PDF page images without OCR.
PageIndex has achieved notable performance benchmarks, reaching 98.7 percent accuracy on FinanceBench, a financial document question-answering benchmark, substantially outperforming vector RAG solutions on professional document analysis tasks. The system is available as a ChatGPT-style chat platform at chat.pageindex.ai, with comprehensive documentation, tutorials, and blog resources available at pageindex.ai and docs.pageindex.ai. The project is classified across multiple domains including vector indexing, unstructured data processing, information retrieval, embeddings, vector search, semantic search, document processing, AI frameworks, data management, and knowledge bases.