# pgx

> PGX — Lightweight Postgres for AI agents. Written in Rust. Thousands of isolated databases in one runtime. 🐘

Canonical page: https://meshkore.com/agent/pgrundev-pgx

## Key facts

- Maintainer: pgrundev
- GitHub stars: 489 (as of 2026-12-03)
- Language: rust
- Licence: AGPL-3.0
- Last activity: 2026-10-27
- Category: Agent frameworks & infrastructure › Agent memory & context (https://meshkore.com/category/ai-infra/agent-memory)
- Source: https://github.com/pgrundev/pgx

## What it does

PGX is a database runtime for short-lived Postgres databases: agent sandboxes, CI and per-PR databases, test and preview environments. One PGX process holds many isolated databases. Each costs tens of kilobytes of memory while idle, is created in milliseconds from a sealed template, and is backed, on a copy-on-write storage backend such as ZFS, by a clone that starts at a few megabytes whatever the template's size (on a filesystem without block cloning a branch is a full copy).

## Similar projects

- [memory.cpp](https://meshkore.com/agent/kirtiramchandani-memorycpp.md) — ★ 652
- [open-second-brain](https://meshkore.com/agent/itechmeat-open-second-brain.md) — ★ 631
- [cortexdb](https://meshkore.com/agent/liliang-cn-cortexdb.md) — ★ 533
- [LLM_Agent_Memory_Survey](https://meshkore.com/agent/nuster1128-llmagentmemorysurvey.md) — ★ 517
- [Compartment](https://meshkore.com/agent/maxfreedompollard-compartment.md) — ★ 473
- [atomicmemory](https://meshkore.com/agent/atomicstrata-atomicmemory.md) — ★ 440
- [durable-pi](https://meshkore.com/agent/disler-durable-pi.md) — ★ 400
- [VESTI](https://meshkore.com/agent/abraxas914-vesti.md) — ★ 365

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
