We do this in two parts:
1. First define a single execution step using LlamaIndex query pipelines to define an agentic DAG. We use special components to maintain mutable state; this state can be carried over to the next step of execution.
2. We can then wrap this DAG in an agent worker that can execute this DAG step-by-step or e2e until complete.
Colab: https://colab.research.google.com/drive/1jRzrECJwqWY0bJWsTAVubsHW29ohFn-l?usp=sharing
Timeline:
00:00-10:42 Intro
10:42-13:04 Setup Data + SQL Tool
13:04-23:06 Define Agent Modules
23:06-26:27 Define Links between Modules
26:27 Setup and Run Agent
Add comment