Skip to content

indx

Parsers turn one PDF into clean text. indx turns an entire folder into a knowledge space — with structure, relationships, and semantic metadata that AI agents and RAG systems can actually reason over.
Terminal window
pip install "indx[cloud]"
export OPENAI_API_KEY="sk-..."
indx ./docs --out ./ai-ready

A parser answers “what does this file say?” An agent asks a harder question: “where does this file belong, what does it depend on, and what surrounding context should I trust?” A folder is not a bag of files. It has shape, lineage, and implied relationships. indx keeps that map and turns it into something agents and RAG systems can use.

Directory-level

The unit of work is the directory, not the file. Nested trees, ZIPs, and mixed formats flow through one pipeline into one coherent knowledge space.

Relationship-aware

Folder hierarchy, sibling files, and cross-document references become a typed graph. An agent learns that /contracts/2024/ means something.

Semantic metadata

Document type, topics, tags, and summaries are attached as metadata, so retrieval can filter and reason instead of guessing.

Portable output

The result is a self-contained, versioned .indx archive with a readable index.json, per-chunk files, and portable embeddings. Build it once, ship it anywhere.

Bring your own stack

Parser, LLM, VLM, embedder, vector store, output: every slot is a typed interface with a sensible default. No lock-in.

Local-first

Use --offline for the zero-dependency core path, or install indx[local] for local parsing, enrichment, embeddings, and storage.