← All popular talksPopular talk #28

The Future of Knowledge Assistants: Jerry Liu

Read the talk

Beyond Basic RAG: Building Knowledge Assistants That Can Plan, Remember, and Collaborate

Selected presentation frame from The Future of Knowledge Assistants: Jerry Liu at 94 seconds
Beyond Basic RAG: Building Knowledge Assistants That Can Plan, Remember, and Collaborate

Jerry Liu outlines a progression from reliable document processing to agentic query execution and coordinated agent services, with production readiness as the organizing constraint.

From a talk by Jerry Liu

At a glance

Ideas worth remembering

  • A useful knowledge assistant must handle varied tasks and output formats; basic RAG alone does not provide robust planning, service interaction, or conversational memory. 1:14

  • Preserving document structure during parsing can prevent tables and schedules from becoming misleading model inputs, reducing hallucinations before more advanced retrieval is introduced. 4:11

  • Agentic RAG extends retrieval with tool use, query planning, and persistent state, enabling workflows that span multiple documents and both structured and unstructured data. 6:57

  • Specialist agents can avoid overwhelming one model with hundreds or thousands of tools and may create opportunities for parallel execution and lower-cost, faster models. 9:07

  • A production-oriented multi-agent architecture treats agents as independent services coordinated through a message queue and control plane, with either explicit workflows or model-directed delegation. 11:00

  • The proposed Llama Agents architecture is explicitly alpha-stage, and reliable orchestration, service boundaries, communication protocols, and integration remain active design challenges. 10:04

A knowledge assistant must do more than retrieve passages

Selected presentation frame from The Future of Knowledge Assistants: Jerry Liu at 113 seconds
A knowledge assistant must do more than retrieve passages

Jerry Liu, Co-Founder & CEO of LlamaIndex, frames knowledge assistants as interfaces that accept many kinds of work, from straightforward questions to ambiguous research tasks, and return outputs ranging from concise answers to research reports or structured data. This framing expands beyond document search into systems that can preserve conversational context, interact with services, and potentially take actions on a user’s behalf. 0:14

A basic RAG pipeline can be assembled from parsing, sentence splitting, chunking, top-k retrieval, and a single model response, but Liu argues that this convenience obscures important production limitations. Naive pipelines can mishandle source documents, struggle with broad or complex queries, lack sophisticated service interactions, and remain stateless across conversations. 1:14

The proposed progression has three layers: stronger data and retrieval modules, more capable single-agent query flows, and coordinated multi-agent task solving. The ordering matters: agent orchestration cannot substitute for usable source data, while better retrieval alone does not provide planning, memory, or reliable coordination across specialized capabilities. 2:12

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

0:14 · section reference included

Production quality begins with document structure

Selected presentation frame from The Future of Knowledge Assistants: Jerry Liu at 292 seconds
Production quality begins with document structure

Liu identifies parsing, chunking, and indexing as the core components of the data-processing layer. Its job is to transform raw, unstructured, or semi-structured material into a representation that an LLM application can actually use, because retrieval and answer quality remain constrained by the quality of the underlying information. 3:02

Parsing is especially consequential when documents contain layouts that cannot be reduced safely to a flat text stream. Liu describes a financial report in which poor PDF extraction collapses a table, blending numbers with surrounding text; when the model encounters that damaged representation, the resulting answer can contain hallucinations even if the subsequent retrieval machinery is otherwise sophisticated. 4:11

His Caltrain weekend-schedule example illustrates the mechanism more concretely: a parser that preserves the spatial organization of the timetable allows the model to associate train times with the correct columns, whereas a parser that destroys that structure produces unreliable answers. The practical implication is that improved parsing can reduce hallucinations before any advanced indexing, retrieval, or agent behavior is added. 4:11

The same concern extends to enterprise document collections containing embedded charts, tables, and images. Liu presents LlamaParse and Llama Cloud in connection with processing these materials and handling decisions around parsing, chunking, and indexing, while also noting that document-quality improvements remain useful even for teams that do not want to adopt agents. 5:11

How it fits togetherHow document structure improves answers

Weekend schedule with spatially organized columns.

Preserved timetable layout makes the correct train times accessible during question answering.

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

3:02 · section reference included

Single agents turn retrieval into a planned, stateful workflow

Selected presentation frame from The Future of Knowledge Assistants: Jerry Liu at 432 seconds
Single agents turn retrieval into a planned, stateful workflow

Once the data layer is reliable, Liu’s next step is to move beyond a single prompt that merely synthesizes retrieved passages. In Agentic RAG, the model participates in understanding the request, deciding which services to consult, and planning how to combine their outputs, rather than forwarding every question directly to the same vector database. 6:04

The core ingredients are function calling and tool use, query planning, and conversation memory. Plans may execute sequentially or follow a DAG, while persistent conversation state lets the application revisit what a user previously needed instead of treating each request as an isolated event. 6:57

Liu describes a function-calling or React-style while loop as the most stable agent reasoning pattern he has observed, while also identifying DAG-based and tree-based planning as more elaborate alternatives. These approaches can support comparisons across multiple documents, combine structured and unstructured data through a common tool-oriented interface, and deliver more personalized question answering. 8:03

Additional capability introduces tradeoffs: simpler components generally come with lower cost and lower latency, whereas more extensive agent systems increase sophistication and operational complexity. The appropriate design therefore depends on whether a given task actually needs richer planning, tool interaction, or collaboration rather than assuming maximal agent behavior is always preferable. 6:04

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

6:04 · section reference included

Specialized agents address the limits of a single generalist

Selected presentation frame from The Future of Knowledge Assistants: Jerry Liu at 589 seconds
Specialized agents address the limits of a single generalist

A single agent cannot reliably absorb an unlimited range of responsibilities. Liu uses the example of giving one agent 1,000 tools: with current model capabilities, the agent is likely to struggle, which motivates assigning narrower responsibilities and smaller tool sets to specialist agents. 8:03

A multi-agent system can compose those specialists into a broader task-solving workflow while allowing each participant to operate within a more focused scope. Separate agents can also process independent work in parallel, and an agent limited to roughly five to ten tools may be able to use a weaker, faster model instead of requiring one highly capable agent to reason across an enormous tool catalog. 9:07

These benefits are presented as potential improvements in reliability, latency, and cost rather than guaranteed outcomes. Production systems still need to decide how much autonomy agents should have, whether their interactions should remain unconstrained or follow explicit rules, and what service architecture can support dependable operation beyond notebook-based functions. 10:04

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

8:03 · section reference included

Treat agents as services, not notebook functions

Selected presentation frame from The Future of Knowledge Assistants: Jerry Liu at 856 seconds
Treat agents as services, not notebook functions

Liu introduces Llama Agents as an alpha-stage approach that represents each agent as an independent microservice. The objective is to move from agents implemented as notebook functions toward deployable services that encapsulate their own logic, communicate through a shared interface, handle multiple requests, and can be reused across different tasks. 11:00

In the proposed architecture, agents may be implemented with LlamaIndex or another framework and then deployed as separate services. A message queue carries interactions between them, while a control plane coordinates execution; orchestration can either follow explicitly defined service flows or rely on an LLM orchestrator to delegate work according to the current state. 12:06

The demonstration deliberately starts with a modest RAG workflow: one agent rewrites an incoming query, and another performs search and retrieval before returning a response. Additional services could provide reflection, other tools, or a general tool service, but the central lesson is that even familiar retrieval logic becomes operationally different when its components communicate through an API protocol and can serve concurrent requests. 13:00

The limitations are important: Liu explicitly describes Llama Agents as an alpha feature and identifies communication protocols, integration with other community work, and the project roadmap as ongoing areas for feedback. The talk therefore presents multi-agent microservices as a developing production architecture, not as evidence that every knowledge assistant already requires or benefits from a complete multi-agent deployment. 10:04

How it fits togetherService-based RAG request flow

A client submits a query.

Two agent services rewrite a query and retrieve information before returning a response.

Suggest correction

This note stays in this page until you copy or download it. Nothing is submitted; reloading clears the draft.

10:04 · section reference included