Skip to content

LlamaIndex (Python)

The data framework for LLM apps. LlamaIndex turns unstructured data into agent-queryable knowledge — document loaders, vector indices, query engines, tools, and multi-agent orchestration via llama-agents.

Install

Terminal window
pip install llama-index llama-index-core

Version

llama-index-core v0.14.22 · May 2026 · Python 3.10+

Best for

RAG systems, document Q&A, enterprise knowledge agents.

  • v0.14.22 (May 2026) — Patch release; stability and dependency updates. VectorStoreIndex, SimpleDirectoryReader, Workflow, StartEvent, StopEvent, AgentWorkflow, FunctionAgent, ReActAgent confirmed present in installed llama-index-core==0.14.22 (.routine-envs/check-0519-py); no DeprecationWarning emissions.
  • v0.14.21 (April 2026) — Patch release; stability and dependency updates.
  • v0.14.20 (April 2026): Stabilised llama-agents package for multi-agent orchestration; enhanced streaming support with token-level events; expanded LlamaHub integrations (100+ data connectors); improved query-engine-as-tool patterns.
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader
from llama_index.core.agent import ReActAgent
from llama_index.core.tools import QueryEngineTool
documents = SimpleDirectoryReader("data").load_data()
index = VectorStoreIndex.from_documents(documents)
tool = QueryEngineTool.from_defaults(
query_engine=index.as_query_engine(),
name="knowledge_base",
description="Answer questions about the documents",
)
agent = ReActAgent.from_tools([tool])
response = agent.chat("What are the key findings?")
print(response)

Ready? Start Zero → Hero Step 1 →


DateVersionChanges
2026-05-190.14.22Version bumped 0.14.21 → 0.14.22 (two patch releases: 0.14.21, 0.14.22); “What’s new” updated; comprehensive guide header updated; revision history entry added. Key symbols verified against installed llama-index-core==0.14.22 (.routine-envs/check-0519-py); no DeprecationWarning emissions.
2026-04-210.14.20Index redesigned with Zero → Hero + Jump-to-topic grid.
April 3, 20260.14.20llama-agents stabilisation; streaming; LlamaHub growth.
November 20250.14.8Initial documented version.

Note: TypeScript implementation lives at LlamaIndex (TypeScript).