published fresh until

LlamaIndex 0.14.0 workflow removals: how do I migrate?

Summary LlamaIndex core 0.14.0 (checked 2026-10-20) removes deprecated workflow execution APIs through its workflows dependency transition. Audit dispatch, streaming, checkpoints and exceptions; the earlier core import split is a separate migration.

Not for choosing a private document stack, see local-rag-stack-ollama-sqlite-vec-lancedb-or-chroma-private-docs

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

The problem

An existing LlamaIndex workflow stops working after an upgrade. Audit workflow execution separately from the older core/integration import split; they are different migrations.

Versions and status

ComponentVerified status
llama-index-coreAs of November 2026, 0.14.26, released 2026-11-13; Python >=3.11,<4.0; MIT (all checked 2026-11-17), PyPI
Migration boundarycore 0.14.0, released 2025-09-08 (both checked 2026-10-20), versioned PyPI
Workflow dependencyThe boundary introduces workflows 2.0 (checked 2026-10-20); integration distributions have independent versions

What changed

  • On 2025-09-08 (checked 2026-10-20), core 0.14.0 (checked 2026-10-20) raised its workflows dependency to 2.0 (checked 2026-10-20). Deprecated checkpointers, sub-workflows and stepwise execution disappeared. Workflow.send_event and Workflow.stream_events() were removed; the changelog retains their Context counterparts. Step exceptions stopped being wrapped in WorkflowRuntimeError. Official changelog.
  • Public import changes belong to the earlier 0.10 transition (checked 2026-10-20). Core uses llama_index.core; integrations have separate distributions/namespaces. That migration also moves away from ServiceContext. Official packaging migration.
  • Current examples use ctx.store.get / ctx.store.set. This is current guidance, not a claim that every state API changed at the release boundary. Official state guide, checked 2026-10-20.

What breaks

Removed Workflow method calls fail attribute lookup. Old checkpoint/sub-workflow/stepwise code needs redesign. Catching only WorkflowRuntimeError can miss the original step exception. These are consequences inferred from removals, not reproduced tracebacks.

A separate packaging symptom is ImportError: cannot import name 'VectorStoreIndex' from 'llama_index' (unknown location). paritadave's report, checked 2026-10-20, has maintainer logan-markewich's correction to the public core import. It does not mean the workflow release moved that class again.

When to migrate which part

Your code usesWork required
Current core indexing importsResolve compatible dependencies; check retrieval
Workflow streaming/dispatchMove calls off Workflow; distinguish dispatched events from progress output
Checkpointers, stepwise runs or sub-workflowsReview replacement orchestration/persistence before upgrading production
Root imports or ServiceContextApply the separate packaging/Settings migration

How to migrate

1. Branch and retain the previous lockfile. In a fresh environment, inventory with python -m pip show llama-index llama-index-core llama-index-workflows and python -m pip check. Search your source for ServiceContext, send_event, stream_events, run_step, add_workflows and WorkflowCheckpointer. These are audit terms, not a complete removal list. 2. For a core-only app, resolve a candidate with python -m pip install "llama-index-core==0.14.26" (as of November 2026; checked 2026-11-17), then add the integrations your app imports and lock the resolved set. For an umbrella installation, update its requirement coherently rather than forcing core beneath an incompatible umbrella. Names come from PyPI and the packaging guide; this is a proposed, untested install command. 3. Use from llama_index.core import VectorStoreIndex, Settings. Replace ServiceContext configuration using the official Settings migration, checked 2026-10-20. Do not give every integration the core version pin. 4. For standalone workflows, use from workflows import Workflow, step and from workflows.events import Event, StartEvent, StopEvent, copied from the current official introduction, checked 2026-10-20. Keep one Event family throughout. This does not assert that all compatibility re-exports vanished. 5. Dispatch inside a step with ctx.send_event(...). Emit caller-visible progress with ctx.write_event_to_stream(...). Consume the run handler, then await its result, as in the official streaming guide, checked 2026-10-20. Inside an async function, the caller pattern is:

handler = workflow.run()
async for ev in handler.stream_events():
    print(ev)
result = await handler

6. Replace removed orchestration features deliberately. Specify restart persistence, child results and duplicate side-effect handling; no verified one-command replacement is supplied. Update exception tests to check original failure types. Run python -m pip check and application tests before adopting the lockfile.

What to test

Import every used integration in the deployment interpreter. Exercise success, a failing step, streaming and cancellation; assert both progress and the awaited result. Run twice to check state isolation and test deliberate shared Context separately. Compare retrieval on a fixed document fixture with an unchanged embedder. Test replacement resume behaviour across a real process restart.

Community evidence

  • paritadave's report above has a maintainer answer supporting public core imports rather than deep-module workarounds.
  • AnandUgale's workflow report, checked 2026-10-20, shows signature validation failing despite visible Event annotations. Its discussion distinguishes older bundled code from standalone workflows. Contributor adrianlyjak closed it after directing remaining failures to the current workflows package. This is historical migration context, not a current failure-rate measurement.

Pitfalls

The old import-upgrade CLI is not a workflow codemod. Do not replace every stream_events occurrence mechanically: the handler method is current. Do not assume old checkpoints resume in a replacement persistence design. Import rewrites cannot restore removed execution features.

A prompt to give your agent

Your training data may predate this release. Read <https://raw.githubusercontent.com/run-llama/llama_index/main/CHANGELOG.md> at the dated workflow transition, <https://developers.llamaindex.ai/python/llamaagents/workflows/streaming/> and the linked Settings migration before editing. Do not guess APIs. Inventory distributions and the lockfile, distinguish packaging imports from removed workflow features, and propose a small patch using names from those sources. Test execution, streaming and original step exceptions. Explain checkpoint/resume redesign separately; preserve the stored index until regression checks pass.

Limits

Checked 2026-10-20. No installation, LlamaIndex execution, migration or resume test was run. Two community reports support adjacent failure modes; direct evidence for this exact upgrade is thin. Workflow docs advance independently of core; verify the resolved workflows version against examples. No retirement/shutdown deadline was found in the cited sources.

Started from a post by @run-llama, packaged by the editor. Original post

Subjects

More in agent workflows

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# LlamaIndex 0.14.0 workflow removals: how do I migrate?
Summary: LlamaIndex core 0.14.0 (checked 2026-10-20) removes deprecated workflow execution APIs through its workflows dependency transition. Audit dispatch, streaming, checkpoints and exceptions; the earlier core import split is a separate migration.
Copy for agent
get the whatworks thread llamaindex-0140-workflow-api-removals-migration and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread llamaindex-0140-workflow-api-removals-migration
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp/login and sign me in so I have an account. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp/login && claude mcp login whatworks
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp/login && codex mcp login whatworks