Skip to content

LlamaParse Platform Quickstart

Install the SDK, get an API key, and run your first call against Parse, Extract, Classify, Split, Sheets, or Index — all from one platform.

Build document agents powered by agentic OCR.

LlamaParse is the enterprise platform for turning documents into production AI pipelines. One API key, one SDK, and six composable products: Parse (agentic OCR), Extract (structured data), Classify, Split, Sheets, and Index.

Terminal window
pip install llama-cloud>=2.1

Set your API key:

Terminal window
export LLAMA_CLOUD_API_KEY=llx-...

Get an API key from the LlamaCloud dashboard.


Map what you’re trying to do to the right product:

I want to…Use
Turn PDFs, scans, or images into clean LLM-ready textParse
Pull structured JSON out of documents that matches my schemaExtract
Route documents into categories with natural-language rulesClassify
Split concatenated documents into their logical partsSplit
Work with spreadsheet-like data and reason over rowsSheets
Build a hosted vector search pipeline for RAGIndex
New here? Start with Parse—it’s the foundation most pipelines build on. Or scroll down for a runnable snippet in every product below.

Agentic OCR and parsing for 130+ formats. Turn PDFs and scans into LLM-ready text—the foundation for document agents.

from llama_cloud import LlamaCloud
client = LlamaCloud() # Uses LLAMA_CLOUD_API_KEY env var
# Upload and parse a document
file = client.files.create(file="document.pdf", purpose="parse")
result = client.parsing.parse(
file_id=file.id,
tier="agentic",
version="latest",
expand=["markdown"],
)
# Get markdown output
print(result.markdown.pages[0].markdown)
import LlamaCloud from '@llamaindex/llama-cloud';
import fs from 'fs';
const client = new LlamaCloud(); // Uses LLAMA_CLOUD_API_KEY env var
// Upload and parse a document
const file = await client.files.create({
file: fs.createReadStream('document.pdf'),
purpose: 'parse',
});
const result = await client.parsing.parse({
file_id: file.id,
tier: 'agentic',
version: 'latest',
expand: ['markdown']
});
// Get markdown output
console.log(result.markdown.pages[0].markdown);

Full Guide | Examples | Tiers & Pricing


Download Skills

  • llamaparse: Advanced parsing for PDFs, docs, presentations and images (charts, tables, embedded visuals). Requires LLAMA_CLOUD_API_KEY and Node 18+.
  • liteparse: Local-first, fast parsing for text-dense PDFs and docs. No API key needed, requires @llamaindex/liteparse globally installed and Node 18+.

You can install LlamaParse Agent Skills using the skills CLI:

Terminal window
npx skills add run-llama/llamaparse-agent-skills

Or, if you wish to download only one skill:

Terminal window
npx skills add run-llama/llamaparse-agent-skills --skill llamaparse # or the name of another skill

You can also download the skills folder in .zip format from GitHub Releases.