Workflow orchestration for data pipelines and agentic workflows in Python
open coreApache-2.0self-hostablefree
Prefect turns Python functions into scheduled, observable, retryable workflows: decorate functions as flows and tasks, deploy them, and Prefect schedules runs, tracks state, logs and alerts, and recovers from failures. The open source Prefect server (Apache 2.0) self-hosts with SQLite or PostgreSQL; Prefect Cloud adds managed serverless compute, webhooks, service accounts, audit logs and, on Enterprise, SSO, RBAC and SCIM. Prefect's site presents it beside Dagster for data orchestration and FastMCP for building and hosting MCP servers.
Problems it solves
- my cron jobs fail silently and nobody notices until the data is wrong
- add retries, scheduling and logging to existing Python scripts without rewriting them
- I want a UI that shows which pipeline runs failed and why
- run Python data pipelines on my own Kubernetes or ECS while a hosted control plane schedules them
- trigger a workflow from a webhook or an event in another system
- orchestrate ETL jobs in plain Python instead of Airflow DAG files
- orchestrate long-running AI agent workflows that survive crashes and resume
- get alerted on Slack or email when a scheduled job fails or runs late
- self-host a workflow orchestrator with its own UI on a single server
- limit how many runs hit a rate-limited API at once across workers
Features
- flows and tasks defined with Python decorators
- scheduling, retries, caching and concurrency limits
- run observability: logging, alerting and run history in a UI
- work pools on your own infrastructure (Kubernetes, ECS, Docker and more)
- Prefect Serverless managed compute on Prefect Cloud
- automations that react to workflow events
- webhooks to trigger actions from external systems (Cloud)
- service accounts and audit logs (Cloud Team plan)
- SAML or OIDC SSO, SCIM, RBAC, IP allowlisting and PrivateLink (Cloud Enterprise)
- self-hosted server with SQLite or PostgreSQL; Redis for multi-server setups
Ways to run it
Prefect Cloud
Hobby free; Starter $100/month; Team $100/user/month; Enterprise custom1
Only in this edition
- Prefect Serverless managed compute
- webhooks
- service accounts and audit logs (Team)
- SAML/OIDC SSO, SCIM, RBAC and multiple workspaces (Enterprise)
- 99.9% uptime SLA (Enterprise)
Prefect server (open source)
free2
Not included
- RBAC
- audit logs
- SSO
You arrange
- a server to run it on, from the CLI or Docker
- SQLite for a single server, or PostgreSQL 14.9+ with pg_trgm for production
- Redis when running several server instances
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Has official SDKs | plan not known |
| Has single sign-on | Enterprise plan, priced by sales1 |
| Sends webhooks | plan not known |
Alternatives
The same job
These do what Prefect does.
- Luigi Build complex pipelines of batch jobs in Python
- Apache Airflow A platform to programmatically author, schedule and monitor workflows
- Dagster AI-native DataOps platform
- Windmill Code-first platform for workflows, apps and AI agents, on the fastest self-hostable orchestrator
- Kestra The open source control plane for workflows across data, infrastructure, business processes and AI agents
- Flyte Open source durable runtime for AI and data workflows on Kubernetes