By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: Cloudflare Workflows Adds Python Support for Durable AI Pipelines
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > News > Cloudflare Workflows Adds Python Support for Durable AI Pipelines
News

Cloudflare Workflows Adds Python Support for Durable AI Pipelines

News Room
Last updated: 2025/11/19 at 2:32 PM
News Room Published 19 November 2025
Share
Cloudflare Workflows Adds Python Support for Durable AI Pipelines
SHARE

Workflows are Cloudflare’s offering, providing a durable execution engine to build multi-step application orchestration. It initially supported only TypeScript; it now also supports Python in beta, as it is, according to the company, the de facto language of choice for data pipelines, artificial intelligence/machine learning, and task automation for data engineers.

Cloudflare Workflows are built on the underlying infrastructure of Workers and Durable Objects. The latter provides the state persistence and coordination necessary for long-running processes, ensuring that workflows maintain their state and can retry individual steps in the event of failure.

The company introduced workflows a year ago and detailed its functionality:

A core building block of every Workflow is the step: an individually retriable component of your application that can optionally emit state. That state then persists, even if subsequent steps fail. This means your application doesn’t have to restart, allowing it to recover more quickly from failure scenarios and avoid redundant work.

In a recent blog post on Python support, the authors explain:

Over the years, we’ve been giving developers the tools to build these applications in Python, on Cloudflare. In 2020, we brought Python to Workers via Transcrypt before directly integrating Python into workerd in 2024. Earlier this year, we added support for CPython , along with any packages built in Pyodide, such as matplotlib and pandas, in Workers. Now, Python Workflows are supported as well, so developers can create robust applications using the language they know best.

Cloudflare Workflows uses the underlying infrastructure for durable execution, while providing an idiomatic way for Python users to write their workflows. In addition, the company aimed for complete feature parity between the JavaScript and Python SDKs, which is now possible because Cloudflare Workers supports Python natively. 

A significant focus of the company was ensuring the Python SDK feels “Pythonic.” The platform provides built-in support for asynchronous operations and concurrency, enabling developers to manage dependencies across steps, even when tasks can run concurrently.

This is achieved through two methods: one that leverages Python’s asyncio.gather for concurrent execution, which proxies JavaScript promises (thenables) into Python awaitables, and another, more idiomatic approach using Python decorators (@step.do) to define steps and dependencies, allowing for a cleaner declaration of Directed Acyclic Graph (DAG) execution flow. The engine automatically manages state and data flow between steps.

(Source: X Tweet Matt Silverlock)

The introduction of Python opens up Workflows to complex, long-running applications that benefit from orchestration:

  • AI/ML Model Training: Orchestrating sequences such as dataset labeling, feeding data to the model, awaiting model run completion, evaluating loss, and notifying a human for manual adjustment before continuing the loop.
  • Data Pipelines: Automating complex ingest and processing pipelines via a defined set of idempotent steps, ensuring reliable data transformation.
  • AI Agents: Building multi-step agents (e.g., a grocery agent that compiles lists, checks inventory, and places an order) where state persistence and retries are vital for reaching a successful conclusion.

Lastly, sample Python workflows are available on GitHub.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article The Biggest AI Companies Met to Find a Better Path for Chatbot Companions The Biggest AI Companies Met to Find a Better Path for Chatbot Companions
Next Article Does a split iPhone release schedule dilute Apple’s brand power? Does a split iPhone release schedule dilute Apple’s brand power?
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Save at Least 50% Off With These Early Black Friday Laptop, Tablet, and Security Camera Deals
Save at Least 50% Off With These Early Black Friday Laptop, Tablet, and Security Camera Deals
News
GCC 16 Compiler Now Ready For AVX10.2 & APX With Intel Nova Lake
GCC 16 Compiler Now Ready For AVX10.2 & APX With Intel Nova Lake
Computing
Salesforce acquires Bluebirds to boost AI-driven sales prospecting
Salesforce acquires Bluebirds to boost AI-driven sales prospecting
News
Black Friday 2025: Live updates on the latest deals, doorbusters, and drops
Black Friday 2025: Live updates on the latest deals, doorbusters, and drops
News

You Might also Like

Save at Least 50% Off With These Early Black Friday Laptop, Tablet, and Security Camera Deals
News

Save at Least 50% Off With These Early Black Friday Laptop, Tablet, and Security Camera Deals

21 Min Read
Salesforce acquires Bluebirds to boost AI-driven sales prospecting
News

Salesforce acquires Bluebirds to boost AI-driven sales prospecting

3 Min Read
Black Friday 2025: Live updates on the latest deals, doorbusters, and drops
News

Black Friday 2025: Live updates on the latest deals, doorbusters, and drops

2 Min Read
Amazon Introduces AI-Powered Video Recaps For TV Shows On Prime Video – BGR
News

Amazon Introduces AI-Powered Video Recaps For TV Shows On Prime Video – BGR

4 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?