TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

LLM Workflows then Agents: Getting Started with Apache Airflow

131 pointsby alittletooraph2about 2 months ago

9 comments

jumskiabout 2 months ago
Nice to see some workflow engine action on Hacker News! :-)<p>I&#x27;m currently building pgflow, which is a simple, postgres-first engine that uses task queues to perform real work.<p>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.<p>I&#x27;m super close to the alpha release, if you guys want more info, check out the readme for SQL core (<a href="https:&#x2F;&#x2F;github.com&#x2F;pgflow-dev&#x2F;pgflow&#x2F;tree&#x2F;main&#x2F;pkgs&#x2F;core#readme" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pgflow-dev&#x2F;pgflow&#x2F;tree&#x2F;main&#x2F;pkgs&#x2F;core#rea...</a>) or my Twitter (<a href="https:&#x2F;&#x2F;x.com&#x2F;pgflow_dev" rel="nofollow">https:&#x2F;&#x2F;x.com&#x2F;pgflow_dev</a>).<p>Hope that grabs someone attention :-) Cheers
评论 #43544900 未加载
mushufasaabout 2 months ago
this is really cool!<p>That said, my impression is that Airflow is a really dated choice for a greenfield project. There isn&#x27;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<p>Most of these frameworks now have docs &#x2F; plugins &#x2F; sister libraries geared around AI agents<p>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).<p>This page is a good start, even if it is written as an airflow-specific how-to!
评论 #43540961 未加载
评论 #43542372 未加载
评论 #43541460 未加载
评论 #43541061 未加载
itsallrelativeabout 2 months ago
Truthfully have been a little skeptical of how many workloads will actually need “agents” vs doing something totally deterministic with a little LLM augmentation. Seems like I’m not the only one that thinks the latter works a lot of the time!
评论 #43542258 未加载
ldjkfkdsjnvabout 2 months ago
Extremely bearish on existing tools solving agentic workflows well. If anyone, it will be temporal. Airflow and the like simply were not designed for high dynamic execution, and so have all sorts of annoyances that will make them lose.
评论 #43541817 未加载
评论 #43542238 未加载
评论 #43542245 未加载
drdaemanabout 2 months ago
I&#x27;m sorry, I don&#x27;t really know Airflow, but what&#x27;s the point of `@task.agent`, as compared to plain old `return my_agent.run_sync(...)`? To me it feels like a more restrictive[1], and possibly less intuitive[2] API.<p>[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&#x27; finickinesses.<p>[2]: As the final step is described at the top of the function.
评论 #43548165 未加载
datadrivenangelabout 2 months ago
I&#x27;m looking into using LLM calls inside SQL Triggers to make agents &#x2F; &#x27;agentic&#x27; workflows. Having LLM powered workflows can get you powerful results and are basically the equivalent of &#x27;spinning up&#x27; an agent.
评论 #43544609 未加载
评论 #43544412 未加载
评论 #43541164 未加载
greatgibabout 2 months ago
Decorators in the usage example looks useless, and more to show off than being a real convenience.<p>In real life program, I don&#x27;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&#x27;t set up upfront at application startup like globals. That is a bad practice...
评论 #43548182 未加载
falcor84about 2 months ago
This is about workflows that use AI, but it lead me to actually think of the inverse - has anyone experimented with AI agents defining and iterating upon long-running workflows?
nikolayasdf123about 2 months ago
nice. airflow is a good fit for this