# Hebbia pre-processes most document work before a query

Markdown copy of https://realalpha.app/s/hebbia-pre-processes-most-document-work-before-a-query/ on Real Alpha, the best minutes from long interviews with the people building AI. Cite and link the page, not this copy.

- Speaker: [George Sivulka](https://realalpha.app/builders/george-sivulka/) · George Sivulka is founder and CEO of Hebbia. · Founded Hebbia in 2020, an AI platform for finance and legal research, after leaving Stanford's PhD program.
- Host: [Matt Turck](https://realalpha.app/people/matt-turck/) · Managing Director, FirstMark · Publishes the annual MAD landscape of data and AI; sold TripleHop to Oracle.
- Show: The MAD Podcast
- Episode: [AI That Ends Busy Work — Hebbia CEO on “Agent Employees”](https://realalpha.app/v/MCMxSFoINUE/), May 29, 2025
- Moment: 26:12 to 28:28 of the episode (2 min), playing on https://realalpha.app/s/hebbia-pre-processes-most-document-work-before-a-query/; the episode from there: https://realalpha.app/v/MCMxSFoINUE/?t=1572

## Quote

> “You want these agents to be doing **work ahead of time**.”
> — [George Sivulka](https://realalpha.app/builders/george-sivulka/) at [27:10](https://realalpha.app/v/MCMxSFoINUE/?t=1630) · The MAD Podcast

## Takeaways

1. Documents get pre-processed based on type and context.
2. The goal is to do 90% of the work before a query.
3. Unpredictable events are handled on the fly.

## About this segment

Hebbia enriches documents with schemas before users ask questions, then handles unpredictable events in real time. George Sivulka says the goal is to complete 90% of the work in advance.

From “AI That Ends Busy Work — Hebbia CEO on “Agent Employees””, May 29, 2025. [Watch the full episode](https://realalpha.app/v/MCMxSFoINUE/)

## Transcript

Transcribed by machine (Whisper) from the episode’s audio, so a word may be off here and there.

[26:15](https://realalpha.app/v/MCMxSFoINUE/?t=1575) So presumably to start with, you need to connect with a bunch of sources of enterprise data and process the data. So how does that stage of ingestion work? Ingestion and indexing is like one of the fundamental pieces of having any knowledge work application. There's many, there's different steps to it. So first is just like collecting the data sources and hooking into as many providers as possible.

[26:41](https://realalpha.app/v/MCMxSFoINUE/?t=1601) And that's not fun or not technical. The more interesting thing is, actually, once you have the data, how you index it. We believe that you can do a lot of pre-processing. And I'm not talking about keyword search and building a BM25 index or having some sort of semantic search index with embeddings, even your super long embeddings that are coming out. That's not actually that interesting to our users.

[27:05](https://realalpha.app/v/MCMxSFoINUE/?t=1625) Again, that's good at doing searches. It's good at finding things in the data. But you want to start to process information before the user even asks a question. You want these agents to be doing work ahead of time. What we do instead is we actually ingest documents and pre-process, pre-populate, depending on the doc type, depending on the context of the document, a really rich schema and understanding of each document.

[27:30](https://realalpha.app/v/MCMxSFoINUE/?t=1650) That ideally would be, hey, we pre-index and pre-done 90% of the work. At the same time, that's not enough for asking and running user questions on the fly. And for the 10% of the work, i.e., okay, this war just broke out here, or this crisis is happening here, or this event that you couldn't have predicted is happening, we use the same indexing engine and the same infrastructure to run things on the fly.

[27:55](https://realalpha.app/v/MCMxSFoINUE/?t=1675) And so you can consider any query that goes through Hebbia or that goes through Matrix. as a combination of a lot of pre-indexed work and then some stuff that's on the fly and custom. And the pipeline to do that from parsing documents, sometimes using multimodal documents to figure out formatting and structure and images, actually how we then go and run that index and what we're retrieving over and how do we save the work of the pre-indexing agents.

[28:20](https://realalpha.app/v/MCMxSFoINUE/?t=1700) All of those are interesting search problems that I could talk about for a while. That's a bit of the thesis behind how we index.
