LlamaIndex pitches two-pass just-in-time OCR: parse data rooms in 32s, zoom only where needed
llama_index · x · 2026-09-15
LlamaIndex's official account argues that parsing every page upfront is slow and expensive for agents working through ad-hoc data rooms, since most pages never get read. The proposed pattern is two-pass just-in-time OCR:
- Pass 1: LiteParse (free, OSS, Rust, 50+ formats) does a fast layout-aware parse — spatial text, bounding boxes, headings, tables, and a per-page complexity flag — processing a full data room in 32 seconds.
- Pass 2: LlamaParse zooms in only on flagged pages, returning cell-level tables, bounding boxes, and confidence scores, while the rest stays as background.
The post notes pypdf and pdftotext can't handle the first pass well, and full upfront parsing can't be cheap — the two-pass approach gets you both speed and precision.
Related event: LlamaIndex Proposes Just-in-Time OCR for Agent Document Processing(2 posts)→
More from coding & agent
- One stale date silently broke a WhatsApp reply agent: 19 messages unanswered — petrusenko_max · 2026-11-02
- The 10X engineer is now just a SKILLS.md: 6 workflow rules for AI coding agents — mdancho84 · 2026-11-02
- Auditing my MCP credential broker: the worst hole was the config file — Relevant_Mousse_9117 · 2026-11-02
- AWS's open-source Strands Harness claims 45% cheaper than Claude Code, reigniting harness debate — blaizedsouza · 2026-11-02
- Xiaomi MiMo's CodeSpecWeave trains coding agents on interdependent specs for long-horizon coding — XiaomiMiMo · 2026-11-02
- Sketchy v0.1.6: AI diagrams use 29% fewer output tokens than plain text — Nkgsporty · 2026-11-02