PipesHub dumped Docling for pdfplumber: parse time halved, memory down 1GB

Effective-Ad2060 · reddit · 2026-10-29

PipesHub, an open-source context layer for AI agents (connects Slack, Drive, Jira, GitHub, M365; self-hostable via MCP/SDKs), shares a PDF parsing engineering retro. Docling blew up memory and took too long on large PDFs on consumer laptops, and splitting PDFs didn't help.

New path: built around pdfplumber — read the existing text layer, apply layout rules, and run a layout model only on pages that need it (still reusing Docling's heron model). The first version was fast but missed content: financial tables were treated as images, so numbers never reached the index; that had to be fixed first.

Results:

Trade-off: Docling still wins on figure detection, table structure and captions; for text-layer-heavy PDF workloads, this hybrid was worth it. Full write-up and MIT code are public.

Original post →

More from coding & agent

coding & agent channel →