Skip to content
Hacker News front page

Databases Were Not Designed for This

Arpit Bhayani argues agentic AI breaks four database assumptions: deterministic queries, human-reviewed writes, brief connections, and human-monitored failures. He proposes Postgres role timeouts of 5s and 10s, soft deletes, append-only logs, and idempotency keys. The key shift is treating agent_worker as an untrusted caller, not sizing pools like human-written apps.

Why it matters: HKR-H/K/R all pass: the angle is sharp, the post gives concrete Postgres guardrails, and the risk is real for agent builders. Not a model or product release, so it fits the 72–77 engineering commentary band.

Read the original ↗Export Markdown