docs/v3/get-started/index.mdx
Prefect is an open-source orchestration engine that turns your Python functions into production-grade data pipelines with minimal friction. You can build and schedule workflows in pure Python—no DSLs or complex config files—and run them anywhere you can run Python. Prefect handles the heavy lifting for you out of the box: automatic state tracking, failure handling, real-time monitoring, and more.
Use the Prefect MCP server to connect assistants like Claude Code, Cursor, Codex CLI, and Gemini CLI to your Prefect environment.
<CardGroup cols={2}> <Card title="Set up the server" icon="chart-network" href="/v3/how-to-guides/ai/use-prefect-mcp-server"> Install once to inspect deployments, flow runs, task runs, and logs while using integrated docs search. </Card> <Card title="Review security model" icon="shield" href="https://github.com/PrefectHQ/prefect-mcp-server/blob/main/SECURITY.md"> Understand read-only MCP behavior, RBAC scope, and how MCP client capabilities differ from server tools. </Card> </CardGroup>Check out the gallery of examples to see Prefect in action.
2018-2021: Our story begins in 2018, when we introduced the idea that workflow orchestration should be Pythonic. Inspired by distributed tools like Dask, and building on the experience of our founder, Jeremiah Lowin (a PMC member of Apache Airflow), we created a system based on simple Python decorators for tasks and flows. But what made Prefect truly special was our introduction of task mapping—a feature that would later become foundational to our dynamic execution capabilities (and eventually imitated by other orchestration SDKs).
2022: Prefect's 2.0 release became inevitable once we recognized that real-world workflows don't always fit into neat, pre-planned DAG structures: sometimes you need to update a job definition based on runtime information, for example by skipping a branch of your workflow. So we removed a key constraint that workflows be written explicitly as DAGs, fully embracing native Python control flow—if/else conditionals, while loops-everything that makes Python…Python.
2023-present: With our release of Prefect 3.0 in 2024, we fully embraced these dynamic patterns by open-sourcing our events and automations backend, allowing users to natively represent event-driven workflows and gain additional observability into their execution. Prefect 3.0 also unlocked a leap forward in performance, improving the runtime overhead of Prefect by up to 90%.
Join Prefect's vibrant community of nearly 30,000 engineers to learn with others and share your knowledge!
The docs are also available in llms.txt format:
Any page can be accessed as markdown by appending .md to the URL. For example, this page becomes https://docs.prefect.io/v3/get-started.md.
You can also copy any page as markdown by pressing "Cmd+C" (or "Ctrl+C" on Windows) on your keyboard.