LlamaIndex describes its evolution from a RAG framework to document infrastructure for AI agents, reporting 30M+ monthly downloads and 1B+ pages processed.
Text in image
The Document Infrastructure for AI Agents
LlamaIndex delivers the world’s best platform for agents to read and operate over documents. Starting with agentic document processing, expanding to the semantic and agentic layer.
Backed By: NORWEST greylock
tabs Lovable CEMEX vantager Delphi KPMG CARLYLE REDICA Systems
30M+ MONTHLY DOWNLOADS
41K+ GITHUB STARS
300K+ USERS
1B+ PAGES PROCESSED
Redefine Document Workflows with AI Agents
LlamaIndex
Naive RAG used a fixed pipeline: split documents into chunks, embed them in a vector database, retrieve the top-k matches, and pass them to an LLM to answer questions.
Text in image
Let’s go back to March 2023
Everyone was building a simple chatbot!
Naive RAG
• Chunk text, embed, put in a vector database.
• Naive top-k retrieval, generate with LLM
Current RAG Stack for building a QA System
Data Ingestion
Data Querying (Retrieval + Synthesis)
Doc
Chunk
Chunk
Chunk
Chunk
Vector Database
Chunk
LLM
5 Lines of Code in LlamaIndex!
LlamaIndex · Redefine Document Workflows with AI Agents
Liu maps a shift from questions and workflows built with code or drag-and-drop to tasks and repeatable workflows defined in English. He predicts agents will eventually work from goals and values.
Text in image
Evolving Knowledge Work Patterns
Ask Simple Questions through English
Build Workflow through Code
Build Workflow through Drag and Drop
2023–2025
Define and solve ad-hoc tasks through English
Define repeatable programs and workflows through English
Today
Define the goal and it’ll solve it
Define culture and values
2026+
LlamaIndex · Redefine Document Workflows with AI Agents
Liu argues that agents need a task and organizational context. The diagram feeds prompts, web context, tools, structured data and documents into an agent to produce outcomes.
Text in image
Context is Everything
Model reasoning is exponentially improving, but models are blank slates.
The biggest barrier to AI value is the user’s own ability to provide context to the models.
The more complex the business process, the more complex the prompt that users need to define.
Context
Input Prompts (Question, Task, Goal)
Web Context
Tools, Skills, MCP
Structured Data
Document Context
Agent
Outcomes
LlamaIndex · Redefine Document Workflows with AI Agents
Documents: Universal Containers for Unstructured Context
Documents hold human-native knowledge, while agents generate content in formats such as Markdown and HTML. The chart depicts AI-agent page processing rising steeply toward 2035, above human reading and new document pages.
Text in image
Documents: Universal Containers for Unstructured Context
• There are 10T+ pages of human-native knowledge locked up within PDFs, Powerpoints, Word docs, Excel sheets
• At the same time, agents are generating exponentially more content for themselves as well as humans
Page Volume
Pages Processed by AI agents ~50T+ per year
Pages read by human eyeballs ~10–12T+ a year
Net New Global Document Pages ~5–7T+ a year
Legacy IDP ~1.5T+ a year
Timeline: 2025, 2035
Human-native documents (.pdf, .pptx, .xlsx)
Agent-native documents (.md, .html, ??)
MD
HTML
LlamaIndex · Redefine Document Workflows with AI Agents
Liu proposes three layers between documents and agents: parsing for token-efficient context, storage for document management, and repeatable workflows tuned for accuracy and cost.
Text in image
Building an Agent-Native Document Platform
Agent
Document Context Layer
Parsing Layer
Digitalize the 10T+ pages of human-created documents into accurate, token-efficient context.
Semantic and Storage Layer
Document management for humans and agents. Edit, version, and collaborate over documents.
Agentic Workflow Layer
Hillclimb repeatable workflows over documents to optimize accuracy and lower cost.
LlamaIndex · Redefine Document Workflows with AI Agents
Liu maps today’s OCR, extraction, search and workflows across three layers, then identifies unexplored work from agent-native formats and document collaboration to hillclimbing and long-horizon agents.
Text in image
Building an Agent-Native Document Platform
Document Context Layer
Parsing Layer
Semantic and Storage Layer
Agentic Layer
Today
Parsing Layer: Document OCR
Semantic and Storage Layer: Document Extraction; Document Search
Agentic Layer: Document Workflows
Unexplored
Parsing Layer: Agent-native Document Formats
Semantic and Storage Layer: Document Versioning; Document Editing; Document Permissions and Collaboration
Agentic Layer: Hillclimbing-as-a-service; Long-horizon agents
LlamaIndex · Redefine Document Workflows with AI Agents
A PDF can display a clean sentence while storing text fragments and positioning commands, making the raw file hard for an agent to interpret.
Text in image
Document OCR is Hard
• 90% of the world’s data lies in unstructured documents like PDFs, Powerpoints, Word, Excel
• These documents are not natively machine readable and require machine learning to extract information
PDF
The quick brown fox jumps over the lazy dog.
[clean text]
What you see
PDF
BT /F0 12 Tf
1 0 0 1 72 740 Tm
(The quick bro) Tj
1 0 0 1 168 740 Tm
(wn)Tj
1 0 0 1 72 726 Tm
(fox jumps over) Tj
…
ET
What the PDF actually stores
What You See vs. What the PDF Stores
LlamaIndex · Redefine Document Workflows with AI Agents
A PDF table can be stored as separate lines and positioned text, leaving a parser to reconstruct their relationship. In a multi-column page, content stream order can also differ from reading order.
Text in image
PDF Parsing is Hard
• PDFs are designed for text display, not for machine readability
• Text are glyph shapes
• Tables are line segments and floating text
• Reading order needs to be inferred
Item | Revenue
widget A | $1.2 M
widget B | $0.8 M
Line: (72,700)(540,700)
Line: (72,700)(72,500)
Text "Item" at (85,680)
Text "Revenue" at (241,680)
Text "Widget A" at (85,630)
no connection between them
visual page
1 4
2 5
3 6
pdf content stream order
3rd stored: "Column 1, para 2"
1st stored: "Column 2, para 1"
5th stored: "Column 1, para 3"
2nd stored: "Column 2, para 2"
arbitrary order, same visual result
LlamaIndex · Redefine Document Workflows with AI Agents
Word’s OOXML exposes structure through tags, but a useful representation must preserve formatting and metadata while rendering the document to reveal its page layout.
Text in image
Even Word Parsing is Hard
• Word documents are OOXML format
• More structural information than a PDF, but token inefficient and requires rendering to understanding pagination
• Needs a concise representation that preserves formatting, metadata (versioning, comments, out of canvas, speaker notes)
word/document.xml
<w:tbl> ← table
<w:tr> ← row
<w:tc> ← cell
<w:p>
<w:r>
<w:rPr>
<w:b/> ← bold
</w:rPr>
<w:t>Revenue</w:t>
</w:r>
</w:p>
</w:tc>
1. ordered | • unordered | • indented
2. list | • list | 1. list
paragraph | I. roman | A. uppercase
• list | II. numerals | a. lowercase
paragraph | i. lowercase | b. alphabet
bold text | italic text | underline text
strikethrough text | superscript¹ | subscript₁
LlamaIndex · Redefine Document Workflows with AI Agents
Interface text:
table-formatted.docx
[illegible]
The hybrid routes body text to extraction and tables and charts to a VLM, then validates the results into structured output with bounding boxes. The alternatives use independent stages or a single VLM.
Text in image
An Evolution of Approaches
1. Deterministic Pipelines: Heuristics and ML models
2. Vision Models
3. Hybrid Approach (Ours)
pipeline approach
page image
text direction
chat recog
layout analysis
output
each stage independent
model approach
page image
[ VLM ]
Structured Output
reasons about everything together
hybrid approach
PDF page
layout detection
Text extraction (body text) fast / $
VLM processing (tables, charts)
agentic validation
structured output (markdown + metadata bounding boxes)
LlamaIndex · Redefine Document Workflows with AI Agents
Liu argues that routing, specialized VLMs and optimized PDF extraction can make document OCR cheaper and more accurate than frontier models. The chart illustrates the proposed cost–accuracy gap.
Text in image
The Document OCR Agent Harness
The pareto frontier for document OCR will always be much more accurate + cheap compared to the latest frontier models.
Ways to exploit that gap:
1. Agentic harness: auto-route between models with agentic validation.
2. Specialized document VLMs for best-in-class specialized accuracy: tables, charts, hand-writing
3. Optimized PDF engine: Custom fork of common PDF engines.
4. Benchmark & auto-research infra: closing rapid iteration loop from eval to harness/model update.
Accuracy
Cost
SOTA Document OCR (LlamaParse)
Latest Frontier Models
Increased Accuracy:
• Post-train VLMs with RLVR for tables, charts, hand-writing, etc
• Agentic judge & refinement
Cost Optimization:
• Auto-routing (doc complexity model)
• Model distillation & quantization
• Direct extraction (optimized PDFium fork)
LlamaIndex · Redefine Document Workflows with AI Agents
The chart positions LlamaParse above frontier models on accuracy and shows cost optimization moving left. Auto-routing and model compression target cost; post-training and agentic refinement target accuracy.
Text in image
The Document OCR Agent Harness
LlamaParse: https://cloud.llamaindex.ai/
SOTA Document OCR
(LlamaParse)
Y-axis: Accuracy
X-axis: Cost
Increased Accuracy:
• Post-train VLMs with RLVR for tables, charts, hand-writing, etc
• Agentic judge & refinement
Latest Frontier Models
Cost Optimization:
• Auto-routing (doc complexity model)
• Model distillation & quantization
• Direct extraction (optimized PDFium fork)
LlamaIndex · Redefine Document Workflows with AI Agents
ParseBench tests whether agents can understand enterprise documents across five dimensions, from tables and charts to formatting and visual grounding. It uses 2,000 human-verified pages and emphasizes semantic correctness.
Text in image
ParseBench: An Enterprise Document Benchmark for Agents
The most comprehensive enterprise document benchmark, for AI agents:
1. 2k human-verified pages, 167k test rules
2. Measures across tables, charts, content faithfulness, semantic formatting.
3. Optimizes for semantic correctness instead of syntatic correctness
PARSEBENCH
~2,000 human-verified pages · 167K+ test rules · 5 capability dimensions · enterprise documents (insurance, finance, government)
TABLES
Merged cells, hierarchical headers, cross-page continuity
Example labels: TABLE RECORD MATCH, COL KEYS, ROW KEY, VALUE
[illegible embedded document text]
CHARTS
Exact data-point extraction with series & axis label matching
Example labels: VALUE $56.0, LABEL 2024
[illegible embedded document text]
CONTENT FAITHFULNESS
Omissions, hallucinations, reading-order fidelity
[illegible embedded document text]
SEMANTIC FORMATTING
Strikethrough, super/subscripts, bold, title hierarchy, links
Example labels: bold, strikethrough, hierarchy
[illegible embedded document text]
VISUAL GROUNDING
Element localization, classification, content attribution
Example labels: Page-Header, Section, Table, Text, Picture, Page-Footer
[illegible embedded document text]
Higher scores and lower costs lie toward the chart’s upper left. LP Agentic sits highest at a little over one cent per page; no plotted parser approaches 100%.
Text in image
ParseBench: An Enterprise Document Benchmark for Agents
We evaluate frontier models, OSS models, specialized parse providers (including LlamaParse)
No parser gets close to 100%, the benchmark is meant to be hard!
Overall vs. Cost
Y-axis: Overall score (%)
Y-axis ticks: 50, 60, 70, 80
X-axis: Cost per page (cents)
X-axis ticks: 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0
Legend: LlamaParse; VLMs; Specialized Document Parsers
Data labels: LP Agentic; LP Cost-Eff; Gemini (min); Gemini (high); Reducto; Reducto (agentic); Gemini Pro; GPT-5.4; Azure DI; Extend; Haiku 4.5 (think); Opus 4.6; Google DocAI; GPT-mini (med); Textract; GPT-mini (min); Haiku 4.5; LandingAI
LlamaIndex · Redefine Document Workflows with AI Agents
Parsing workloads favor different tradeoffs: financial extraction demands high accuracy, bulk indexing favors low cost, and real-time uploads need low latency. Liu says VLM-based approaches are often too slow for the agent loop.
Text in image
The Accuracy-Cost-Latency Pareto Curve
1. High Accuracy Regime: require ~99%+ accuracy, price insensitive
• e.g. financial data room extraction
2. Low Cost Regime: require 1M docs per day, accuracy above min threshold
• e.g. offline indexing a petabyte of Sharepoint data for retrieval
3. Low Latency/Low Cost Regime: require parsing massive volumes in seconds, price sensitive
• e.g. real-time file uploads to Cowork
VLM-based approaches are primarily good for latency-insensitive batch processing.
They are not great in the agent loop.
Overall vs. Cost
Y-axis: Overall score (%)
Y-axis ticks: 50, 60, 70, 80
X-axis: Cost per page (cents)
X-axis ticks: 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0
Legend: LlamaParse; VLMs; Specialized Document Parsers
Chart labels: LP Agentic; LP Cost-Eff; Gemini (min); Gemini (high); Reducto; Reducto (agentic); Gemini Pro; GPT-5.4; Azure DI; Extend; Haiku 4.5 (think); Opus 4.6; Google DocAI; GPT-mini (med); Textract; GPT-mini (min); Haiku 4.5; LandingAI
LlamaIndex · Redefine Document Workflows with AI Agents
LiteParse v2 leads on 1- and 457-page PDFs (0.777 s for the latter); PyMuPDF leads on 24 and 60 pages. Timings use five warmup runs with OCR off. LiteParse also has the highest overall accuracy shown: 39.2%.
LiteParse provides a fast first pass for agent text search; the agent can use VLM-based OCR for deeper analysis. Beside the recommendation, a browser demo shows a PDF and a parsing interface.
Text in image
LiteParse: Fast, Free, Surprisingly Good Parsing
It is perfect as a default in the assistive agent loop:
• Extremely fast over any set of data
• Good enough that the agent can do text search
• The agent can decide to “zoom-in” with a VLM-based OCR tool if it needs to do deeper analysis.
Embedded PDF:
The NASA Technical Report Server
[illegible]
Abstract
[illegible]
Interface text:
LiteParse
PDF Parsing in the Browser
Fast, lightweight document parsing powered by WebAssembly. No server required — everything runs locally in your browser.
[illegible]
Drop a PDF here or click to browse
Ready. Drop a PDF to parse
Usage
[illegible]
LlamaIndex · Redefine Document Workflows with AI Agents
An agent can scan documents quickly for text search, then use slower VLM-based OCR to inspect pages with tables or charts in more depth.
Text in image
LiteParse: Fast, Free, Surprisingly Good Parsing
It is perfect as a default in the assistive agent loop:
• Extremely fast over any set of data
• Good enough that the agent can do text search
• The agent can decide to “zoom-in” with a VLM-based OCR tool if it needs to do deeper analysis.
LlamaIndex · Redefine Document Workflows with AI Agents
Interface text:
LiteParse
PDF Parsing in the Browser
[illegible]
Drop a PDF here or click to browse
Parsed 16 page(s) in [illegible]
Markdown
Wrap On
Copy
The NASA Technical Report Server
Abstract
Introduction
[illegible]
The document context layer spans parsing, extraction and search, and agentic workflows. The slide also marks agent-native formats, document versioning and long-horizon agents as unexplored areas.
Text in image
Great, what else is there besides parsing?
Document Context Layer
Parsing Layer
Semantic and Storage Layer
Agentic Layer
Today
Parsing Layer: Document OCR
Semantic and Storage Layer: Document Extraction; Document Search
Agentic Layer: Document Workflows
Unexplored
Parsing Layer: Agent-native Document Formats
Semantic and Storage Layer: Document Versioning; Document Editing; Document Permissions and Collaboration
Agentic Layer: Hillclimbing-as-a-service; Long-horizon agents
LlamaIndex · Redefine Document Workflows with AI Agents
Schema-based extraction turns documents into structured outputs for downstream systems. The slide highlights data entry and batch ETL, then asks whether extracted values can be traced to their source.
Text in image
Document Extraction
Goal: Schema-based structured extraction over any document, regardless of document complexity or schema complexity.
Use Cases:
• Automate human data entry
• Batch ETL
• Add metadata for search
Extraction Modalities:
• Fast Extraction
• Agentic Extraction
Grounding and Semantics:
• Granular attribution
• Calibrated Confidence Scores
...can it prove where they came from?
LlamaIndex · Redefine Document Workflows with AI Agents
The demo shows extraction output with page and bounding-box fields and selectable content granularity. Liu says outputs include source citations, and confidence scores can flag uncertain values before they enter a system.
Text in image
Document Extraction
Goal: Schema-based structured extraction over any document, regardless of document complexity or schema complexity.
Use Cases:
• Automate human data entry
• Batch ETL
• Add metadata for search
Extraction Modalities:
• Fast Extraction
• Agentic Extraction
Grounding and Semantics:
• Granular attribution
• Calibrated Confidence Scores
LlamaIndex
Sign up for LlamaParse today
www.llamaindex.ai
Interface text:
0:51 / 0:51
1x
LlamaIndex · Redefine Document Workflows with AI Agents
Document extraction goals, use cases, modalities, and grounding features beside a LlamaParse video end card.
Text in image
Document Extraction
Goal: Schema-based structured extraction over any document, regardless of document complexity or schema complexity.
Use Cases:
• Automate human data entry
• Batch ETL
• Add metadata for search
Extraction Modalities:
• Fast Extraction
• Agentic Extraction
Grounding and Semantics:
• Granular attribution
• Calibrated Confidence Scores
LlamaIndex
Sign up for LlamaParse today
www.llamaindex.ai
Interface text:
0:51 / 0:51
1x
LlamaIndex · Redefine Document Workflows with AI Agents
Read the talk
Building the Document Context Layer for AI Agents
Jerry Liu explains how RAG separates into agent reasoning and document context, why reading a PDF requires reconstructing its structure, and how fast parsing plus selective visual inspection can balance accuracy, cost, and latency.
Modern RAG can separate agent reasoning from context access: the agent chooses queries and iterates, while the document layer supplies readable, searchable information.
→
Document parsing must recover relationships as well as characters. Positioned glyphs, drawn table borders, and multicolumn layouts do not guarantee a useful reading order or semantic structure.
→
Choose parsing effort by workload. Regulated extraction, large-scale indexing, and interactive uploads place different demands on accuracy, cost, and latency.
→
A fast collection-wide pass can precede selective VLM inspection. This gives the agent broad context before it spends more time reading particular tables or charts.
→
Structured extraction needs a path back to the source and a decision about uncertain values before they enter downstream systems.
From fixed retrieval to an agent that chooses its searches
The early RAG chatbot followed a fixed recipe: split a private document collection into chunks, embed them, store them in a vector database, retrieve the top k matches, and give those matches to an LLM to generate an answer. In Jerry Liu’s account, this was enough to make a basic application that could chat over a corpus. Every question still passed through the same sequence of steps.
Open full source frameSource frame: From fixed retrieval to an agent that chooses its searches
Liu, co-founder and CEO of LlamaIndex, frames RAG in 2026 as an agent harness plus a context layer. Better tool use and agent loops make that separation useful: the harness handles reasoning and repeated actions, while the context layer gives the agent material it can read and search. LlamaIndex’s focus has consequently moved from its origins as a RAG framework toward document infrastructure for agents.
The concrete change is who chooses the search query. A fixed retrieval pipeline takes its query and returns matches. An agent can reason about which keyword or search term is likely to find the information it needs, inspect the results, and search again. Retrieval complexity moves into this loop. Even a basic search tool becomes more useful when the agent can supply a better query rather than accepting the first result set as its only context.
As long contexts and compaction improve, Liu sees more attention moving from managing window overflow toward connecting the right MCP servers, skills, and tasks. These connections determine what an agent can reach and do. The context problem expands from fitting text into a prompt to giving a reasoning system useful access to organizational information.
Program definition is changing alongside access. Python and TypeScript remain part of the earlier development picture, but English increasingly expresses tasks, goals, and runbooks for both engineers and nontechnical teams. The progression runs from asking a simple question, to assigning an end-to-end task, to producing a repeatable program that executes at scale. Liu’s further forecast is that longer-running agents may eventually need a goal and scoring rubric rather than a fully described task; that is a proposed direction, not a capability demonstrated here.
That makes document access a persistent bottleneck even as models improve. Useful context includes web information, tools and skills, warehouses such as Snowflake and Databricks, and files held in SharePoint, Box, Dropbox, or S3. Liu estimates that more than 10 trillion pages of human knowledge live in PDFs, PowerPoints, Word documents, and Excel sheets. The scale explains LlamaIndex’s focus: much of the information an agent needs already exists, but its container does not make it easy to consume. Agents also produce more readily readable formats such as Markdown and HTML.
An agent-native document platform needs three distinct capabilities. Parsing makes a file readable; storage makes it available to operate on; workflows turn recurring document tasks into repeatable execution. Keeping these concerns separate also leaves room to tune a frequent task more carefully than a general-purpose agent would.
Parsing: Convert PDFs, PowerPoints, and Word documents into accurate, token-efficient context, including Markdown and metadata. The output should preserve the information an agent needs without making it ingest all of the source format’s machinery.
Semantic storage: Capture and store documents behind an interface that lets agents manage and operate on them. This is document management for humans and agents, extending the role previously served by a file system and applications such as Microsoft Word.
Repeatable workflows: Specialize recurring jobs such as invoice processing, KYC, and claims. A purpose-built workflow gives the system a place to tune cost and accuracy against a known goal.
This platform is still incomplete. Agent-native formats, document versioning, editing, and collaboration remain open areas in Liu’s framing. He names them as work ahead; the recording develops parsing, extraction, and search rather than explaining implementations for those future capabilities.
A PDF draws a page; the parser reconstructs its meaning
Why does document OCR remain hard after more than 20 years? A PDF is designed for printing and display. Text can appear as individual glyphs with coordinates. A table can consist of drawn line segments and text positioned inside apparent cells. The page looks structured to a person, but those drawing instructions do not by themselves give an agent a usable table.
Open full source frameSource frame: A PDF draws a page; the parser reconstructs its meaning
The table example exposes the reconstruction task. First, the parser encounters characters and shapes at positions. It must determine which pieces belong together and recover a representation that humans and agents can interpret. Multicolumn text introduces another problem: the stored sequence of characters does not guarantee the order a person would read the page. Recognizing characters is only part of the job; arranging them into the right relationships is what makes the result useful.
Word documents and PowerPoints offer more structural information, but feeding their native XML directly to an agent creates its own burden. Much of the tagging is unnecessary for understanding the content. A useful parser lifts relevant formatting and semantic metadata, removes irrelevant markup, and can render the page so its overall layout remains visible. More source structure helps, but it still needs to become a representation suited to the reader.
Two approaches attack the reconstruction problem from different directions. Pipeline methods use rules and file information to group text, identify tables and paragraphs, and produce an output representation. A vision-language model, or VLM, can instead read the document visually and turn it into text in one shot. Visual reading can recover layout that a simpler pipeline misses, but Liu identifies three costs: hallucinations even on text-only pages, expensive inference, and insufficient semantics and grounding.
LlamaParse combines file-aware processing with visual understanding. Its described ingredients include optimized PDF, Word, and PowerPoint engines; an agentic harness that routes between cheaper specialized models and frontier models; and parameter-efficient document VLMs focused on particular document classes or elements such as tables and charts. The cost argument follows from that routing: use specialized processing where it suffices, and spend on stronger visual reasoning where the document requires it.
Liu describes this hybrid as lying on the cost–accuracy Pareto frontier: a set of choices where improving one objective requires giving up something on another. He also expects specialized document workflows to outperform general frontier-model use on this tradeoff. These comparative claims are his assessment; the recording does not establish a universal performance advantage across document types.
ParseBench gives this problem a broader evaluation target. Liu describes 2,000 human-verified pages and approximately 50 evaluated frontier models, open-weight models, and specialized OCR solutions. It measures tables, charts, content faithfulness, and semantic formatting, with emphasis on whether agents can understand the result rather than merely whether its syntax is correct. That choice matches the table problem: plausible-looking output is less useful if it loses the relationships needed to interpret the information.
The desired direction is lower cost and higher accuracy, but the distribution of documents complicates any single choice. Simple pages and difficult enterprise documents demand different processing. Liu’s conclusion from the benchmark is that document understanding remains unsolved; covering a range of operating points matters because a real collection contains a changing mix of document types and complexity.
Read everything quickly, then inspect selected pages deeply
Latency adds a third objective. A parser suitable for an offline indexing job may make an interactive agent wait too long, while a cheap first pass may be inadequate for regulated extraction. Liu distinguishes three workloads by what a mistake or a delay costs.
Open full source frameSource frame: Read everything quickly, then inspect selected pages deeply
High accuracy: Financial services and insurance may require 99% to almost 100% accuracy because an incorrect extraction can damage a financial model or trigger a fraud flag. Those figures describe requirements, not demonstrated achievement. Paying more per page for deeper reasoning can be justified by the consequence of an error.
Low cost: Indexing a million-plus documents per day from a continually updated SharePoint collection favors a scalable offline pipeline. Some imperfections can be acceptable if an agent can later revisit the source and recover the needed information with citations.
Low latency: Uploading a thousand documents and wanting them processed within a minute puts pressure on VLM-based processing. Liu explicitly includes his own service among those that find this scenario difficult.
LightParse addresses the fast-pass role. Liu describes a free, open-source Rust parser that produces Markdown without a VLM or deeper model, and calls it the fastest open-source parser. That speed superlative is his claim rather than a quantified comparison in the recording. Its practical role is clear: make an initial reading of many documents cheap and quick, while keeping a slower visual parser available as a tool.
Follow the thousand-PDF example through the change in processing. The agent first gets a fast pass over the whole collection and scans the resulting context. If its task then requires understanding values on a page containing a table or chart, it calls a VLM-based tool for that page. The collection becomes broadly readable before the system spends time on deeper visual interpretation. The table that began as positioned characters and lines now receives the additional inspection needed to read its values correctly. This is a proposed operating pattern, not a timed demonstration of processing a thousand PDFs within a minute.
Where does the slower visual work enter the agent loop? The flow below shows it after the collection-wide pass, on a branch selected by the task. The important relationship is the scope of work: the fast parser covers all documents, while the visual tool handles the pages that need deeper interpretation. Liu describes LightParse as an installable skill that complements other VLM-based OCR tools.
A fast collection pass with selective visual inspection
Uploaded PDF collectionThe example contains a thousand PDFs.
LightParse fast passProduce Markdown without a VLM and scan the collection efficiently.
Agent reads contextDetermine whether the task needs deeper understanding of a particular page.
VLM inspects selected pageUse slower processing to read table or chart values more carefully.
The agent scans all documents first, then uses slower visual processing when its task requires deeper understanding of a table or chart.Read the diagram as text
Uploaded PDF collection. The example contains a thousand PDFs.
LightParse fast pass. Produce Markdown without a VLM and scan the collection efficiently.
Agent reads context. Determine whether the task needs deeper understanding of a particular page.
VLM inspects selected page. Use slower processing to read table or chart values more carefully.
Uploaded PDF collection → LightParse fast pass: Process all documents.
LightParse fast pass → Agent reads context: Scan initial context.
Agent reads context → VLM inspects selected page: When table or chart values need deeper reading.
VLM inspects selected page → Agent reads context: Return the more carefully read information.
Extraction connects document reading to downstream systems
The closing technical section moves from readable context to structured information. Processing a million invoices, expense reports, receipts, or claims requires outputs that a downstream database or system can accept. This automates the familiar human task of scanning paperwork and entering data. Parsing supplies a usable representation; extraction turns the relevant information into structured outputs.
Open full source frameSource frame: Extraction connects document reading to downstream systems
LlamaParse’s described extraction capabilities attach granular source citations to every extracted output and provide confidence scores and uncertainty flags. Those serve different practical purposes: a citation lets someone return to the source, while an uncertainty flag helps decide whether a value should enter another system. The decision occurs before insertion, so extraction does not have to treat every produced value as equally trustworthy. The recording gives no confidence threshold or calibration method.
Document search also becomes a larger toolset: BM25, grep, vector search, reading, and scrolling. That returns to the opening change in RAG. An agent can choose a search term, retrieve material, and continue reading rather than relying on one fixed top-k response. The document context layer earns its place by supporting both discovery across a collection and closer inspection of the source when the task demands it.
This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.
18:28 · section reference included
→Read the complete timestamped transcript
24 slide groups · 1 demo milestones. Extracted from the recording; expand builds to follow changes. Timestamps are approximate. 7 additional groups were omitted from this pass.
LlamaIndex describes its evolution from a RAG framework to document infrastructure for AI agents, reporting 30M+ monthly downloads and 1B+ pages processed.
Text in image
The Document Infrastructure for AI Agents
LlamaIndex delivers the world’s best platform for agents to read and operate over documents. Starting with agentic document processing, expanding to the semantic and agentic layer.
Backed By: NORWEST greylock
tabs Lovable CEMEX vantager Delphi KPMG CARLYLE REDICA Systems
30M+ MONTHLY DOWNLOADS
41K+ GITHUB STARS
300K+ USERS
1B+ PAGES PROCESSED
Redefine Document Workflows with AI Agents
LlamaIndex
Naive RAG used a fixed pipeline: split documents into chunks, embed them in a vector database, retrieve the top-k matches, and pass them to an LLM to answer questions.
Text in image
Let’s go back to March 2023
Everyone was building a simple chatbot!
Naive RAG
• Chunk text, embed, put in a vector database.
• Naive top-k retrieval, generate with LLM
Current RAG Stack for building a QA System
Data Ingestion
Data Querying (Retrieval + Synthesis)
Doc
Chunk
Chunk
Chunk
Chunk
Vector Database
Chunk
LLM
5 Lines of Code in LlamaIndex!
LlamaIndex · Redefine Document Workflows with AI Agents
Liu maps a shift from questions and workflows built with code or drag-and-drop to tasks and repeatable workflows defined in English. He predicts agents will eventually work from goals and values.
Text in image
Evolving Knowledge Work Patterns
Ask Simple Questions through English
Build Workflow through Code
Build Workflow through Drag and Drop
2023–2025
Define and solve ad-hoc tasks through English
Define repeatable programs and workflows through English
Today
Define the goal and it’ll solve it
Define culture and values
2026+
LlamaIndex · Redefine Document Workflows with AI Agents
Liu maps a shift from questions and workflows built with code or drag-and-drop to tasks and repeatable workflows defined in English. He predicts agents will eventually work from goals and values.
Text in image
Evolving Knowledge Work Patterns
Ask Simple Questions through English
Build Workflow through Code
Build Workflow through Drag and Drop
2023–2025
Define and solve ad-hoc tasks through English
Define repeatable programs and workflows through English
Today
Define the goal and it’ll solve it
Define culture and values
2026+
LlamaIndex · Redefine Document Workflows with AI Agents
Liu argues that agents need a task and organizational context. The diagram feeds prompts, web context, tools, structured data and documents into an agent to produce outcomes.
Text in image
Context is Everything
Model reasoning is exponentially improving, but models are blank slates.
The biggest barrier to AI value is the user’s own ability to provide context to the models.
The more complex the business process, the more complex the prompt that users need to define.
Context
Input Prompts (Question, Task, Goal)
Web Context
Tools, Skills, MCP
Structured Data
Document Context
Agent
Outcomes
LlamaIndex · Redefine Document Workflows with AI Agents
Liu argues that agents need a task and organizational context. The diagram feeds prompts, web context, tools, structured data and documents into an agent to produce outcomes.
Text in image
Context is Everything
Model reasoning is exponentially improving, but models are blank slates.
The biggest barrier to AI value is the user’s own ability to provide context to the models.
The more complex the business process, the more complex the prompt that users need to define.
Context
Input Prompts (Question, Task, Goal)
Web Context
Tools, Skills, MCP
Structured Data
Document Context
Agent
Outcomes
LlamaIndex · Redefine Document Workflows with AI Agents
Documents: Universal Containers for Unstructured Context
Documents hold human-native knowledge, while agents generate content in formats such as Markdown and HTML. The chart depicts AI-agent page processing rising steeply toward 2035, above human reading and new document pages.
Text in image
Documents: Universal Containers for Unstructured Context
• There are 10T+ pages of human-native knowledge locked up within PDFs, Powerpoints, Word docs, Excel sheets
• At the same time, agents are generating exponentially more content for themselves as well as humans
Page Volume
Pages Processed by AI agents ~50T+ per year
Pages read by human eyeballs ~10–12T+ a year
Net New Global Document Pages ~5–7T+ a year
Legacy IDP ~1.5T+ a year
Timeline: 2025, 2035
Human-native documents (.pdf, .pptx, .xlsx)
Agent-native documents (.md, .html, ??)
MD
HTML
LlamaIndex · Redefine Document Workflows with AI Agents
Documents: Universal Containers for Unstructured Context
Documents hold human-native knowledge, while agents generate content in formats such as Markdown and HTML. The chart depicts AI-agent page processing rising steeply toward 2035, above human reading and new document pages.
Text in image
Documents: Universal Containers for Unstructured Context
• There are 10T+ pages of human-native knowledge locked up within PDFs, Powerpoints, Word docs, Excel sheets
• At the same time, agents are generating exponentially more content for themselves as well as humans
Page Volume
Pages Processed by AI agents ~50T+ per year
Pages read by human eyeballs ~10–12T+ a year
Net New Global Document Pages ~5–7T+ a year
Legacy IDP ~1.5T+ a year
Timeline: 2025, 2035
Human-native documents (.pdf, .pptx, .xlsx)
Agent-native documents (.md, .html, ??)
MD
HTML
LlamaIndex · Redefine Document Workflows with AI Agents
Liu proposes three layers between documents and agents: parsing for token-efficient context, storage for document management, and repeatable workflows tuned for accuracy and cost.
Text in image
Building an Agent-Native Document Platform
Agent
Document Context Layer
Parsing Layer
Digitalize the 10T+ pages of human-created documents into accurate, token-efficient context.
Semantic and Storage Layer
Document management for humans and agents. Edit, version, and collaborate over documents.
Agentic Workflow Layer
Hillclimb repeatable workflows over documents to optimize accuracy and lower cost.
LlamaIndex · Redefine Document Workflows with AI Agents
Liu proposes three layers between documents and agents: parsing for token-efficient context, storage for document management, and repeatable workflows tuned for accuracy and cost.
Text in image
Building an Agent-Native Document Platform
Agent
Document Context Layer
Parsing Layer
Digitalize the 10T+ pages of human-created documents into accurate, token-efficient context.
Semantic and Storage Layer
Document management for humans and agents. Edit, version, and collaborate over documents.
Agentic Workflow Layer
Hillclimb repeatable workflows over documents to optimize accuracy and lower cost.
LlamaIndex · Redefine Document Workflows with AI Agents
Liu maps today’s OCR, extraction, search and workflows across three layers, then identifies unexplored work from agent-native formats and document collaboration to hillclimbing and long-horizon agents.
Text in image
Building an Agent-Native Document Platform
Document Context Layer
Parsing Layer
Semantic and Storage Layer
Agentic Layer
Today
Parsing Layer: Document OCR
Semantic and Storage Layer: Document Extraction; Document Search
Agentic Layer: Document Workflows
Unexplored
Parsing Layer: Agent-native Document Formats
Semantic and Storage Layer: Document Versioning; Document Editing; Document Permissions and Collaboration
Agentic Layer: Hillclimbing-as-a-service; Long-horizon agents
LlamaIndex · Redefine Document Workflows with AI Agents
A PDF can display a clean sentence while storing text fragments and positioning commands, making the raw file hard for an agent to interpret.
Text in image
Document OCR is Hard
• 90% of the world’s data lies in unstructured documents like PDFs, Powerpoints, Word, Excel
• These documents are not natively machine readable and require machine learning to extract information
PDF
The quick brown fox jumps over the lazy dog.
[clean text]
What you see
PDF
BT /F0 12 Tf
1 0 0 1 72 740 Tm
(The quick bro) Tj
1 0 0 1 168 740 Tm
(wn)Tj
1 0 0 1 72 726 Tm
(fox jumps over) Tj
…
ET
What the PDF actually stores
What You See vs. What the PDF Stores
LlamaIndex · Redefine Document Workflows with AI Agents
A PDF can display a clean sentence while storing text fragments and positioning commands, making the raw file hard for an agent to interpret.
Text in image
Document OCR is Hard
• 90% of the world’s data lies in unstructured documents like PDFs, Powerpoints, Word, Excel
• These documents are not natively machine readable and require machine learning to extract information
PDF
The quick brown fox jumps over the lazy dog.
[clean text]
What you see
PDF
BT /F0 12 Tf
1 0 0 1 72 740 Tm
(The quick bro) Tj
1 0 0 1 168 740 Tm
(wn)Tj
1 0 0 1 72 726 Tm
(fox jumps over) Tj
…
ET
What the PDF actually stores
What You See vs. What the PDF Stores
LlamaIndex · Redefine Document Workflows with AI Agents
A PDF table can be stored as separate lines and positioned text, leaving a parser to reconstruct their relationship. In a multi-column page, content stream order can also differ from reading order.
Text in image
PDF Parsing is Hard
• PDFs are designed for text display, not for machine readability
• Text are glyph shapes
• Tables are line segments and floating text
• Reading order needs to be inferred
Item | Revenue
widget A | $1.2 M
widget B | $0.8 M
Line: (72,700)(540,700)
Line: (72,700)(72,500)
Text "Item" at (85,680)
Text "Revenue" at (241,680)
Text "Widget A" at (85,630)
no connection between them
visual page
1 4
2 5
3 6
pdf content stream order
3rd stored: "Column 1, para 2"
1st stored: "Column 2, para 1"
5th stored: "Column 1, para 3"
2nd stored: "Column 2, para 2"
arbitrary order, same visual result
LlamaIndex · Redefine Document Workflows with AI Agents
A PDF table can be stored as separate lines and positioned text, leaving a parser to reconstruct their relationship. In a multi-column page, content stream order can also differ from reading order.
Text in image
PDF Parsing is Hard
• PDFs are designed for text display, not for machine readability
• Text are glyph shapes
• Tables are line segments and floating text
• Reading order needs to be inferred
Item | Revenue
widget A | $1.2 M
widget B | $0.8 M
Line: (72,700)(540,700)
Line: (72,700)(72,500)
Text "Item" at (85,680)
Text "Revenue" at (241,680)
Text "Widget A" at (85,630)
no connection between them
visual page
1 4
2 5
3 6
pdf content stream order
3rd stored: "Column 1, para 2"
1st stored: "Column 2, para 1"
5th stored: "Column 1, para 3"
2nd stored: "Column 2, para 2"
arbitrary order, same visual result
LlamaIndex · Redefine Document Workflows with AI Agents
Word’s OOXML exposes structure through tags, but a useful representation must preserve formatting and metadata while rendering the document to reveal its page layout.
Text in image
Even Word Parsing is Hard
• Word documents are OOXML format
• More structural information than a PDF, but token inefficient and requires rendering to understanding pagination
• Needs a concise representation that preserves formatting, metadata (versioning, comments, out of canvas, speaker notes)
word/document.xml
<w:tbl> ← table
<w:tr> ← row
<w:tc> ← cell
<w:p>
<w:r>
<w:rPr>
<w:b/> ← bold
</w:rPr>
<w:t>Revenue</w:t>
</w:r>
</w:p>
</w:tc>
1. ordered | • unordered | • indented
2. list | • list | 1. list
paragraph | I. roman | A. uppercase
• list | II. numerals | a. lowercase
paragraph | i. lowercase | b. alphabet
bold text | italic text | underline text
strikethrough text | superscript¹ | subscript₁
LlamaIndex · Redefine Document Workflows with AI Agents
Interface text:
table-formatted.docx
[illegible]
Word’s OOXML exposes structure through tags, but a useful representation must preserve formatting and metadata while rendering the document to reveal its page layout.
Text in image
Even Word Parsing is Hard
• Word documents are OOXML format
• More structural information than a PDF, but token inefficient and requires rendering to understanding pagination
• Needs a concise representation that preserves formatting, metadata (versioning, comments, out of canvas, speaker notes)
word/document.xml
<w:tbl> ← table
<w:tr> ← row
<w:tc> ← cell
<w:p>
<w:r>
<w:rPr>
<w:b/> ← bold
</w:rPr>
<w:t>Revenue</w:t>
</w:r>
</w:p>
</w:tc>
1. ordered | • unordered | • indented
2. list | • list | 1. list
paragraph | I. roman | A. uppercase
• list | II. numerals | a. lowercase
paragraph | i. lowercase | b. alphabet
bold text | italic text | underline text
strikethrough text | superscript¹ | subscript₁
LlamaIndex · Redefine Document Workflows with AI Agents
Interface text:
table-formatted.docx
[illegible]
The hybrid routes body text to extraction and tables and charts to a VLM, then validates the results into structured output with bounding boxes. The alternatives use independent stages or a single VLM.
Text in image
An Evolution of Approaches
1. Deterministic Pipelines: Heuristics and ML models
2. Vision Models
3. Hybrid Approach (Ours)
pipeline approach
page image
text direction
chat recog
layout analysis
output
each stage independent
model approach
page image
[ VLM ]
Structured Output
reasons about everything together
hybrid approach
PDF page
layout detection
Text extraction (body text) fast / $
VLM processing (tables, charts)
agentic validation
structured output (markdown + metadata bounding boxes)
LlamaIndex · Redefine Document Workflows with AI Agents
Liu argues that routing, specialized VLMs and optimized PDF extraction can make document OCR cheaper and more accurate than frontier models. The chart illustrates the proposed cost–accuracy gap.
Text in image
The Document OCR Agent Harness
The pareto frontier for document OCR will always be much more accurate + cheap compared to the latest frontier models.
Ways to exploit that gap:
1. Agentic harness: auto-route between models with agentic validation.
2. Specialized document VLMs for best-in-class specialized accuracy: tables, charts, hand-writing
3. Optimized PDF engine: Custom fork of common PDF engines.
4. Benchmark & auto-research infra: closing rapid iteration loop from eval to harness/model update.
Accuracy
Cost
SOTA Document OCR (LlamaParse)
Latest Frontier Models
Increased Accuracy:
• Post-train VLMs with RLVR for tables, charts, hand-writing, etc
• Agentic judge & refinement
Cost Optimization:
• Auto-routing (doc complexity model)
• Model distillation & quantization
• Direct extraction (optimized PDFium fork)
LlamaIndex · Redefine Document Workflows with AI Agents
The chart positions LlamaParse above frontier models on accuracy and shows cost optimization moving left. Auto-routing and model compression target cost; post-training and agentic refinement target accuracy.
Text in image
The Document OCR Agent Harness
LlamaParse: https://cloud.llamaindex.ai/
SOTA Document OCR
(LlamaParse)
Y-axis: Accuracy
X-axis: Cost
Increased Accuracy:
• Post-train VLMs with RLVR for tables, charts, hand-writing, etc
• Agentic judge & refinement
Latest Frontier Models
Cost Optimization:
• Auto-routing (doc complexity model)
• Model distillation & quantization
• Direct extraction (optimized PDFium fork)
LlamaIndex · Redefine Document Workflows with AI Agents
ParseBench tests whether agents can understand enterprise documents across five dimensions, from tables and charts to formatting and visual grounding. It uses 2,000 human-verified pages and emphasizes semantic correctness.
Text in image
ParseBench: An Enterprise Document Benchmark for Agents
The most comprehensive enterprise document benchmark, for AI agents:
1. 2k human-verified pages, 167k test rules
2. Measures across tables, charts, content faithfulness, semantic formatting.
3. Optimizes for semantic correctness instead of syntatic correctness
PARSEBENCH
~2,000 human-verified pages · 167K+ test rules · 5 capability dimensions · enterprise documents (insurance, finance, government)
TABLES
Merged cells, hierarchical headers, cross-page continuity
Example labels: TABLE RECORD MATCH, COL KEYS, ROW KEY, VALUE
[illegible embedded document text]
CHARTS
Exact data-point extraction with series & axis label matching
Example labels: VALUE $56.0, LABEL 2024
[illegible embedded document text]
CONTENT FAITHFULNESS
Omissions, hallucinations, reading-order fidelity
[illegible embedded document text]
SEMANTIC FORMATTING
Strikethrough, super/subscripts, bold, title hierarchy, links
Example labels: bold, strikethrough, hierarchy
[illegible embedded document text]
VISUAL GROUNDING
Element localization, classification, content attribution
Example labels: Page-Header, Section, Table, Text, Picture, Page-Footer
[illegible embedded document text]
Higher scores and lower costs lie toward the chart’s upper left. LP Agentic sits highest at a little over one cent per page; no plotted parser approaches 100%.
Text in image
ParseBench: An Enterprise Document Benchmark for Agents
We evaluate frontier models, OSS models, specialized parse providers (including LlamaParse)
No parser gets close to 100%, the benchmark is meant to be hard!
Overall vs. Cost
Y-axis: Overall score (%)
Y-axis ticks: 50, 60, 70, 80
X-axis: Cost per page (cents)
X-axis ticks: 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0
Legend: LlamaParse; VLMs; Specialized Document Parsers
Data labels: LP Agentic; LP Cost-Eff; Gemini (min); Gemini (high); Reducto; Reducto (agentic); Gemini Pro; GPT-5.4; Azure DI; Extend; Haiku 4.5 (think); Opus 4.6; Google DocAI; GPT-mini (med); Textract; GPT-mini (min); Haiku 4.5; LandingAI
LlamaIndex · Redefine Document Workflows with AI Agents
Parsing workloads favor different tradeoffs: financial extraction demands high accuracy, bulk indexing favors low cost, and real-time uploads need low latency. Liu says VLM-based approaches are often too slow for the agent loop.
Text in image
The Accuracy-Cost-Latency Pareto Curve
1. High Accuracy Regime: require ~99%+ accuracy, price insensitive
• e.g. financial data room extraction
2. Low Cost Regime: require 1M docs per day, accuracy above min threshold
• e.g. offline indexing a petabyte of Sharepoint data for retrieval
3. Low Latency/Low Cost Regime: require parsing massive volumes in seconds, price sensitive
• e.g. real-time file uploads to Cowork
VLM-based approaches are primarily good for latency-insensitive batch processing.
They are not great in the agent loop.
Overall vs. Cost
Y-axis: Overall score (%)
Y-axis ticks: 50, 60, 70, 80
X-axis: Cost per page (cents)
X-axis ticks: 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0
Legend: LlamaParse; VLMs; Specialized Document Parsers
Chart labels: LP Agentic; LP Cost-Eff; Gemini (min); Gemini (high); Reducto; Reducto (agentic); Gemini Pro; GPT-5.4; Azure DI; Extend; Haiku 4.5 (think); Opus 4.6; Google DocAI; GPT-mini (med); Textract; GPT-mini (min); Haiku 4.5; LandingAI
LlamaIndex · Redefine Document Workflows with AI Agents
Parsing workloads favor different tradeoffs: financial extraction demands high accuracy, bulk indexing favors low cost, and real-time uploads need low latency. Liu says VLM-based approaches are often too slow for the agent loop.
Text in image
The Accuracy-Cost-Latency Pareto Curve
1. High Accuracy Regime: require ~99%+ accuracy, price insensitive
• e.g. financial data room extraction
2. Low Cost Regime: require 1M docs per day, accuracy above min threshold
• e.g. offline indexing a petabyte of Sharepoint data for retrieval
3. Low Latency/Low Cost Regime: require parsing massive volumes in seconds, price sensitive
• e.g. real-time file uploads to Cowork
VLM-based approaches are primarily good for latency-insensitive batch processing.
They are not great in the agent loop.
Overall vs. Cost
Y-axis: Overall score (%)
Y-axis ticks: 50, 60, 70, 80
X-axis: Cost per page (cents)
X-axis ticks: 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0
Legend: LlamaParse; VLMs; Specialized Document Parsers
Chart labels: LP Agentic; LP Cost-Eff; Gemini (min); Gemini (high); Reducto; Reducto (agentic); Gemini Pro; GPT-5.4; Azure DI; Extend; Haiku 4.5 (think); Opus 4.6; Google DocAI; GPT-mini (med); Textract; GPT-mini (min); Haiku 4.5; LandingAI
LlamaIndex · Redefine Document Workflows with AI Agents
Parsing workloads favor different tradeoffs: financial extraction demands high accuracy, bulk indexing favors low cost, and real-time uploads need low latency. Liu says VLM-based approaches are often too slow for the agent loop.
Text in image
The Accuracy-Cost-Latency Pareto Curve
1. High Accuracy Regime: require ~99%+ accuracy, price insensitive
• e.g. financial data room extraction
2. Low Cost Regime: require 1M docs per day, accuracy above min threshold
• e.g. offline indexing a petabyte of Sharepoint data for retrieval
3. Low Latency/Low Cost Regime: require parsing massive volumes in seconds, price sensitive
• e.g. real-time file uploads to Cowork
VLM-based approaches are primarily good for latency-insensitive batch processing.
They are not great in the agent loop.
Overall vs. Cost
Y-axis: Overall score (%)
Y-axis ticks: 50, 60, 70, 80
X-axis: Cost per page (cents)
X-axis ticks: 0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0
Legend: LlamaParse; VLMs; Specialized Document Parsers
Chart labels: LP Agentic; LP Cost-Eff; Gemini (min); Gemini (high); Reducto; Reducto (agentic); Gemini Pro; GPT-5.4; Azure DI; Extend; Haiku 4.5 (think); Opus 4.6; Google DocAI; GPT-mini (med); Textract; GPT-mini (min); Haiku 4.5; LandingAI
LlamaIndex · Redefine Document Workflows with AI Agents
LiteParse v2 leads on 1- and 457-page PDFs (0.777 s for the latter); PyMuPDF leads on 24 and 60 pages. Timings use five warmup runs with OCR off. LiteParse also has the highest overall accuracy shown: 39.2%.
LiteParse provides a fast first pass for agent text search; the agent can use VLM-based OCR for deeper analysis. Beside the recommendation, a browser demo shows a PDF and a parsing interface.
Text in image
LiteParse: Fast, Free, Surprisingly Good Parsing
It is perfect as a default in the assistive agent loop:
• Extremely fast over any set of data
• Good enough that the agent can do text search
• The agent can decide to “zoom-in” with a VLM-based OCR tool if it needs to do deeper analysis.
Embedded PDF:
The NASA Technical Report Server
[illegible]
Abstract
[illegible]
Interface text:
LiteParse
PDF Parsing in the Browser
Fast, lightweight document parsing powered by WebAssembly. No server required — everything runs locally in your browser.
[illegible]
Drop a PDF here or click to browse
Ready. Drop a PDF to parse
Usage
[illegible]
LlamaIndex · Redefine Document Workflows with AI Agents
An agent can scan documents quickly for text search, then use slower VLM-based OCR to inspect pages with tables or charts in more depth.
Text in image
LiteParse: Fast, Free, Surprisingly Good Parsing
It is perfect as a default in the assistive agent loop:
• Extremely fast over any set of data
• Good enough that the agent can do text search
• The agent can decide to “zoom-in” with a VLM-based OCR tool if it needs to do deeper analysis.
LlamaIndex · Redefine Document Workflows with AI Agents
Interface text:
LiteParse
PDF Parsing in the Browser
[illegible]
Drop a PDF here or click to browse
Parsed 16 page(s) in [illegible]
Markdown
Wrap On
Copy
The NASA Technical Report Server
Abstract
Introduction
[illegible]
The document context layer spans parsing, extraction and search, and agentic workflows. The slide also marks agent-native formats, document versioning and long-horizon agents as unexplored areas.
Text in image
Great, what else is there besides parsing?
Document Context Layer
Parsing Layer
Semantic and Storage Layer
Agentic Layer
Today
Parsing Layer: Document OCR
Semantic and Storage Layer: Document Extraction; Document Search
Agentic Layer: Document Workflows
Unexplored
Parsing Layer: Agent-native Document Formats
Semantic and Storage Layer: Document Versioning; Document Editing; Document Permissions and Collaboration
Agentic Layer: Hillclimbing-as-a-service; Long-horizon agents
LlamaIndex · Redefine Document Workflows with AI Agents
The document context layer spans parsing, extraction and search, and agentic workflows. The slide also marks agent-native formats, document versioning and long-horizon agents as unexplored areas.
Text in image
Great, what else is there besides parsing?
Document Context Layer
Parsing Layer
Semantic and Storage Layer
Agentic Layer
Today
Parsing Layer: Document OCR
Semantic and Storage Layer: Document Extraction; Document Search
Agentic Layer: Document Workflows
Unexplored
Parsing Layer: Agent-native Document Formats
Semantic and Storage Layer: Document Versioning; Document Editing; Document Permissions and Collaboration
Agentic Layer: Hillclimbing-as-a-service; Long-horizon agents
LlamaIndex · Redefine Document Workflows with AI Agents
Schema-based extraction turns documents into structured outputs for downstream systems. The slide highlights data entry and batch ETL, then asks whether extracted values can be traced to their source.
Text in image
Document Extraction
Goal: Schema-based structured extraction over any document, regardless of document complexity or schema complexity.
Use Cases:
• Automate human data entry
• Batch ETL
• Add metadata for search
Extraction Modalities:
• Fast Extraction
• Agentic Extraction
Grounding and Semantics:
• Granular attribution
• Calibrated Confidence Scores
...can it prove where they came from?
LlamaIndex · Redefine Document Workflows with AI Agents
The demo shows extraction output with page and bounding-box fields and selectable content granularity. Liu says outputs include source citations, and confidence scores can flag uncertain values before they enter a system.
Text in image
Document Extraction
Goal: Schema-based structured extraction over any document, regardless of document complexity or schema complexity.
Use Cases:
• Automate human data entry
• Batch ETL
• Add metadata for search
Extraction Modalities:
• Fast Extraction
• Agentic Extraction
Grounding and Semantics:
• Granular attribution
• Calibrated Confidence Scores
Interface text:
JSON
[
{
"page": 1,
"bbox": {
"x": 267.02,
"y": 74.5,
"w": 38.61,
"h": 9.4
},
"span": [
0,
6
]
},
{
"page": 1,
"bbox": {
"x": 305.38,
"y": 74.5,
"w": 39.35,
View options
Content: Word
Collapse
Expand
Job
Layout
Line
Word
Cell
LlamaIndex · Redefine Document Workflows with AI Agents
The demo shows extraction output with page and bounding-box fields and selectable content granularity. Liu says outputs include source citations, and confidence scores can flag uncertain values before they enter a system.
Text in image
Document Extraction
Goal: Schema-based structured extraction over any document, regardless of document complexity or schema complexity.
Use Cases:
• Automate human data entry
• Batch ETL
• Add metadata for search
Extraction Modalities:
• Fast Extraction
• Agentic Extraction
Grounding and Semantics:
• Granular attribution
• Calibrated Confidence Scores
LlamaIndex
Sign up for LlamaParse today
www.llamaindex.ai
Interface text:
0:51 / 0:51
1x
LlamaIndex · Redefine Document Workflows with AI Agents