WhoBuilt

Building AI Agents that actually automate Knowledge Work

Jun 24, 2025· 18 min· 128K views·Watch on YouTube

Speaker

Jerry Liu, co-founder and CEO of LlamaIndex, explains how to build AI agents that automate knowledge work over unstructured documents at an AI Engineer talk.

Agents need a document toolbox

Liu argues that document agents need more than basic retrieval and one-shot answers. A toolbox can combine semantic search, file lookup, file manipulation, and structured queries, backed by connectors, permission-aware metadata, parsing, and indexing for sources such as SharePoint, Google Drive, S3, and Confluence.

Understand complex documents and spreadsheets

PDFs often contain tables, charts, images, and irregular layouts that are difficult to process reliably. Liu describes combining language and vision models with traditional parsing and agentic validation. For spreadsheets, LlamaIndex’s early-preview Excel agent maps unnormalized sheets into a structured format and supports questions over them; on synthetic sheets, it reached 95% accuracy versus a stated 90% human baseline.

Match the agent design to the task

Liu distinguishes assistant agents from automation agents. Assistants use a more open-ended tool loop and help people research or produce work through chat, while automation agents process batches in the background with more constrained workflows and review at the end. Examples include invoice reconciliation, contract review, financial data normalization, and spreadsheet extraction.

Combine automation with human review

Automation agents can process and structure data in the background, then supply tools and organized information to user-facing assistants. Liu’s examples include Carl’s leveraged buyout workflow, which ingests financial documents and provides analysts with a copilot, and technical data sheet processing that extracts information, applies business rules, and outputs structured data to SQL for review.

Takeaways

  • Build document agents on reliable parsing, permissions, metadata, and task-specific tools, not retrieval alone.
  • Choose an open-ended assistant workflow when people guide the work; constrain background automation and review its results in batches.
  • Treat spreadsheet layout and meaning as part of the data: irregular sheets may need structural mapping before question answering.
  • Use automation to structure large document collections, then expose the results through assistant interfaces for research and reporting.

Mentioned in this talk

Search inside this talk

What was claimed 11

Related talks