Skip to content
⌘K

Welcome to LlamaParse

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.

Sign up to start building today!

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