Show HN: Purple Flow – AI-first n8n alternative, 10k+ workflows on 512MB (opens in a new tab)github.com
5 pointsThat scaling was becoming more and more critical as I was beginning to build agentic swarms.
So I built my own alternative with Elixir and Beam. Been using it in production for almost 2 months.
It connects my agent to multiple databases, sandboxes, and APIs.
I've even migrated over my most used n8n workflows without a hiccup.
I ran some benchmarks and 10,000 concurrent workflows executed in 3 seconds and cost about 330MB of ram (listed as 512 in the case study). Equivalent workflows in n8n took 2GB of ram to run 100. It's roughly 200x the memory efficiency of the usual Node/Python stacks. And while you don't edit the workflows yourself visually, you can see and manage them through a UI, along with credentials that the agent never sees.
The workflows themselves are pure TOML. Not as easy as dragging node connectors. But the idea is that AI creates the flows and you can easily understand them.
This isn't a shaky demo. I'm using it as my daily driver to create complex multi-agent personas, run research and info gathering swarms, and whatever else my agent needs to get its job done. (it's built more than 70 so far)
I have a live working demo on my website that was built by an agent using Purple Flow to connect to my server. The demo itself lets an agent using Purple Flow access live (Adventure Works) data and generate reports, documents, and slides on demand. My agent and I built it in an afternoon. It runs on a lightweight model (to save money for a public demo) with very few hiccups.
- Repo: https://github.com/leetheguy/purple_flow
- Discord, benchmarks, and demo links in the repo.
Comments (4) 2 threads
Purple Flow includes a sample project called Purple Goo that allows an agent to spin up an agentic swarm with a snippet of JSON. As I'm writing this, Claude is in the background using Purple Goo and Purple Flow to create a swarm of agents that are designed to act with judgment and solve complex problems while storing and sharing memories with the swarm.
And because Purple Flow is AI first, it's possible for the swarm to actually improve the swarm. Basically giving it the ability to learn and grow and get better at its job all on its own.
Also, since Purple Flow is so efficient, you can have thousands of agents solving problems at the same time for a fraction of the memory cost of a tool built with Python or JavaScript.
And Purple Flow is free and open source.
Purple Flow was designed to allow AIs to create workflows with simple, lightweight TOML files and a minimal connector that lets them manage those files. AI doesn't have to do any gymnastics and wrap its head around layers of human-first complexity to do its job.
And yes, you could use scripts to build just about anything. These tools are designed to be universal connectors to make it easy to transfer data from point A to point B without all the boilerplate. These tools can replace a lot of scripts and keep you from having to set up servers and connectors and web calls and cron jobs and keep everything organized and tidy. With Purple Flow, it's all tucked away. The credentials are kept out of your agent's hands and the scripts are easy enough for even cheap, lightweight models to build and manage.
All comments shown.
Couldn't load more comments. Check your connection and try again.