LlamaIndex helps developers ingest private data, index it, and query it through LLMs. It offers connectors, retrieval APIs, and hundreds of integration packages.
Overview
LlamaIndex is an open toolkit for building applications that combine large language models with your own documents and databases. The company behind it also markets LlamaParse for document parsing, but this framework remains a standalone orchestration layer you can adopt with or without that cloud service.
At a high level, the library ingests varied sources such as APIs, PDFs, office files, and SQL, structures them into indices or graphs, and exposes retrieval interfaces that return relevant context for a prompt. Integrations cover many LLM, embedding, and vector store providers through optional packages layered on a small core module.
Beginners can wire ingestion and querying in a handful of lines, while advanced users can customize connectors, retrievers, query engines, and reranking steps. Examples show persisting indices to disk, reloading them later, and hooking into surrounding app stacks mentioned in the docs.
Related commercial APIs documented under the LlamaIndex brand—Parse, Extract, Classify, Split, and Index—handle OCR, schema-shaped extraction, classification, segmentation, and managed RAG ingestion. The Python framework can complement those services but is not limited to them.
Key features
- Data connectors for many formats
- Indexing and graph structures for retrieval
- Query engines with context injection
- Optional vector store and LLM plugins
- High-level and low-level Python APIs
- On-disk index persistence
- Agent and workflow building blocks
- Integration with external app frameworks
Use cases
- Question answering over internal documents
- Building RAG chatbots on private data
- Prototyping retrieval pipelines in Python
- Combining structured and unstructured sources