skillfed

llama-index

Interface between LLMs and your data

llama-index v0.14.23 7.4M downloads/30d#1,747 on PyPI51,641
Permissive license MIT Active released

What it is and what it does

LlamaIndex is a data framework designed to bridge the gap between large language models and private or custom data sources. It provides data connectors to ingest various formats (APIs, PDFs, SQL databases, etc.), structures that data into indices and graphs, and retrieval interfaces that augment LLM prompts with relevant context. The framework supports both high-level APIs for quick prototyping and lower-level customization for advanced use cases.

The package ships with integrations for llama-index-embeddings-openai and llama-index-llms-openai out of the box, and can be extended with additional integration packages for different LLM providers, embedding models, and vector stores. It handles the full pipeline from document ingestion through indexing to query execution, with built-in support for persistence and reloading from disk.

Use it for:

  • Build a chatbot that answers questions about your company's internal documentation or knowledge base.
  • Create a semantic search system over a large collection of PDFs, research papers, or legal documents.
  • Develop an agentic application that retrieves and reasons over structured and unstructured data.
  • Index and query data from multiple sources (APIs, databases, files) with a unified interface.
  • Prototype a retrieval-augmented generation (RAG) pipeline without managing vector databases directly.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

LlamaIndex is a data framework that connects large language models to your own data sources, enabling retrieval-augmented generation (RAG) and agentic applications through data connectors, indexing, and query interfaces.

Yes. LlamaIndex is actively maintained with low install friction, permissive MIT licensing, and no known vulnerabilities. It is well-suited for developers building LLM applications that need to augment models with private data. Start here if you want a batteries-included RAG framework; use llama-index-core if you prefer to assemble integrations à la carte.

Install

llama-index on PyPI

pip

pip install llama-index

uv

uv add llama-index

poetry

poetry add llama-index

Installing llama-index

Before you install

Low install friction with a pure-Python wheel. Actively maintained with recent releases; last commit 2026-08-14 indicates a mature, well-supported project.

License in practice

MIT license permits unrestricted use, modification, and distribution in commercial and private projects with minimal obligations.

Quickstart

pip install llama-index

from llama_index.core import VectorStoreIndex, SimpleDirectoryReader

documents = SimpleDirectoryReader("YOUR_DATA_DIRECTORY").load_data()
index = VectorStoreIndex.from_documents(documents)
query_engine = index.as_query_engine()
query_engine.query("YOUR_QUESTION")

Requires Python 3.10 or later. OpenAI API key or alternative LLM provider needed for actual queries; default uses in-memory storage.

Verify before relying

  • Performance characteristics and scalability limits for large document collections.
  • Specific vector store backends supported beyond basic examples.
  • Latency and throughput benchmarks for typical RAG query patterns.
  • Whether over 300 integration packages claim is current and verifiable.

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 4 — llama-index-core, llama-index-embeddings-openai, llama-index-llms-openai, nltk
Maintenance actively maintained — 51 days since the last release
Last repo commit
First released
Downloads 7,378,605/month — #1,747 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: llama_index-0.14.23-py3-none-any.whl

Keywords: LLM, NLP, RAG, data, devtools, index, retrieval

Topic :: Scientific/Engineering :: Artificial IntelligenceTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules

Tags

RAG framework for LLMsLLM data augmentationdocument indexing and retrievalagentic application frameworkLLM integration with private datavector store indexingsemantic search over documents
rag-frameworkllm-integrationdata-indexing

More Python Modules packages

idna

Converts domain names between Unicode and…

permissive · top 100 on PyPI

setuptools

Setuptools is a Python build backend and…

permissive · top 100 on PyPI

PyYAML

PyYAML parses and emits YAML 1.1 data format,…

permissive · top 100 on PyPI

pydantic

Pydantic validates Python data structures…

permissive · top 100 on PyPI

annotated-types

Provides reusable metadata objects for use with…

permissive · top 100 on PyPI

typing-inspection

Provides runtime tools to inspect and…

permissive · top 100 on PyPI

llama-index-core

LlamaIndex Core provides foundational…

permissive · top 5,000 on PyPI

llama-index-legacy

LlamaIndex Legacy is a data framework for…

permissive · top 5,000 on PyPI

llama-index-workflows

An async-first, event-driven framework for…

permissive · top 5,000 on PyPI

llama-index-readers-llama-parse

Parses PDF files into structured markdown or…

permissive · top 5,000 on PyPI

llama-index-readers-file

Provides file loaders that parse documents in…

permissive · top 5,000 on PyPI

llama-index-indices-managed-llama-cloud

Provides deprecated integration for creating…

permissive · top 1,000 on PyPI

lunr

Lunr is a lightweight, in-memory full-text…

permissive · top 15,000 on PyPI

llama-parse

LlamaParse parses complex documents (PDFs,…

permissive · top 1,000 on PyPI

llama-index-llms-anthropic

Integrates Anthropic's Claude language models…

permissive · top 15,000 on PyPI

llama-index-cli

Provides command-line interface tools for…

permissive · top 5,000 on PyPI