Hacker News

jlowin
Show HN: ControlFlow – open-source AI workflows github.com

Hi HN! I’m excited to share ControlFlow, our new open-source framework for building agentic workflows.

ControlFlow is built around a core opinion that LLMs perform really well on small, well-defined tasks and run off the rails otherwise. I know that may seem obvious, but the key insight is that if you compose enough of these small tasks into a structured workflow, you can recover the kind of complex behaviors we associate with autonomous AIs, without sacrificing control or observability at each step. It ends up feeling a lot like writing a traditional software workflow.

With ControlFlow you:

- define structured tasks for your agents to achieve,

- assign one or more specialized agents to each task,

- then compose the tasks into a workflow for execution.

We've been working toward this for a while, applying insights from our work on Prefect (our workflow engine) and Marvin (our LLM framework). ControlFlow is our effort to bridge the gap between all those impressive AI demos and what we see B2B users actually trying to accomplish in production. More often than not, their goal is to sanely delegate a few steps of a workflow to an AI, not deploy a suite of end-to-end autonomous while loops.

This is ControlFlow's initial release and we’d love your feedback. We hope it's a refreshing take on making LLMs feel like software again! You can check out the repo here: https://github.com/prefecthq/controlflow/


nattaylor3 months ago

I was checking this out on my train ride home and I'm pretty excited to take it where it's been tonight. Well done team!

jlowinop3 months ago

Thanks! Let us know how it goes!

OccamsMirror3 months ago

Be cool to see an actual demonstration video.

jlowinop3 months ago

There was a tutorial at the Prefect Summit this week, video should be available soon, and lots more coming. Probably our most pressing request!

yangshi073 months ago

[dead]

hn-front (c) 2024 voximity
source