After months of work, our document parsing engine is now open source — built to kill AI…

Image 2

For a while, we’ve been working on a document parsing plugin called Knowhere — something we built to handle messy, unstructured data. Today, we’re excited to share that it’s officially open source.

Repo:https://github.com/Ontos-AI/knowhere

First, why did we build this?

If you‘ve built AI applications, you’ve felt the pain: models keep getting smarter, but throw a complex document at them — a 50‑page earnings report, a messy PDF — and they still fall apart.

AI either starts hallucinating or just says “I don‘t have that content.” The internet calls it “AI hallucination.”

At first I blamed the models. I tried Claude, GPT, you name it. But after a while, it became clear: the problem isn’t the model.

It‘s the garbage you feed into it.

Most document parsing tools today are brutally simple: they chunk everything by fixed token counts, slicing documents into disconnected pieces. But real documents have structure, hierarchy, cross‑references. Slice them blindly and all those connections break. The AI gets a pile of fragments and has to guess.

And when you throw in multi‑level table headers, complex Excel relationships, or mixed‑layout PPTs, traditional solutions just give up.

The result is: bad parsing → bad retrieval → AI makes stuff up → you get frustrated.

How Knowhere is different.

We spent a long time building a Tree‑like algorithm from scratch. The name says it pretty directly — it turns every document into a structured knowledge tree, not a pile of broken fragments.

Key differences:

  • Traditional approach:fixed‑length, brute‑force chunking. Headers get separated from content, cross‑page tables turn into garbage.
  • Knowhere:it preserves the document’s original hierarchy and logical relationships. Headers, paragraphs, tables, images — their ownership and context are all aligned during parsing.

The slices generated this way come with built‑in relationships. When the AI queries them, it doesn‘t have to guess. You can ask follow‑up questions and trace answers back to the exact source.

Some hard numbers from our tests.

We’ve run a lot of benchmarks. Here‘s what we’re seeing:

  • Multi‑modal parsing:PDF, Word, PPT, Excel, images — all supported. Information extraction completeness >95%.
  • Complex tables:multi‑level headers, a known pain point — Knowhere hits >90% accuracy and outputs clean HTML with full attributes. No extra correction steps downstream.
  • Token usage: down 50%+ compared to traditional RAG pipelines.
  • Parsing speed: 3x faster. A hundred documents can be processed in under 10 minutes.
  • Traceability: every output can be pinned to a specific location in the source document. This dramatically reduces hallucinations.
Image 3

We‘re also deeply integrated with the OpenClaw agent ecosystem as a native document parsing engine. Once you configure the API key, the agent automatically uses Knowhere — no new commands to learn.

What open source means for you.

With this release, the full document ingestion and parsing pipeline is open. You have two options:

  • SaaS version:zero setup, free 14‑day trial — no credit card required. Knowhere API
  • Self‑hosted: grab the repo and run it yourself.

pip install knowhere-self-hosted

openclaw plugins install @ontos-ai/knowhere-claw

A few honest words.

There are already solid open source PDF parsers out there — MinerU, Docling, Marker, etc. They all have their strengths. But most are general‑purpose document tools, not designed specifically for AI agents.

Knowhere’s focus is different: it‘s built from day one for LLMs and agents to consume. Parsing is just the first step. We’ll be adding retrieval APIs later to further lower inference costs and make data truly reusable.

Our team believes one thing: the ceiling of a large language model is set by the quality of the data you feed it.

If you‘re tired of AI hallucinations, give Knowhere a try. Found a bug or have an idea? Open an issue or reply here — I’ll get back to you.

And finally, a star on GitHub would mean the world to us ⭐

https://github.com/Ontos-AI/knowhere

Open source is a long road. Glad to walk it with you.


Originally published on Medium.

Check also

View Archive [ -> ]