Prefect is a workflow orchestration framework for building resilient data pipelines in Python.
github.com/prefecthq/prefectIndexed at b749a67Up to date with upstream
This repository is a full-stack orchestration platform: it ingests workflow definitions and runtime events through the Python server/CLI and integration modules, transforms them into persisted orchestration state (flow runs, task runs, artifacts, logs, and events) via server APIs and worker execution, and outputs a running control plane exposed through REST endpoints plus two web UIs (`ui` and `ui-v2`) for monitoring and managing executions.
Written by gpt-5.4-nano from the index
4,839 files and 36,096 symbols in 14 modules, led by Python (1,863 files) and TypeScript (1,574).
Code health
This codebase scores 7.6 out of 10 for code health, which we rate good. It also scores maintainability 7.9 and static performance 9.8 out of 10. The three are scored separately and never blended into one number. Risk is concentrated, as it usually is: 73 of 4,839 files are git hotspots, and they average 3.9 — which is where the fixes pay off most.
On the leaderboards:#1 of 3 Workflow orchestrators#9 of 44 Python repos
1 thing worth doing this quarter.
Delete 173 unused symbols and files (7,506 lines)
Nothing in the graph reaches them, across 77 files; every reader and agent pays to skip them.
Add a test coverage report
Without one, Repowise cannot tell tested code from untested code, so every test-related action says “unknown”.
Review the 292 proposed decisions
None is accepted yet, so nothing can drift from one and agents get no enforced guidance from them.
Point Claude Code, Cursor, Codex or VS Code at this repository. Your agent gets the index this page is built from: cited answers, callers, history and health for any file.
https://api.repowise.dev/mcp/prefecthq/prefectOne command, run anywhere. Adds the server to your local Claude Code config.
Docsclaude mcp add --transport http repowise https://api.repowise.dev/mcp/prefecthq/prefect \ --header "Authorization: Bearer rw_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
This repo is public, so anyone with a Repowise account and an API key can connect.
Try asking
Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed.
Sign in with GitHub and we check that you are an admin or maintainer of prefecthq/prefect. Then add a badge to the README that links readers here.
Add this URL as a custom connector and sign in with repowise when asked. No API key to copy.
https://api.repowise.dev/mcp/prefecthq/prefectFor maintainers
Every badge is public, cached, and updates on its own after every index. Nothing to install.
Links to this page, with no score on it. Adding it also re-indexes the repo every week.
[](https://repowise.dev/repo/prefecthq/prefect?src=badge_wiki)The repo's health score out of 10, from the latest index.
[](https://repowise.dev/repo/prefecthq/prefect?src=badge_health)A larger card with the score, its change since the last index, and when it was measured. The HTML version follows the reader's light or dark theme.
[](https://repowise.dev/repo/prefecthq/prefect?src=badge_card)prefect is a workflow orchestration framework for building resilient data pipelines in Python. It turns Python scripts into workflows that can use scheduling, caching, retries, dependencies, branching logic, and event-based automations. The repository uses Python for orchestration and includes TypeScript and JavaScript web interfaces.
Written by a model from the README and the index
Workflow definitions and runtime events enter through the Python server, CLI, and integration modules. The src directory defines typed API contracts, validators, type aliases, and REST payload schemas used by the orchestration layer. Server APIs and workers transform workflow activity into persisted flow runs, task runs, artifacts, logs, and events. The prefect logging modules provide logging infrastructure, while prefect exceptions defines project exceptions. The ui and ui-v2 directories provide web interfaces for monitoring and managing executions. REST endpoints and the web interfaces expose the resulting orchestration state.
Prefect is a workflow orchestration framework for building resilient data pipelines in Python. This page is a map of the prefecthq/prefect repository, written primarily in Python, rebuilt from the source each time it is indexed. Repowise parses every symbol, computes a dependency graph, scores per-file code health from complexity, duplication, test coverage and churn, mines git history for hotspots and ownership, and lifts the architectural decisions into documentation you can read here or query through MCP.
The codebase has 4,839 files and 36,096 symbols in 14 modules, led by Python, TypeScript and Shell. Code health is 7.6 out of 10, rated good.
Use the links above to open each view, or connect this repository to your agent for grounded answers inside Claude, Cursor, Codex or VS Code.
pip install -U prefectuv add prefectprefect server startCommands copied from the README
prefect is a Python workflow orchestration framework for building resilient data pipelines. It turns scripts into workflows with scheduling, retries, caching, and event-based automations.
prefect accepts workflow definitions and runtime events through its Python server, CLI, and integrations. Workers and server APIs persist execution state, which REST endpoints and web UIs expose for monitoring and management.
Install prefect with pip install -U prefect or uv add prefect. Start a local server with prefect server start.
prefect is primarily written in Python. The repository also includes TypeScript and JavaScript code for its web interfaces.
prefect is organized around the src directory, server and worker orchestration, integrations, tests, documentation, and the ui and ui-v2 web interfaces. Central Python files include prefect/__init__.py and prefect/logging/loggers.py.
Use prefect to build and operate Python data pipelines that need scheduling, retries, caching, dependencies, branching, or event-based execution. Workflow activity can be monitored through a self-hosted server or Prefect Cloud.
prefect uses the Apache-2.0 license.
Answers written by a model from the README and the index