Jonathan Pickard

All writing

Post

Your coding agent is blocked.

Jonathan Pickard · · 1 min read

A local SQLite or PGlite development loop connects to Postgres through a validation step.

Not on logic. On a database that doesn’t exist yet.

So don’t make it wait for one.

For most new products, start with an embedded database—SQLite or PGlite—and put persistence behind a clean abstraction.

Now the agent can create schemas, seed data, run migrations, test, reset, and keep moving.

No credentials. No provisioning. No network dependency. No shared server state to trample.

Require production infrastructure upfront, and each of those steps can become a wait. The agent stops while someone provisions services, wires access, or resolves environment issues. The build sits idle in between.

Once the product and data model are real, treat the move to production Postgres as a focused hardening phase: migrations, concurrency, security, and performance.

It won’t be zero work. But a clean database boundary keeps that work contained instead of letting infrastructure meter out progress from day one.

Build locally. Productionize deliberately.

What’s your default for AI-assisted builds: embedded first, or Postgres from day one?