llama_index

run-llama/llama_index

Open-source framework for building intelligent document and data retrieval applications

51k
Stars
7.7k
Forks
489
Open issues
281
Watchers
Python MITLast pushed Jul 2, 2026

Overview

LlamaIndex is a Python framework that enables developers to create AI-powered applications with advanced document parsing, retrieval augmented generation (RAG), and multi-agent capabilities. It offers flexible integration with various LLMs, embedding providers, and vector stores.

Categories

Tags

Similar tools

Install

pip install llama_index

README

🗂️ LlamaIndex 🦙

LlamaIndex OSS (by LlamaIndex) is an open-source framework to build agentic applications. Parse is our enterprise platform for agentic OCR, parsing, extraction, indexing and more. You can use LlamaParse with this framework or on its own; see LlamaParse below for signup and product links.

📚 Documentation:

Building with LlamaIndex typically involves working with LlamaIndex core and a chosen set of integrations (or plugins). There are two ways to start building with LlamaIndex in Python:

  1. Starter: llama-index. A starter Python package that includes core LlamaIndex as well as a selection of integrations.

  2. Customized: llama-index-core. Install core LlamaIndex and add your chosen LlamaIndex integration packages on LlamaHub that are required for your application. There are over 300 LlamaIndex integration packages that work seamlessly with core, allowing you to build with your preferred LLM, embedding, and vector store providers.

The LlamaIndex Python library is namespaced such that import statements which include core imply that the core package is being used. In contrast, those statements without core imply that an integration package is being used.

# typical pattern
from llama_index.core.xxx import ClassABC  # core submodule xxx
from llama_index.xxx.yyy import (
    SubclassABC,
)  # integration yyy for submodule xxx

# concrete example
from llama_index.core.llms import LLM
from llama_index.llms.openai import OpenAI

LlamaParse (document agent platform)

LlamaParse is its own platform—focused on document agents and agentic OCR. It includes Parse (parsing), LlamaAgents (deployed document agents), Extract (structured extraction), and Index (ingest and RAG). You can use it with the LlamaIndex framework or standalone.

  • Sign up for LlamaParse — Create an account and get your API key.
  • Parse — Agentic OCR and document parsing (130+ formats). Docs
  • Extract — Structured data extraction from documents. Docs
  • Index — Ingest, index, and RAG pipelines. Docs
  • Split — Split large documents into subcategories. Docs
  • Agents — Build end-to-end document agents with Workflows and Agent Builder. Docs

Important Links

Documentation

X (formerly Twitter)

LinkedIn

[Reddit](https://www.reddit.com/r/Llam