Loading video...

Video Failed to Load

Go Home

🚀 launched today: 🐘 Postgres branches for every AI agent. → build a Postgres branch in ~3 seconds → production-like data → isolated database for every agent → sensitive data automatically masked → branch → work → delete Already ~100 Postgres branches/week before public launch. Now we're building the...

92,876 views • 9 days ago •via X (Twitter)

39 Comments

alex shapalov's profile picture
alex shapalov9 days ago

$10 free credit to try it. REPLY with your PG version!

pgrun.dev's profile picture
pgrun.dev9 days ago

Postgres 18

Evan's profile picture
Evan9 days ago

does it work with planter scale postgres?

alex shapalov's profile picture
alex shapalov9 days ago

Yes 👍, with any cloud.

ActiveRabbit's profile picture
ActiveRabbit9 days ago

Postgres 18

alex shapalov's profile picture
alex shapalov9 days ago

write DM!

alex shapalov's profile picture
alex shapalov9 days ago

Every agent gets its own Postgres. No shared staging. No conflicts. No waiting.

Ralf Roeber's profile picture
Ralf Roeber9 days ago

You are driving at another speed solving real problems. Man, you are crazy. Love 🥰 this vibe. Thank you 🙏

alex shapalov's profile picture
alex shapalov9 days ago

What is your postgres version)?

Ralf Roeber's profile picture
Ralf Roeber9 days ago

Hmmm. 🤔 got me. 18.2? Or 18.5?

alex shapalov's profile picture
alex shapalov9 days ago

Tnx, will give some creds. dm

Ralf Roeber's profile picture
Ralf Roeber9 days ago

Thanks, appreciated but needed. We needed to stay compatible with IBM cognos. Upgrade to IBM 12.1.3 FP 2 allowed us to move. Had no time to test you things yet. It’s on my todo list, way up 🤣

alex shapalov's profile picture
alex shapalov9 days ago

No worries at all 😄 Glad the upgrade finally unblocked you! Whenever you get a chance to try it, I’d love to hear your feedback.

Greg Freda's profile picture
Greg Freda9 days ago

Isolated branch plus masked prod-like data is the right seat — agents get a database without writing the live one.

Ros's profile picture
Ros9 days ago

The branch, work, delete loop is the right primitive for agent experimentation. Isolation makes retries cheap without turning the database into a shared-state mystery. Are agents creating their own branches reliably yet?

alex shapalov's profile picture
alex shapalov9 days ago

Yes agents can already create, use, and delete their own isolated Postgres branches reliably.

aziz abdullaev's profile picture
aziz abdullaev9 days ago

Looks really cool

alex shapalov's profile picture
alex shapalov9 days ago

Tnz for feedback, try it)

Noah's profile picture
Noah9 days ago

I love it, it’s the same instinct that led me to create Fottly as a self-hosted solution instead of opting for another managed image API. Having control over the infrastructure of something you use constantly makes perfect sense.

alex shapalov's profile picture
alex shapalov9 days ago

What is your DB version?

Noah's profile picture
Noah9 days ago

No DB on the self-hosted side, it's stateless, images go straight to S3-compatible storage. Which means right now I have zero visibility into who's actually running it. Your question just made me realize I should add anonymous opt-in telemetry to fix that. Thanks!

alex shapalov's profile picture
alex shapalov9 days ago

you can try pgrun!

E_genius's profile picture
E_genius9 days ago

branch per agent in 3 seconds is nuts, the auto-masking bit is what makes this feel production-shaped

Doubleright's profile picture
Doubleright9 days ago

The killer feature isn’t the 3-second branch. It’s the delete button - clean rollback beats debugging shared state after five agents touched it.

Sujal's profile picture
Sujal9 days ago

branching with production-like data in 3 seconds changes what you can safely let an agent touch

alex shapalov's profile picture
alex shapalov9 days ago

Yeees, 3-5 seconds

Christian Goebel's profile picture
Christian Goebel9 days ago

Looks great, are you planning to open source it?

alex shapalov's profile picture
alex shapalov9 days ago

sure, will do soon!

Caleb Panza ☾'s profile picture
Caleb Panza ☾9 days ago

This is cool! Does it handle seeding as well or just the branches?

alex shapalov's profile picture
alex shapalov9 days ago

Yep! It handles seeding too branches can start with production-like data, automatically masked.

Caleb Panza ☾'s profile picture
Caleb Panza ☾9 days ago

Dope! We’re on Planetscale so I’ll def have to check this out

Ilya Novikov's profile picture
Ilya Novikov9 days ago

Very cool! Branches are the main reason I use neon. This seems similar? With neon, when I run the whole integration suite it creates ~500 branches in parallel in a few seconds, runs the tests, and is done in about 10-20 min. I don't really know how many times per day agents do it, but they do it all day long and it costs me around $20/month. How do you compare?

alex shapalov's profile picture
alex shapalov9 days ago

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.

AI Mastery Guide's profile picture
AI Mastery Guide9 days ago

3 seconds is insanely fast

alex shapalov's profile picture
alex shapalov9 days ago

Even if you have 200GB db!

Remotely's profile picture
Remotely9 days ago

pg16)

alex shapalov's profile picture
alex shapalov9 days ago

you have to update it!)

Nishanth's profile picture
Nishanth9 days ago

If data is masked per branch, how does the system handle referential integrity when an agent needs to join records across two isolated tables? Linking based on a partial key might fail if the raw value was necessary for the foreign key constraint check.

alex shapalov's profile picture
alex shapalov9 days ago

Good question

Related Videos

Your agents can't keep up with real-time data. Especially when it's scattered across dozens of sources. Most teams waste weeks building custom connectors for every database, API, and data warehouse. Then they build ETL pipelines to sync everything. By the time your agent retrieves the data, it's already outdated. Picture this: Your Postgres database updated 5 minutes ago. Your MongoDB collection changed 2 minutes ago. Your agent is still pulling from yesterday's snapshot. This is why most production RAG systems fail. There's a better approach: MindsDB is an open-source AI platform with a federated data engine that lets you query multiple data sources in real-time using SQL - without moving any data. Here's what makes it different: ↳ Your data stays in place. No ETL pipelines or data duplication ↳ Query Postgres, MongoDB, REST APIs, and more using consistent SQL ↳ JOIN across different sources in real-time with a unified interface ↳ Works with both structured and un-structured data And here's the best part: You don't even need to write SQL. Just describe what you want in plain English, and MindsDB converts it to SQL automatically. The system does all the heavy lifting. The breakthrough for AI agents is simple: When data updates at the source, your agent gets fresh results immediately. No sync delays. No stale embeddings. No custom code for each integration. You can literally write a SQL query that joins a Postgres table with a MongoDB collection and gets live results. This is what production AI applications need but rarely get. In this video, I give you a complete walkthrough of what we just discussed and how to actually do it. Make sure you watch this till the end. I've shared the link to MindsDB's GitHub repo in the next tweet!

Akshay 🚀

65,672 views • 10 months ago

Your Postgres is 100x slower than traditional OLAP engines. A deceptively simple OSS extension fixes this. Here's an interview where we dive into the deep engineering around how this is achieved. Joining me (and leading the conversation) is Marco Slot: an engineer with an EXTENSIVE and impressive career history around PostgreSQL: 👉 Created pg_cron in 2017 (3.7k stars) - a tool to run cron-jobs in Postgres 👉 Built pg_incremental - fast, reliable, incremental batch processing inside PostgreSQL itself 👉 co-created pg_lake (after working on Crunchy Data's Warehouse, and getting acquired into Snowflake) 👉 Helped get pg_documentdb (MongoDB-on-Postgres) off the ground Marco Slot is a world-class expert in Postgres extensions. He seriously impressed me with his knowledge over the course of a private LinkedIn conversation, and now that I type out his resume - I understand where it came from. He should be on everyone's radar. So I brought him on the pod. In our full 2-hour deep-dive, we went over: • 🔥 how pg_lake makes analytics 100x faster (literally) • 🔥 perf internals like vectorized execution & CPU branching • 🤔 practical differences between OLTP and OLAP database development (and the age-old mission in uniting both) • 🤔 how (and why) pg_lake intercepts query plans and delegates parts of the query tree to DuckDB • 💡 why Postgres is architecturally terrible at analytical queries (and how vectorized execution fixes this) • 💡 Marco's hard-won experience through a decade+ career in Postgres • 🏆 Iceberg's role as the TCP/IP for tables • 🏆 what the real moat of PostgreSQL is Developments like pg_lake are a real reason why "Just Use Postgres" is much more than a meme, and it'll continue to dominate discourse. I promise you will learn a lot from this episode. Timestamps: (0:02) What is pg_lake? (2:23) Postgres' 100x slower problem and columnar storage experiments they had to make Postgres fast for analytics (6:00) practical examples and internals (16:20) perf internals - vectorized execution & CPU optimization (23:00) pg_lake architecture (why DuckDB isn't embedded) and the connection-per-process issue (29:16) how pg_lake intercepts the query plan tree and delegates parts to DuckDB (41:09) Iceberg catalogs (48:24) postgres to iceberg ingestion patterns (and pg_incremental) (53:40) Marco's (long) career: early AWS, Citus, Microsoft, Crunchy Data & Snowflake (1:04:20) Marco's observations around the merging between OLTP and OLAP (and the subtle dev differences there) (1:15:30) reverse ETL (1:33:08) Iceberg as the TCP/IP for tables (1:35:00) Marco's thoughts on the "Just Use Postgres" fever

Stanislav Kozlovski

16,889 views • 5 months ago