Postgres for
agentic development

A Postgres database for every app. An isolated branch with production-like data for every pull request, preview deployment, and coding agent.

Engineering teams use Xata for agentic development

Agents don't need a better database. They need thousands of them.

To safely test, experiment, and execute workflows, agents need isolated databases with production-like data. With Xata, clone any Postgres database in seconds without multiplying storage.

Where the traditional workflow restores a database from a SQL dump, Xata creates a branch with the schema and data cloned and anonymized — without copying storage.

Use cases

Coding agents

Give every coding agent its own isolated Postgres branch in 3 seconds. Build, test, and validate changes against production-like data.

Learn more

Deployment previews & CI

Create a fresh Postgres branch in 3 seconds for every pull request and test run. Review every change against production-like data.

Learn more

Platform integration

Provision a new Postgres database in a second for every generated application. Give every app its own dedicated database from day one.

Learn more

Instant branching

Clone any Postgres database in seconds, regardless of size.

Copy-on-write

Using copy-on-write storage, each branch shares data with its parent and stores only changes instead of creating full copies.

Scale to zero

Run branches only when needed. When idle, they hibernate and use no compute.

Instant wake-up

Branches wake on first query and respond instantly: no connection timeouts, no spin-up delays.

Vanilla Postgres & extensions

Xata runs 100% upstream PostgreSQL without significant modifications.

How to get started

Adopt Xata without moving production.

Keep production where it is, or move it to Xata. Either way, every pull request and deployment preview gets its own isolated Postgres branch.

Path 01

Keep prod where it is

Create a clone of your production database in Xata, keep it in sync with production, and have it ready for instant branching.

  • Branches from a production clone
  • Production data with built-in anonymization
  • Continuously synced with production
Create a production clone
Path 02

Run production on Xata

Run your production database on Xata with native branching, built-in high availability, read replicas, and automatic scale-to-zero.

  • Native branches from production
  • High availability
  • Read replicas
Create a production database

Production-ready Postgres

Xata runs vanilla PostgreSQL with high-performance storage, isolation, and instant branching built in.

Xata includes built-in production observability for your database — uptime, query latency, throughput, and active connections.

Vanilla Postgres

No forks, no proprietary APIs. Just PostgreSQL.

Read replicas

Scale reads independently from writes.

Database recovery

Restore your database to any point in time.

Premium storage

NVMe-backed storage for low latency and high throughput.

Example

What does a database per pull request cost?

Consider a company creating 100 pull requests per day against a 1 TB production database. With traditional database infrastructure, giving every pull request its own isolated database quickly becomes unsustainable.

Traditional Database
Per database compute
24 hrs
Per database storage
1 TB
Total compute
100 × 24 = 2,400 hours
Total storage
100 × 1 TB = 100 TB
With Copy-on-Write & Scale-to-Zero
Per database compute
~ 3 min
Per database storage
30 GB
Total compute
100 × 3 min = 5 hours
Total storage
1 TB + (100 × 30 GB) = 4 TB

What our users are saying

See what engineers, builders and leaders are saying about Xata.

logo-Jordan Tigani
Xata is currently the best way to run the pg_duckdb extension in the cloud. The platform’s flexibility and API access make Xata the perfect PostgreSQL partner for us.
Jordan Tigani

CEO, MotherDuck

logo-Chris Windsor
Xata was an easy choice for our team because of how straightforward the entire platform is, while simultaneously providing a suite of adequate features that we need. The Xata team has also been super responsive and more importantly quick to resolve the hiccups that we brought upon ourselves.
Chris Windsor

Lead Software Engineer, Safestreets

logo-Jignesh Chauhan
By adopting Xata, we cut database costs vs. our RDS setup and got better help from Postgres experts.
Jignesh Chauhan

Co-founder, CallKarma.ai

logo-Ben Hubsch
Xata was a no-brainer for our team. We get a lot of value out of the copy-on-write database branching and scale-to-zero features.
Ben Hubsch

Software Engineer, SaaSgrid

Postgres for agentic development

Use your existing Postgres. Ship faster with Xata.