Nicheloom

Market intelligence for builders — see what's gaining traction before it's crowded.

Pgclaw

A "Clawdbot" in every row with 400 lines of Postgres SQL

Details

External ID
46992136
Source
HN
Company
—
Product
Pgclaw
Website domain
github.com
Launched
Feb. 12, 2026
Cohort
—
Upvotes
48
Upvotes percentile
0.8106469002695418
Tags
—
Fetched at
Sept. 7, 2026, 9:25 p.m.
Updated at
Sept. 7, 2026, 9:25 p.m.

Description

Hi HN,Been hacking on a simple way to run agents entirely inside of a Postgres database, "an agent per row".Things you could build with this: * Your own agent orchestrator * A personal assistant with time travel * (more things I can't think of yet)Not quite there yet but thought I'd share it in its current state.

Enrichment

Theme
database infrastructure and developer tools
Vertical
Horizontal
Function
Dev tools
Audience
Developer
AI stance
AI feature
Project type
Hobby / open-source project
Normalized one-liner
postgres agent in sql
Manually corrected
False

Could you build this?

Yes Implementing row-level agent state machines and hooks within 400 lines of PL/pgSQL using standard PostgreSQL primitives and HTTP extensions is a compact project well within an AI assistant's capabilities.

Discussion

20 comments analyzed.

Competitors mentioned: Temporal.io, exa.ai

Concerns raised: Putting compute logic in database breaks separation of concerns and is difficult to test, Database is a bad production compute environment; compute should be in application layer, Creates vendor lock-in to PostgreSQL instead of being database-agnostic, Storing source code/logic in database rows is a known anti-pattern with poor adoption history, Unclear what the actual per-row state storage mechanism is with the claw data type

Feature requests: Integration with pgmq and pg_cron for scheduled work, Use WalEx to dispatch to external workers instead of in-database execution

Competitors

Other products that read as similar to this one — 132 launches clear the similarity bar, closest 8 shown.

Attention rank: #29 of 133 (itself plus its competitors, highest first — normalized so YC and Product Hunt are compared fairly).

Launched 104 days after the earliest competitor.

Other launches for this product

Same idea, different domain

Nobody's really built a dev tools tool for Sales yet.