VectifyAI / PageIndex
git clone https://github.com/VectifyAI/PageIndex.git
v0.4.4 · 1d ago
🔥 on GitHub Trending today
📑 PageIndex: Document Index for Vectorless, Reasoning-based RAG
—
stars, 24h
—
stars, 7 days
+3.7k
stars, 30 days · #95
39k
★ total
3.4k
forks · 149 open issues
Star history starts 2026-10-20; the chart appears after the second daily snapshot.
LanguagePython
LicenseMIT
Created2025-04-01 (1y ago)
Last pushtoday
Watchers158
OwnerOrganization
Seen on GitHub Trending
- 2026-10-20 — #10 monthly in python · +3,696 ★
- 2026-10-20 — #21 monthly · +3,696 ★
GitHub topics
agentic-aiagentsaiai-agentscontext-engineeringinformation-retrievalllmragreasoningretrievalretrieval-augmented-generationvector-database
Links
- GitHub: github.com/VectifyAI/PageIndex
- Homepage: https://pageindex.ai
- Releases · Issues · Hacker News mentions
README excerpt
# PageIndex: Vectorless, Reasoning-based RAG Reasoning-based RAG ◦ No Vector DB, No Chunking ◦ Context-Aware Retrieval ◦ Reads Like a Human 🌐 Website • ☁️ Cloud • 📖 Docs • 📝 Blog • ✉️ Contact Updates - [Aug '26] 🔥 **PageIndex SDK**: **local** and **cloud** modes — one client to index, retrieve, and chat on your machine (with your own LLM API key) or on PageIndex Cloud. - [Aug '26] ⚡ **PageIndex Flash**: fast tree index generation for text-based PDFs, now the default indexing method in PageIndex SDK local mode. - Scale PageIndex to Millions of Documents: *PageIndex File System* is a file-level tree indexing layer that lets PageIndex reason over an entire corpus, not just a single document. - PageIndex App: a human-like document analysis agent for long professional documents. # What is PageIndex? Are you frustrated with vector database retrieval accuracy for long and complex documents? Vector-based RAG retrieves by semantic **similarity**. But **similarity ≠ relevance** — what retrieval actually needs is relevance, and relevance requires **reasoning**. On professional documents that demand contextual understanding, domain expertise, and multi-step reasoning, similarity search misses what is relevant but not similar, and returns what is similar but not relevant. Inspired by AlphaGo, **PageIndex** replaces the vector index with a **hierarchical tree index** and lets an LLM **reason** its way through it, the way a human expert turns to and reads the right section of a long report. Retrieval happens in two steps: 1. **Index**: generate a **tree-structure index** for each document 2. **Retrieve**: agentically **search that tree** with LLM reasoning ### TL;DR PageIndex is a vectorless , reasoning-based RAG engine that mirrors how humans read , delivering traceable , explainable , and context-aware retrieval, with no vector DBs or chunking . ### Compare with Vector RAG | | Vector RAG | **PageIndex** | |---|---|---| | **Index** | vector index | tree index | | **Retrieval** | semantic similarity search | LLM reasoning over the tree | | **Result** | opaque, “vibe retrieval” | traceable to explicit references | | **Context** | query embedding only | full context: conversation history, domain knowledge, etc. | It is ideal for financial reports, legal documents, regulatory filings, technical manuals, medical literature, academic textbooks, and any other long, complex professional document. # Quickstart [code] [code] ### Model Recommendations - **`index=`: a basic model is sufficient.** The tree structure itself is extracted from the document layout without an LLM; the index model only summarizes and refines it, which a basic model does well. - **`chat=`: use the best model you can afford.** The chat model searches the tree to retrieve information. See Query cost and accuracy. **Have a Claude subscription?** PageIndex can use your subscription to call Claude models through Claude Code: usage is covered by your plan, no API