Our open source
projects
We believe better products are built when their core is open source.
Get started
Self host the Xata platform
Clone the repo, run it locally, and create your first branch.
# Clone and install
$ git clone https://github.com/xataio/xata
$ cd xata
# Start Kind cluster
$ kind create cluster --wait 10m
# Deploy via tilt
$ tilt up
# CLI deploy and authenticate
$ curl -fsSL https://xata.io/install.sh | bash
$ xata auth login --profile local --env local --force
$ xata auth switch local
# Create a database with the main branch
$ xata project create --name my-project
# Create a child branch
$ xata branch create
Paste this prompt to your AI agent to get started.
Full quickstart and Helm charts in the README
Why open source
Open by default
Xata is built on top of open source projects — CloudNativePG, OpenEBS, Postgres itself. We pay it forward by open sourcing our platform.Our team has deep roots in open source and distributed database infrastructure. Five years ago we started building toward what Postgres needs for the AI era. Now we're opening the core.
Vanilla Postgres
No fork, no code changes. Your databases are standard Postgres. All tools created for Postgres just work.
Community first
pgroll and pgstream started as standalone open source tools. We learn more from the community than we could on our own.
Open core
All core platform functionality is open source under the Apache 2.0 license. Commercial features include multi-region and multi-cell support.
Featured projects
Our most popular open source tools for PostgreSQL.
pgroll
Zero-downtime, reversible schema migrations for PostgreSQL. Serves multiple schema versions simultaneously using the expand-and-contract pattern.
pgstream
PostgreSQL replication with DDL change tracking, multi-target streaming to Postgres, Elasticsearch, Kafka, and webhooks. Built-in data anonymization.
Xata Agent
AI agent expert in PostgreSQL. Monitors databases, diagnoses issues, and suggests fixes. Supports AWS RDS, Aurora, Google Cloud SQL.
All repositories
Check out all of our open source projects at github.com/xataioclient-ts
Xata SDK for TypeScript and JavaScript.
examples
Starter templates and example apps for getting started with Xata.
cnpg-i-scale-to-zero
CloudNativePG plugin to manage scale-to-zero functionality for Postgres clusters.
mdx-docs
Xata documentation source, written in MDX.
homebrew-pgroll
Homebrew tap for installing pgroll.
homebrew-pgstream
Homebrew tap for installing pgstream.