Tailored SDK clients for LlamaCloud services.
Maintained. Last release 10 months ago.
pip install llama-cloud-servicesLlama Cloud Services
⚠️ DEPRECATION NOTICE
This repository and its packages are deprecated and will be maintained until May 1, 2026.
Please migrate to the new packages:
- Python:
pip install llama-cloud>=1.0(GitHub)- TypeScript:
npm install @llamaindex/llama-cloud(GitHub)The new packages provide the same functionality with improved performance, better support, and active development.
This repository contains the code for hand-written SDKs and clients for interacting with LlamaCloud.
This includes:
- LlamaParse - A GenAI-native document parser that can parse complex document data for any downstream LLM use case (Agents, RAG, data processing, etc.).
- LlamaExtract - A prebuilt agentic data extractor that can be used to transform data into a structured JSON representation.
- LlamaCloud Index - A widely customizable and fully automated document ingestion pipeline that also serves retrieval purposes.
Getting Started
Install the package:
pip install llama-cloud-services
Then, get your API key from LlamaCloud.
Then, you can use the services in your code:
from llama_cloud_services import (
LlamaParse,
LlamaExtract,
LlamaCloudIndex,
)
from llama_cloud_services import LlamaParse, LlamaExtract
parser = LlamaParse(api_key="YOUR_API_KEY")
extract = LlamaExtract(api_key="YOUR_API_KEY")
index = LlamaCloudIndex(
"my_first_index", project_name="default", api_key="YOUR_API_KEY"
)