Supabase-native workflow engine for multi-step AI agents & background jobs. All in Postgres Edge Functions, no extra infra. Demo: demo.pgflow.dev

Joined November 2024
84 Photos and videos
Pinned Tweet
22 Nov 2025
pgflow runs multi-step AI agents & jobs in your Supabase project, no extra infra. • Declarative TypeScript with end-to-end types • Start via TS client, RPC, pg_cron, or triggers • Realtime progress updates • Runs on Postgres Edge Functions • Production-ready, easy to use
1
4
774
pgflow 0.14.2: Fixes slot-aware backpressure in the edge worker - workers now respect maxConcurrent slots when polling for messages, preventing over-fetching at capacity. Also fixes shutdown handling so SQL connections are only closed when owned by the worker. Fixes #114.
28
New guide: Running pgflow on self-hosted Supabase 🐘 Got a self-hosted Supabase instance? We've got you covered. Our fresh docs walk you through the full setup- pgmq upgrade, EDGE_WORKER_DB_URL config, manual Edge Function deployment, and more. 👉 pgflow.dev/deploy/supabase/s…

2
77
pgflow 0.14.1: Type safety bugfixes — undefined and non-JSON values in step outputs now caught at .step() definition time. Also makes skippable leaf keys optional and not trigger type issues in EdgeWorker.start() update dsl and edge-worker packages: pgflow.dev/deploy/update-pgf…

1
71
pgflow 0.14.0: Conditional step execution is here. Use `if` / `ifNot` with JSON containment patterns, choose unmet-condition behavior via `whenUnmet`, and continue gracefully after exhausted retries with `whenExhausted: 'skip'`. pgflow.dev/news/pgflow-0-14-…

1
61
pgflow 0.13.3: Fixes 401 authentication errors in cron keepalive in Edge Workers caused by Supabase key format mismatches (JWT vs sb_secret). Introduces PGFLOW_AUTH_SECRET - set the same custom value in both vault and Edge Functions to bypass the issue. pgflow.dev/news/pgflow-0-13-…

1
5
149
Seems like it does not make a difference - @Zai_org oversold and overpromised. Model is great, but I'm not the only one that has issues with slowness, and the "Guaranteed peak performance" is just bs marketing lingo, according to their Discord coding-plan channel #claudecode #opencode
Anyone using GLM 4.7 can compare the Pro vs Max plans in terms of peak hour performance? I'm really enjoying the model but the API on Pro plan is sluggish af and it makes it borderline unusable... @Zai_org any comment on this? #opencode #claudecode
156
Anyone using GLM 4.7 can compare the Pro vs Max plans in terms of peak hour performance? I'm really enjoying the model but the API on Pro plan is sluggish af and it makes it borderline unusable... @Zai_org any comment on this? #opencode #claudecode
402
pgflow 0.13.2: Fixes stalled tasks that got stuck when workers crashed - now auto-recovered via cron. Also fixes maxPgConnections config being ignored. Thanks @matz for the report! pgflow.dev/news/pgflow-0-13-…

1
78
I'm using coding plan from @zai_org for 3 weeks already and 80% of the time it is 10-20 times slower than competition, borderline unusable. Waiting 60 seconds for a simple edits. I'm on PRO plan btw, paid for full year.
1
7
163
pgflow 0.13.1: Fixes local dev with recent @Supabase CLI step outputs now stored atomically for 2x faster Map-to-Map chains. Foundation for upcoming conditional execution. pgflow.dev/news/pgflow-0-13-…

1
101
Postgres-native analytics for Postgres-native workflows. @DreambaseAI just works - pointed it at pgflow's tables, got this dashboard.
1
10
643
30 Dec 2025
pgflow 0.12.0: Breaking change - asymmetric handler signatures. The `input.run` wrapper is gone! Root steps get `flowInput` directly, dependent steps get `deps`. Unblocks functional composition for upcoming subflows. pgflow.dev/news/pgflow-0-12-…

2
110
19 Dec 2025
Claude Code's @ file picker now supports custom scripts. Swapped it for fzf ripgrep. Finally, proper fuzzy matching. Works with symlinks. Works with gitignored folders. Fast. Details in the comments. #ClaudeCode #AI #Claude
1
1
1
190
18 Dec 2025
Just posted a Parallel Embedding RAG pipeline tutorial on Reddit - curious what you think? reddit.com/r/Supabase/commen… #RAG #Supabase
1
117
12 Dec 2025
pgflow 0.11.0: New `compilation` config with `allowDataLoss` option - a required change for upcoming @Lovable support! Breaking: `ensureCompiledOnStartup` replaced. pgflow.dev/news/pgflow-0-11-…

1
132
10 Dec 2025
pgflow 0.10.0: Auto-compilation at startup, intelligent worker management, beautiful local logging. Change your flow, save - it just works. Zero-friction local dev! pgflow.dev/news/pgflow-0-10-…
1
102
9 Dec 2025
Exciting release coming soon: - workers restart and compile flow when you change code automatically or detect mismatch on production - no more curl every time you want to start - no more manual cron setup - reliable restarts - colorful worker logs Stay tuned! #Supabase #AI
104
3 Dec 2025
pgflow 0.9.1: Unified connection config - fixed all bugs related to connections - improved Production deployment docs - created workarounds for preview branches - added ability to pass raw SQL connection And others! Check it out: pgflow.dev/news/pgflow-0-9-1…

7
170