Pg-workflows – Lightweight workflows for Node.js using Postgres
Hey HN, I'm a big fan of the Postgres ecosystem and the reliability it brings to the TS stack. More often than not, the answer to "should I add another piece of infrastructure?" is "Postgres can already do that." I’ve been a long-time user of https://timgit.github.io/pg-boss, but I wanted to take the developer experience (DX) a step further for multi-step processes, especially for AI workflows. I built pg-workflows to provide a fluent API for defining durable background logic. Instead of manually stitching together disparate jobs, you can define your business logic as a clean,…
In plain words
Pg-workflows is a Node.js library that enables developers to define multi-step background processes using PostgreSQL as the underlying infrastructure. It provides a fluent, type-safe API for chaining durable workflow logic, particularly suited for AI workflows and complex business processes. The tool eliminates the need for additional infrastructure by leveraging PostgreSQL's reliability, allowing developers to write clean background job chains without manually connecting disparate tasks.
written from the facts on this page · September 2026
From the sources
In the maker’s words, at launch
Hey HN, I'm a big fan of the Postgres ecosystem and the reliability it brings to the TS stack. More often than not, the answer to "should I add another piece of infrastructure?" is "Postgres can already do that." I’ve been a long-time user of https://timgit.github.io/pg-boss, but I wanted to take the developer experience (DX) a step further for multi-step processes, especially for AI workflows. I built pg-workflows to provide a fluent API for defining durable background logic. Instead of manually stitching together disparate jobs, you can define your business logic as a clean, type-safe chain.
More ai this month
the category →
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 16d ago · simedw.com
Astute▲585Automate your B2B brand going viral, with new media creators
AI · 18d ago · company-app.joinastute.com


Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…
AI · 26d ago · cactuscompute.com

