llama_index
run-llama/llama_index · Updated
LlamaIndex is the document processing platform for AI
run-llama/llama_index is a Python repository in the RAG & Retrieval category with 52,729 stars and 8,460 forks on GitHub, released under the MIT license, last updated 2d ago.
How to install llama_index in your AI client
Setup for Claude Code, Claude Desktop, Cursor, Codex, Windsurf, Cline and VS Code — copy-paste ready.
How to install llama_index in Claude CodeAnthropic's agentic CLI
Clone & open
bashgit clone https://github.com/run-llama/llama_index.git cd llama_index claudeLet Claude read it
Ask “/init” to generate a CLAUDE.md, then have Claude explain, run, or extend the codebase. It reads files on demand.
How to install llama_index in Claude DesktopDesktop app (MCP config)
Clone the repository
bashgit clone https://github.com/run-llama/llama_index.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install llama_index in CursorAI-first code editor
Clone & open in Cursor
bashgit clone https://github.com/run-llama/llama_index.gitIndex & chat
Open the folder — Cursor indexes it automatically. Use @Codebase in chat to ask about it or scaffold from it.
How to install llama_index in Codex CLIOpenAI coding agent
Clone
bashgit clone https://github.com/run-llama/llama_index.gitPoint Codex at it
Run codex in the repo root; add setup notes to AGENTS.md so the agent knows how to build & test.
How to install llama_index in WindsurfCodeium's agentic IDE
Clone & open
bashgit clone https://github.com/run-llama/llama_index.gitUse Cascade
Windsurf indexes the workspace; ask Cascade to explain or reuse modules from the repo.
How to install llama_index in ClineVS Code autonomous agent
Clone the repository
bashgit clone https://github.com/run-llama/llama_index.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
How to install llama_index in VS CodeCopilot / MCP support
Clone the repository
bashgit clone https://github.com/run-llama/llama_index.gitOpen in your AI editor
Open the folder in your assistant and ask it to index the codebase, then reference files in chat.
Documentation
Full README🗂️ LlamaIndex Framework 🦙
[!NOTE] The current focus of LlamaIndex is to build the best AI-powered engine for document parsing and extraction. [LlamaParse](https://cloud.llamaindex.ai?utm_medium=li_github&utm_source=github&utm_campaign=2026--) is our enterprise platform for agentic OCR, parsing, extraction, indexing and more. LiteParse represents our efforts to build the best free, fast, cheap text parser in the market. ParseBench and ExtractBench represent our commitment towards open benchmarking for parsing and extraction. The company itself has undergone an evolution since when this OSS framework first launched 3 years ago in 2023. Since the early days, the framework has consisted of a broad set of orchestration tools enabling developers to build various RAG and agent applications. While we still have the OSS framework available as an open toolkit that you're welcome to use, our primary focus has shifted towards LlamaParse, along with liteparse and our benchmarking efforts. We have a strong belief that agents are the new consumers of documents, and they fundamentally need the right tools to unlock context from the world's hardest documents accurately/cheaply at scale. Whether you're an AI startup processing documents or an enterprise looking to automate document workflows, come talk to us.
LlamaIndex Framework (by LlamaIndex, the company behind LlamaParse) is an open-source framework to build agentic applications. You can use LlamaParse with this framework or on its own; see LlamaParse below for signup and product links.
### 📚 Documentation: - LlamaParse - LlamaIndex Framework - LlamaAgents
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:
- Starter: `llama-index`. A starter Python package that includes core LlamaIndex as well as a selection of integrations.
- Customized: `llama-index-core`. Install core LlamaIndex and add your chosen LlamaIndex integration packages from the integrations page
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 OpenAILlamaParse (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](https://cloud.llamaindex.ai?utm_medium=li_github&utm_source=github&utm_campaign=2026--) — 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
Workflowsand Agent Builder. Docs
Important Links
Excerpt — the full document is on GitHub.
More RAG & Retrieval repositories
- RAG & Retrieval143k
awesome-llm-apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
PythonApache-2.0Shubhamsaboo/awesome-llm-apps
- RAG & Retrieval92k
PaddleOCR
Turn any PDF or image document into structured data for your AI. A powerful, lightweight OCR toolkit that bridges the gap between images/PDFs and LLMs. Supports 100+ languages.
PythonApache-2.0PaddlePaddle/PaddleOCR
- RAG & Retrieval85k
hello-agents
📚 《从零开始构建智能体》——从零开始的智能体原理与实践教程
Pythondatawhalechina/hello-agents
- RAG & Retrieval80k
Prompt-Engineering-Guide
🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.
MDXMITdair-ai/Prompt-Engineering-Guide
- RAG & Retrieval68k
mem0
The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
PythonApache-2.0mem0ai/mem0
- RAG & Retrieval68k
anything-llm
Stop renting your intelligence. Own it with AnythingLLM. Everything you need for a powerful local-first agent experience
JavaScriptMITMintplex-Labs/anything-llm
Catalog data refreshed . Something wrong? Report it.