llama-index-workflows
An event-driven, async-first, step-based way to control the execution flow of AI applications like Agents.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive MIT license, and fills a clear need for orchestrating complex AI workflows. It's well-suited for production AI applications that require multi-step reasoning, state management, and observability. Start with it if you're building agents, document pipelines, or multi-model AI systems that need reliable async coordination.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; workflows are async-first and work best in async contexts like FastAPI or Jupyter Notebooks.
- Low friction installation with only three runtime dependencies (pydantic, llama-index-instrumentation, typing-extensions).
- Package is actively maintained with a recent release.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.
last release 2026-08-12 (2 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 12,207,324 downloads/mo, #1,335 on PyPI
Alternatives
Verify before relying
pip install llama-index-workflows
import asyncio
from pydantic import BaseModel
from workflows import Context, Workflow, step
from workflows.events import StartEvent, StopEvent
class MyWorkflow(Workflow):
@step
async def start(self, ctx, ev: StartEvent) -> StopEvent:
return StopEvent(result=ev.input_msg)
asyncio.run(MyWorkflow().run(input_msg="test"))- Whether llama-index-instrumentation is a required dependency or optional for observability features
- Performance characteristics and scalability limits for large numbers of concurrent workflow runs
- Integration requirements with Arize Phoenix and OpenTelemetry mentioned in the description
What it is and what it does
LlamaIndex Workflows is a framework for building complex, multi-step AI applications using an async-first, event-driven architecture. It lets you define workflows as a series of steps—async functions that process events and emit new events to other steps—with built-in state management so each workflow run is self-contained and can be serialed and resumed. The framework handles routing between capabilities, parallel processing, looping, and state persistence, and automatically instruments workflows for observability with tools like Arize Phoenix and OpenTelemetry.
You define workflows by subclassing Workflow and decorating async methods with @step, specifying which events they accept and which they emit. Steps that accept StartEvent run first, steps that emit StopEvent end the workflow, and intermediate events pass data between steps. A Context object lets you share state and information across steps within a single run. The async-first design means workflows integrate naturally with async frameworks like FastAPI and Jupyter Notebooks.
Use it for
- Build AI agents that reason, make decisions, and take actions across multiple steps with state preservation.
- Create document processing pipelines that ingest, analyze, summarize, and route documents through processing stages.
- Coordinate between different AI models (LLMs, vision models) to solve complex tasks in a single workflow.
- Develop research assistants that search, analyze, synthesize information, and provide comprehensive answers.
- Build customer support automation systems that route, categorize, and respond to inquiries intelligently.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive MIT license, and fills a clear need for orchestrating complex AI workflows. It's well-suited for production AI applications that require multi-step reasoning, state management, and observability. Start with it if you're building agents, document pipelines, or multi-model AI systems that need reliable async coordination.
Install
llama-index-workflows on PyPI
Before you install
Low friction installation with only three runtime dependencies (pydantic, llama-index-instrumentation, typing-extensions). Package is actively maintained with a recent release.
Requires Python 3.10 or later; workflows are async-first and work best in async contexts like FastAPI or Jupyter Notebooks.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects.
Quickstart
pip install llama-index-workflows
import asyncio
from pydantic import BaseModel
from workflows import Context, Workflow, step
from workflows.events import StartEvent, StopEvent
class MyWorkflow(Workflow):
@step
async def start(self, ctx, ev: StartEvent) -> StopEvent:
return StopEvent(result=ev.input_msg)
asyncio.run(MyWorkflow().run(input_msg="test"))
Verify before relying
- Whether llama-index-instrumentation is a required dependency or optional for observability features
- Performance characteristics and scalability limits for large numbers of concurrent workflow runs
- Integration requirements with Arize Phoenix and OpenTelemetry mentioned in the description
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesllama-index-instrumentationpydantictyping-extensions |
| Maintenance | Actively maintained 2 days since the last release |
| First released | |
| Downloads | 12,207,324 / month, #1,335 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: llama_index_workflows-2.23.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “event-driven AI pipeline”
- llama-index-workflowsAn async-first, event-driven framework for orchestrating multi-step…
- xpander-sdkPython SDK for building, deploying, and managing AI agents on the…
- autogen-coreAutoGen Core provides a runtime and foundational interfaces for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also llama-index-multi-modal-llms-openai · llama-index · llama-index-llms-vertex · llama-index-agent-openai · llama-index-utils-workflow · llama-index-tools-mcp · llama-index-llms-openai-like · llama-index-program-openai · llama-index-question-gen-openai · eventkit