Skip to main content
AgentsUse

Python agent framework

LlamaIndex

LlamaIndex (often typed as "llama index") is an open-source Python framework, MIT licensed, for connecting large language models to your own data: it loads documents, builds indexes over them and answers queries with the retrieved context, and it can run agents on top. The current release is llama-index 0.14.26 on PyPI, published November 13, 2026, and it needs Python 3.11 or later.

PythonMITChecked 2026-11-18Source-verified

Quick decision

Ecosystem
Python
License
Open source, MIT
Package
PyPI: llama-index, version 0.14.26
Review state
Source-verified. Checked 2026-11-18; not locally tested by AgentsUse.

Key facts

Name and spellings
LlamaIndex. Install with pip as llama-index (starter bundle) or llama-index-core (core only); import as llama_index.core.
License
MIT (GitHub repository run-llama/llama_index).
Current version
0.14.26, released November 13, 2026 (PyPI).
Python
3.11 or later, below 4.0 (PyPI).
Integrations
Over 300 integration packages for models, embeddings, vector stores and tools, installed separately (PyPI page).
Company focus
LlamaParse, a separate document parsing platform; the README says the open-source framework remains available.

Last checked 2026-11-18 against the PyPI package page and the GitHub repository.

What it is

LlamaIndex is an open-source framework for agentic applications, assembled from a core package plus chosen integrations. Teams install either the starter llama-index package or llama-index-core with individual integration packages; the package page references over 300 integration packages.

Data connectors ingest sources such as APIs, PDFs, docs, and SQL. Data is structured into indices and graphs, and a retrieval and query interface returns retrieved context with knowledge-augmented output. Lower-level APIs expose loaders, indices, retrievers, query engines, and reranking modules for customization.

The company focus has shifted toward LlamaParse, an enterprise platform for agentic OCR, parsing, extraction, and indexing. The OSS framework remains available as an open toolkit, and LlamaHub serves as the registry of prebuilt agent tools.

LlamaIndex vs LangChain: when to choose which

LangChain is also MIT licensed, and its current release is langchain 1.5.0 (PyPI, November 11, 2026). The difference is where each one puts its weight, going by each project's own documentation as recorded on AgentsUse.

If your main need isLean towardsWhy, from the records
Answering questions over your own documents (retrieval-augmented generation)LlamaIndexIts documented core is ingestion, indexing and retrieval: loaders, indices, retrievers, query engines and reranking modules you can customize.
Parsing messy PDFs and scanned documentsLlamaIndex with LlamaParseLlamaParse is LlamaIndex's parsing and extraction platform. It is a separate account-based service, not part of the open-source package.
A tool-calling agent where you may swap model providersLangChainIt standardises model, tool and retrieval interfaces behind a prebuilt agent that runs on LangGraph, so changing provider is a configuration change.
Multi-agent orchestration, durable execution and human review stepsLangChain with LangGraphLangGraph supplies durable execution, streaming, human-in-the-loop review and persistence. General multi-agent orchestration is not LlamaIndex's core shape.
Tracing and evaluating agent runsLangChain with LangSmithLangSmith is LangChain's tracing, evaluation and observability product.

If retrieval quality over your own files is the hard part, start with LlamaIndex. If the agent loop, tools and orchestration are the hard part, start with LangChain. The three-way comparison with Haystack goes into packages, MCP support and tool pairings.

What it does

  • Connectors and readers for APIs, PDFs, documents, SQL, and other sources.
  • Indices and graphs for structured data, with retrieval and query engines on top.
  • Agents and workflows that accept prebuilt LlamaHub tool specs and custom tools.
  • A large integration ecosystem for LLMs, embeddings, vector stores, and tools, delivered as separate packages.
  • Optional LlamaParse services for document parsing, extraction, and indexing.

What it does not do

  • General multi-agent orchestration is not the core shape here. The documented strength is data ingestion, indexing, and retrieval for LLM applications.
  • LlamaParse is a separate account-based service. The OSS framework does not include hosted parsing.
  • Individual LlamaHub tools still need their own service API keys and package installs.

Setup

Install LlamaIndex and build a vector index

PyPI example: install core and provider integrations, read documents from a directory, build a VectorStoreIndex, and query it.

Install LlamaIndex and build a vector index
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()

Environment variables (names only; use your own values)

  • OPENAI_API_KEY

Source: https://pypi.org/project/llama-index/. Examples use placeholders only.

MCP support: MCP tools convert into agent tools through McpToolSpec with a BasicMCPClient.

Health and maintenance

GitHub stars

52,733

Checked 2026-10-29

GitHub forks

8,469

Checked 2026-10-29

Maintainer
LlamaIndex

Stars and forks read from the GitHub repository page in this run. PyPI showed llama-index 0.14.26 (released 2026-11-13) in the 2026-11-18 check; stars and forks are from 2026-10-29.

Verified compatible tools

TavilyOfficial adapter package

Via llama-index-tools-tavily-research (TavilyToolSpec). The LlamaIndex developer docs streaming page installs llama-index-tools-tavily-research, imports TavilyToolSpec from llama_index.tools.tavily_research and uses TAVILY_API_KEY. Evidence. Setup detail

ExaOfficial adapter package

Via llama-index-tools exa tool spec listed for LlamaIndex agents. A run-llama llama_index issue lists real-time web search options for LlamaIndex agents, including Tavily, Exa, and Brave Search, in LlamaHub Agent Tools context. Evidence. Setup detail

Brave Search APIOfficial adapter package

Via llama-index-tools brave_search tool spec listed for LlamaIndex agents. The same run-llama issue lists Brave Search alongside Tavily and Exa as a LlamaIndex agent web search option in LlamaHub listing context. Evidence. Setup detail

Grouped view: tools for LlamaIndex.

Frequently asked questions

Is it LlamaIndex or llama index?

The project name is LlamaIndex, one word. The pip packages use hyphens (llama-index, llama-index-core) and the Python import is written llama_index.core, which is why people also search for "llama index" and "llama_index".

Is LlamaIndex free?

The framework is open source under the MIT license, so it is free to use and modify. You still pay for any model or vector database APIs you connect, and LlamaParse is a separate account-based service.

What is the latest LlamaIndex version?

llama-index 0.14.26, released on PyPI on November 13, 2026 (checked November 18, 2026). It requires Python 3.11 or later.

Is LlamaIndex still maintained?

Yes. llama-index 0.14.26 was released on November 13, 2026. The README says the company's primary focus has shifted to LlamaParse, its document parsing platform, and that the open-source framework remains available as an open toolkit.

Should I use LlamaIndex or LangChain?

Choose LlamaIndex when the main job is retrieval over your own documents, and LangChain (with LangGraph) when the main job is a tool-calling agent, provider swapping or multi-step orchestration. Both are MIT licensed.

Sources and freshness

Checked 2026-11-18. Source-verified means the claims above trace to the listed sources; it does not mean AgentsUse ran the framework. Send corrections through the contact page. Back to the framework index.