Modules/Agents
Workflows
A Workflow
in LlamaIndex is a lightweight, event-driven abstraction used to chain together several events. Workflows are made up of handlers
, with each one responsible for processing specific event types and emitting new events.
Workflows are designed to be flexible and can be used to build agents, RAG flows, extraction flows, or anything else you want to implement.
To use workflows install this package:
npm i @llamaindex/workflow-core
pnpm add @llamaindex/workflow-core
yarn add @llamaindex/workflow-core
bun add @llamaindex/workflow-core
This contains the core functionality for the workflow system. You can read more about the core concepts in the workflow-core section.
In contrast, the @llamaindex/workflow
package contains more utiltities, such as prebuilt agents.
npm i @llamaindex/workflow
pnpm add @llamaindex/workflow
yarn add @llamaindex/workflow
bun add @llamaindex/workflow
Edit on GitHub
Last updated on