Skip to main content
AgentsUse

Python agent framework

LlamaIndex

An open source framework to build agentic applications, with a current company focus on document parsing and extraction through LlamaParse.

PythonMITChecked 2026-10-07Source verified

Quick decision

Ecosystem
Python
License
Open source, MIT
Package
PyPI: llama-index, version 0.14.25
Review state
Source verified. Facts checked 2026-10-07. Not locally tested by AgentsUse.

What it is

LlamaIndex is described on PyPI as an open source framework to build agentic applications. Building typically involves LlamaIndex core plus chosen integrations, either through the starter llama-index package or through llama-index-core with individual integration packages, with over 300 integration packages referenced on the package page.

The framework overview describes data connectors to ingest sources such as APIs, PDFs, docs and SQL, ways to structure data in indices and graphs, and an advanced retrieval and query interface that returns retrieved context and knowledge augmented output. Lower level APIs allow customization of loaders, indices, retrievers, query engines and reranking modules.

The repository notes the company focus has shifted toward LlamaParse as an enterprise platform for agentic OCR, parsing, extraction and indexing, while the OSS framework remains available as an open toolkit. LlamaHub is referenced as the registry of prebuilt agent tools that can be incorporated into agents.

What it does

  • Ingests data through connectors and readers for APIs, PDFs, documents, SQL and other sources.
  • Structures data in indices and graphs and provides retrieval and query engines over that data.
  • Provides agents and workflows that can use prebuilt LlamaHub tool specs and custom tools.
  • Supports a large integration ecosystem for LLMs, embeddings, vector stores and tools through separate packages.
  • Connects to LlamaParse services for document parsing, extraction and indexing when configured.

What it does not do

  • It is not primarily a general multi agent orchestration framework in the same shape as CrewAI or LangGraph; its documented core strength is data ingestion, indexing and retrieval for LLM apps.
  • LlamaParse is a separate platform and account based service; the OSS framework does not include hosted parsing by itself.
  • Individual LlamaHub tools still require their own service API keys and package installs.

Setup

Install LlamaIndex and build a vector index

The PyPI example installs core and provider integrations, reads documents from a directory, builds a VectorStoreIndex and queries 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)

  • OPENAI_API_KEY

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

MCP support: LlamaIndex documents MCP tool use through McpToolSpec with a BasicMCPClient, allowing MCP server tools to be converted into agent tools.

Health and maintenance

GitHub stars

52,435

Checked 2026-10-07

GitHub forks

8,299

Checked 2026-10-07

Maintainer
LlamaIndex

Stars and forks read from the GitHub repository page in this run. PyPI page shows release files for llama-index 0.14.25.

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 fetched run-llama llama_index issue states developers building agents with LlamaIndex currently have real time web search options including Tavily, Exa and Brave Search, in the context of LlamaHub Agent Tools. Evidence. Setup detail

Brave Search APIOfficial adapter package

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

Grouped view: tools for LlamaIndex.

Sources and freshness

Last checked 2026-10-07. Verification label: source verified. It does not mean AgentsUse ran the framework. Spotted an error? Send a correction. Back to the framework index.