Every agent gets its own Postgres.

Production-like Postgres branches in seconds for coding agents, tests, CI and migrations.

$ curl -fsSL https://pgrun.dev/install.sh | sh copy
Start free with $10 credits · Keep production where it is
pgrun branches — production
i
Live simulation of pgrun creating and deleting Postgres branches from production, the way agents and CI would.
<>
production live
pgrun connected source: production 2 branches
~3 secbranch creation
90%created by coding agents
Parallelagent branches
1000branches created so far

Your production database stays where it is.

Connect your existing Postgres once.
Then agents, CI, and pull requests can create isolated, disposable branches on demand.

Works with any cloud
RDS Aurora Cloud SQL Supabase Neon Self-hosted Postgres

One staging database doesn't work for 20 agents.

When multiple agents share the same staging database, migrations collide, tests interfere with each other, and state becomes unpredictable. With PGRun, every agent gets its own isolated Postgres.

Shared staging
agent-1 ─┐
agent-2 ─┼→ staging
agent-3 ─┘
✕ Migrations collide. ✕ Tests share state. ✕ Cleanup becomes another job.
PGRun
agent-1 → branch-1
agent-2 → branch-2
agent-3 → branch-3
✓ No collisions. ✓ No shared state. ✓ Delete everything when the work is done.

Your agents never touch production.

Connect production once. PGRun creates isolated, disposable Postgres branches for agents, CI, and pull requests.

Production credentials never reach the agent.

Sensitive data can be detected and masked before it reaches a branch.

Every branch is isolated and disposable.

Production Postgres
PGRun
Agent branch
✕ Agent → Production

Postgres runtime for agents

Branches · Compute · Storage · Snapshots · API

Give agents infrastructure they can create, use, and destroy programmatically — without another database dashboard.

PR
Branch
Migrate
Test
Verify
Merge
Clean up
01

Connect

Connect your existing Postgres — production stays put.

02

Branch

Spin up an isolated Postgres branch in seconds.

03

Run

Get a normal DATABASE_URL. No custom API.

04

Destroy

Delete it when the job's done. No cleanup.

05

Built for agents

CLI, API, and structured output for agents.

It's just Postgres.

No custom database API. No proprietary query language. No special ORM.

Every branch gives you a normal:

DATABASE_URL=postgres://...
Rails Django Prisma Drizzle pgx psql Any Postgres client
Agents & CI
Claude Code Codex Cursor GitHub Actions GitLab CI MCP

Why pgrun

01

Not just a dashboard. A runtime.

pgrun gives agents infrastructure they can create, use, and destroy on their own.

02

Not just for one database.

Every agent, PR, and CI run gets its own isolated branch, in parallel.

03

Not just fast to create.

Branches are cheap to delete too — no leftover state, no cleanup jobs.

04

Not another database API.

A normal DATABASE_URL — works with anything that speaks Postgres.

Start with $10 free credits.

No credit card required. Create real Postgres branches, connect your agents, and test the workflow before paying.

Point it at a database.

Connect your Postgres View on GitHub

Start in the terminal

$ pgrun login
$ pgrun source add production
$ pgrun branch create agent-42 --from production

Or create branches directly through the API.