by alittletooraph2 on 3/31/25, 6:32 PM with 41 comments
by jumski on 4/1/25, 9:26 AM
I'm currently building pgflow, which is a simple, postgres-first engine that uses task queues to perform real work.
Have explicit DAG approach, strong typesafety, nice DSL in TypeScript and a dedicated task queue worker that allows it to run solely on Supabase without any external tools.
I'm super close to the alpha release, if you guys want more info, check out the readme for SQL core (https://github.com/pgflow-dev/pgflow/tree/main/pkgs/core#rea...) or my Twitter (https://x.com/pgflow_dev).
Hope that grabs someone attention :-) Cheers
by mushufasa on 3/31/25, 10:03 PM
That said, my impression is that Airflow is a really dated choice for a greenfield project. There isn't a clear successor though. I looked into this recently, and was quickly overwhelmed by Prefect, Dagster, Temporal, and even newer ones like Hatchet and Hamilton
Most of these frameworks now have docs / plugins / sister libraries geared around AI agents
It would be really helpful to read a good technical blog doing a landscape of design patterns in these different approaches, and thoughts on how to fit things together well into a pipeline given various quirks of LLMs (e.g. nondeterminism).
This page is a good start, even if it is written as an airflow-specific how-to!
by itsallrelative on 3/31/25, 9:34 PM
by ldjkfkdsjnv on 4/1/25, 12:45 AM
by drdaeman on 4/1/25, 1:56 AM
[1]: Limited to what decorator arguments can do. I suspect it could become an issue with `@task.branch` if some post-processing would be needed to adjust for smaller models' finickinesses.
[2]: As the final step is described at the top of the function.
by datadrivenangel on 3/31/25, 9:28 PM
by greatgib on 4/1/25, 9:15 AM
In real life program, I don't think that you will have hundreds of calls to LLM or agent in your app so much that you have any code gains to decorator but at the opposite the decorator will make it very hard to have parametric values or values not hard coded but from config that you don't set up upfront at application startup like globals. That is a bad practice...
by falcor84 on 3/31/25, 11:35 PM
by nikolayasdf123 on 4/1/25, 2:24 AM