geobeyond/fastflows — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a Python service for managing workflow runs through Prefect. I want a FastAPI server and a small command line tool that can connect to a Prefect API server, read flow files from a local flows folder, deploy them, run them, and let me track what is happening.

It should be configurable with environment variables like the Prefect server URL and the flows folder. I also want to support environment prefixes, so if I set something like ENV_NAME to LOCAL, the app can read LOCAL prefixed settings instead of the default ones.

Please include automatic deployment when files in the flows folder change, with an option to turn that off. Make it easy to run locally, and include Docker Compose support for running it with a Prefect setup. Add clear README instructions for starting the server, using the CLI help command, and setting the needed environment variables.

Want more depth? Deep Reverse