# LlamaIndex

> Canonical: https://skillalmanac.com/glossary/llamaindex | Last verified: 2026-11-24 | Index status: not offered to search engines

LlamaIndex is an open-source Python toolkit, published by the company LlamaIndex, for building language-model applications and agents over your own data, such as documents. It began with retrieval-augmented generation.

Also called: llama index, llamaindex rag, LlamaIndex framework, LlamaIndex Python.

## In plain language

LlamaIndex is a toolkit that programmers use to let an AI model answer questions about their own files, such as company manuals or reports. It handles the plumbing: reading the files in, splitting and organising them so the relevant passages can be found, and handing those passages to the model along with the question. A typical use is a help bot that answers from a firm's policy documents. LlamaIndex is not an AI model and does not guarantee correct answers: if the wrong passage is found or the files are out of date, the reply can still be wrong. Some of its related services are separate products.

## Technical definition

LlamaIndex's documentation describes the framework as a Python toolkit for building LLM-powered agents over your data, MIT-licensed. Building blocks it lists include data connectors, indexes and vector stores, query and chat engines, agents, and workflows, which are event-driven multi-step processes with branching, retries and human review. According to IBM, document chunks, called nodes, are organised into index structures, most commonly a VectorStoreIndex, to support semantic retrieval, and the project was originally focused on data orchestration for retrieval-augmented generation.

## How it shows up when you use agents

You meet LlamaIndex in projects that answer questions from documents, and in tutorials on [retrieval-augmented generation](/glossary/retrieval-augmented-generation). If a coding agent works on such a project, it will touch how files are loaded, split and indexed, and which settings control retrieval. The toolkit's documentation lists agents and workflows as well, so some projects use it for more than search.

What breaks when this is misunderstood: people assume a good-looking demo means the answers are right. If the chunks are too small or too large, the right passage may not be retrieved, and the model then answers from the wrong text or from nothing. Another failure is skipping a test set of real questions.

Next action: write ten real questions with their known answers, run them through the pipeline and check which passages were retrieved before changing any model or setting. For the pieces underneath see [embedding](/glossary/embedding) and [vector database](/glossary/vector-database), and for the general idea see [AI agent framework](/glossary/ai-agent-framework).

## Common confusions

- **LlamaIndex versus a language model.** The docs describe LlamaIndex as a Python toolkit that works with models.
- **LlamaIndex versus RAG.** RAG is a pattern. LlamaIndex is one toolkit that can help build it, and RAG can be built without it.
- **LlamaIndex versus LlamaParse.** LlamaParse is a separate document parsing product from the same company, according to the framework docs.
- **Myth.** Indexing documents makes the model learn them. The model reads retrieved passages at question time and, as the [What is RAG](/learn/what-is-rag) guide puts it, the model's weights do not change.

## Worked examples in this catalogue

### [What Is RAG? Retrieval-Augmented Generation Explained](https://skillalmanac.com/learn/what-is-rag)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: An explanation of retrieval-augmented generation: indexing and querying, plus a worked example of how chunking can lose context.

Why it exercises the concept: LlamaIndex's origins are in retrieval-augmented generation. The guide explains the pattern independent of any library, so you can judge what the toolkit adds.

### [rag-chunking-planner](https://skillalmanac.com/skills/skill-almanac/rag-chunking-planner)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Your documents split by three chunking strategies, with defects and offline recall reported for each, so chunk settings are chosen with numbers.

Why it exercises the concept: Splitting documents into chunks is one of the choices a toolkit of this kind asks you to make. This skill measures that choice on your own files.

### [How to Build an AI Agent: A Minimal Tool Loop](https://skillalmanac.com/learn/build-an-ai-agent)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A minimal agent in one Python file: a loop that sends tools to the model, runs each requested tool and stops at a hard cap on iterations.

Why it exercises the concept: LlamaIndex's docs also describe agents that call tools. The bare loop shows the mechanism that such a framework wraps.

## Related terms

- [Retrieval-augmented generation (RAG)](https://skillalmanac.com/glossary/retrieval-augmented-generation.md)
- [AI agent framework](https://skillalmanac.com/glossary/ai-agent-framework.md)
- [LangChain](https://skillalmanac.com/glossary/langchain.md)
- [Embedding](https://skillalmanac.com/glossary/embedding.md)
- [Vector database](https://skillalmanac.com/glossary/vector-database.md)
- [Chunking](https://skillalmanac.com/glossary/chunking.md)

## Sources

- [LlamaIndex Python framework documentation](https://developers.llamaindex.ai/python/framework/), LlamaIndex (accessed 2026-11-24)
- [What is LlamaIndex?](https://www.ibm.com/think/topics/llamaindex), IBM (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
