Looking for the latest Prefect 2.0 release? Prefect 2.0 and Prefect Cloud 2.0 have been released for General Availability. See https://docs.prefect.io/ for details.

Prefect 1.0 Core, Server, and Cloud are our first-generation workflow and orchestration tools. You can continue to use them and we'll continue to support them while migrating users to Prefect 2.0.

If you're ready to start migrating your workflows to Prefect 2.0, see our migration guide.

If you are unsure which Prefect version to choose for your specific use case, this Prefect Discourse page may help you decide.

# Automate all the things

If you can do it with Python, you can automate it with Prefect.

# Test local, deploy global

Workflows are developed and tested locally, then deployed for execution at scale.

# Simple but powerful

Prefect Cloud is powered by GraphQL, Dask, and Kubernetes, so it's ready for anything.


# Prefect

We've rebuilt data engineering for the data science era.

Prefect is a new workflow management system, designed for modern infrastructure and powered by the open-source Prefect Core workflow engine. Users organize Tasks into Flows, and Prefect takes care of the rest.

Read the docs; get the code; ask us anything; chat with the community via Prefect Discourse!

# Hello, world! 👋

from prefect import task, Flow, Parameter


@task(log_stdout=True)
def say_hello(name):
    print("Hello, {}!".format(name))


with Flow("My First Flow") as flow:
    name = Parameter('name')
    say_hello(name)


flow.run(name='world') # "Hello, world!"
flow.run(name='Marvin') # "Hello, Marvin!"