Voss describes LlamaIndex as a Python and TypeScript framework for generative AI applications, with a focus on agents and retrieval-augmented generation. Its offerings include LlamaParse for extracting information from complex documents, LlamaCloud for managed retrieval, and LlamaHub integrations for data sources, vector databases, and LLMs. She says a framework can reduce boilerplate and help teams reach production faster.
Effective agent design patterns in production
Speaker
Laurie Voss, VP of Developer Relations at LlamaIndex, presents at the AI Engineer conference on production agent design patterns and how RAG supports them.
Voss defines an agent as semi-autonomous software that uses tools to pursue a goal without a programmer specifying every step. She recommends agents for tasks that benefit from handling unexpected inputs, especially turning unstructured text into smaller outputs such as answers, reports, decisions, or structured data for existing software.
Voss says LLMs need relevant company or domain data to produce useful answers. RAG embeds a data collection and a query, retrieves nearby relevant context, and sends that smaller selection to the model instead of the full corpus. She argues that adding an agent lets a system break down questions, retry poor extraction, and review its answers, improving RAG accuracy and speed.
Voss covers chaining, routing, parallelization, orchestrator-workers, and evaluator-optimizers. Parallel tracks can handle separate tasks, such as checking a request against guardrails while processing it, or compare multiple answers to reduce hallucinations. Orchestrator-workers split complex questions into simpler ones for parallel work, while evaluator-optimizers assess an answer and send feedback for another attempt.
Voss says the patterns can be combined into workflows for different circumstances. In LlamaIndex, tools can be Python functions wrapped as steps, and FunctionAgents can use prompts, an LLM, and tools. She briefly shows how multiple agents can pass control among themselves and points listeners to a notebook for building a deep research agent.
Takeaways
- Use agents when a task needs flexible tool choices or must handle unexpected inputs.
- Ground answers in relevant retrieved data rather than sending an entire corpus to the model.
- Try parallel work for independent checks, such as processing a request and checking guardrails.
- Break multipart questions into smaller subtasks, then aggregate the results into one answer.
- Add an evaluation step that checks whether the output met its goal and can trigger a retry.
Mentioned in this talk
Search inside this talk
What was claimed 8
- works atLaurie Voss works at LlamaIndexVP of Developer Relations
“I'm VP of Developer Relations at LlamaIndex.”
YouTube Verified2 sources· Talk, Web· archived
- featureLlamaIndex: Parses complicated document formatsParses complicated document formats
“a service called LlamaParse, which parses complicated document formats”
YouTube Unverified1 source· Talk
- metricLlamaIndex: 400 models across over 80 LLM providers
“400 different models across over 80 LLM providers”
YouTube Unverified1 source· Talk
- featureLlamaIndex: Registry of open-source software integrations and adaptersRegistry of open-source software integrations and adapters
“a huge registry of open-source software that plugs into the framework”
YouTube Unverified1 source· Talk
- featureLlamaIndex: Document ingestion service that provides a retrieval endpointDocument ingestion service that provides a retrieval endpoint
“stuff documents in one end and get a retrieval endpoint out of the other”
YouTube Unverified1 source· Talk
- featureLlamaIndex: Builds workflows from Python functions and typed eventsBuilds workflows from Python functions and typed events
“define regular Python functions ... then use type annotations to define how events pass”
YouTube Unverified1 source· Talk
- featureworkflow: Supports concurrent events and collecting them downstream
“emit multiple events simultaneously and then collect those events at the other end”
YouTube Unverified1 source· Talk
- featureLlamaIndex: FunctionAgent takes a system prompt, an LLM, and a set of toolsFunctionAgent takes a system prompt, an LLM, and a set of tools
“You create a FunctionAgent, which takes a system prompt, an LLM, and a set of tools”
YouTube Unverified1 source· Talk









