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.21 · April 2026 · Python 3.10+

Best for

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

  • 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-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).