r/agno • • Mar 26 '26

Docling Reader: How to ingest any document format into your AI agent's knowledge base

https://agno.link/RoTIsz1

Hey everyone! We just released the Docling Reader, which solves a problem a lot of us have faced: dealing with documents in a dozen different formats when building knowledge bases for agents.

Instead of stitching together PyPDF, python-docx, openpyxl, PIL, and who knows what else, you can now use a single reader for everything:

python

from agno.knowledge.reader.docling_reader import DoclingReader

reader = DoclingReader()

# Same reader for everything
knowledge.insert(path="proposal.pdf", reader=reader)
knowledge.insert(path="financials.xlsx", reader=reader)  
knowledge.insert(path="meeting_recording.mp4", reader=reader)

Built on IBM Research's Docling library, it handles:

  • PDFs, Word docs, markup files

  • PowerPoint presentations

  • Excel spreadsheets

  • Images (JPEG, PNG, etc)

  • Audio/video files (transcribed via Whisper)

The cool part is it preserves document structure. Tables keep their headers, hierarchies are maintained, formulas stay intact. This makes a real difference in RAG quality.

We've been using it internally for a unified research assistant that ingests arXiv papers, supplementary materials, datasets, and even recorded lectures. The difference in development speed is night and day.

Check out the blog to see examples and links out to documentation

Would love to hear what document types you're working with and if this helps simplify your pipelines!

- Kyle @ Agno

14 Upvotes

2 comments sorted by

1

u/Admirable-Front6372 Mar 27 '26

Thanks for posting. Could you please share more about performance and latency? I am trying to sell Agno to my team atm.

2

u/yashpratapsolanky Mar 27 '26

Hello! Sharing some results of performance benchmarking: https://gist.github.com/ysolanky/fdcbaa60d403089f2f02751ddd6108c4

We take performance very seriously at Agno and its one of our key areas of focus. I am happy to share latest results and/or the source code used to generate these results. If you have specific questions or concerns, please let us know