need coherent data + agent layer • LlamaIndex = opinionated toolkit for RAG and tool-using agents and workflows • Strengths: rich data connectors, retrieval engines, agent runtimes, callbacks • Outcome: faster prototypes → production with less glue code • Think of why we need Expressjs, Nestjs, Nextjs for web development
LlamaIndex is an event-driven abstraction used to chain together several events. • Workflows are made up of steps. • Steps handle events and emit events. • Events in Python SDK are Pydantic models. • Each workflow must define exactly one StartEvent. • The entrypoint could be StartEvent or an event that extends StartEvent. • A workflow stops when a StopEvent is emitted. https://developers.llamaindex.ai/python/workflows/