Skip to content

Quickstart

Documentation for LlamaParse, the enterprise agentic OCR and document agent platform.

Build document agents powered by agentic OCR

LlamaParse is the enterprise platform to go from raw documents to production document agents: agentic OCR and parsing, structured extraction, searchable knowledge, and deployable agents—all in one platform.

Terminal window
pip install llama-cloud>=1.0

Set your API key:

Terminal window
export LLAMA_CLOUD_API_KEY=llx-...

Get an API key from the LlamaCloud dashboard.


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

from llama_cloud import AsyncLlamaCloud
import asyncio
async def main():
client = AsyncLlamaCloud() # Uses LLAMA_CLOUD_API_KEY env var
# Upload and parse a document
file = await client.files.create(file="document.pdf", purpose="parse")
result = await client.parsing.parse(
file_id=file.id,
tier="agentic",
version="latest",
expand=["markdown"],
)
# Get markdown output
print(result.markdown.pages[0].markdown)
asyncio.run(main())

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.