PGB Hub · Unified Programmable Cloud

PGB Hub
The programmable cloud for AI-native applications.

Unify managed PostgreSQL databases, serverless compute, microVM container workloads, realtime pub/sub channels, built-in auth, object storage, transactional mail, and Agent-Native MCP in one resilient platform.

$psql postgresql://app:[email protected]:5433/db?sslmode=require
Loading 3D Cloud Mesh...
8 Sovereign Cloud Subsystems

Programmable Building Blocks for Modern Apps

Every backend primitive you need; compute, microVMs, databases, realtime channels, auth, storage, mail, and AI agents, accessible over one sovereign endpoint.

Explore All 8 Services
Pre-Warmed Compute

Serverless Compute

Deploy Python & Node.js functions with pre-warmed runtimes, automatic HTTP routing, cron triggers, and CDC listeners.

pgb deploy function --runtime=node20
CRIU Snapshotting

MicroVM Containers

Run full Docker OCI workloads with hardware cgroups v2 isolation and CRIU memory snapshots that scale to 0 RAM when idle.

pgb deploy service --image=ghcr.io/app:v1
ACID + JSONB + Vector

PostgreSQL Core

Document JSONB collections with auto GIN path indexing, PostGIS spatial calculations, pgvector embeddings, and TLS-encrypted connections.

SELECT ST_DWithin(geom, ST_MakePoint(-122.4, 37.7), 2500)
Live Pub/Sub

PGB Realtime Channels

Low-latency pub/sub channels with Server-Sent Events streaming, presence tracking, and a broadcast API for live client synchronization.

pgb.realtime.channel('orders').subscribe(onUpdate)
Instant Identity

Built-In Auth as a Service

Passwordless 6-digit OTP, magic links, OAuth, JWT session verification, and automatic PostgreSQL Row-Level Security scoping.

await pgb.auth.verifyOtp({ email, token })
Presigned Uploads

Object Storage & CDN

Isolated per-project bucket storage on S3-compatible object storage, 15-minute presigned upload URLs, and global edge distribution.

await pgb.storage.upload(path, fileData)
Deliverability Engine

Transactional Mail Engine

Authenticated sending (SPF, DKIM, DMARC) with automated bounce and complaint webhooks and domain reputation tracking.

await pgb.mail.send({ to, subject, html })
Model Context Protocol

Agent MCP & AI Tooling

Expose live schemas, transactional actions, and backend APIs directly to Cursor IDE, Claude Desktop, and autonomous AI agents.

npx -y @pgb/mcp
Complete Programmable Cloud

The Full Backend Stack in One Unified Platform

Stop stitching together ten different vendors. PGB Hub combines databases, serverless compute, containers, realtime channels, auth, storage, and AI agents into a single sovereign control plane.

Compute & Execution

Serverless Compute & Feature Modules

Deploy instantly scalable Python and Node.js logic with pre-warmed runtimes. Trigger executions via standard HTTP REST, HMAC-signed webhooks, database CDC streams, or cron schedules.

export async function handle(event, { db, auth }) {
  return db.orders.create({ user: auth.user.id, amount: 4500 });
}
Full Container Runtime

MicroVM Container Workloads

Run full Docker OCI workloads with hardware cgroups v2 isolation and memory-snapshot technology that automatically scales to zero RAM when idle.

services:
  api:
    image: ghcr.io/app/express:v2
    port: 8080
    tier: micro
Document & Relational Core

Managed PostgreSQL & JSONB Engine

Store dynamic JSON collections with automatic GIN path indexing, perform PostGIS geospatial queries, and run pgvector semantic search with ACID reliability.

SELECT * FROM venues WHERE ST_DWithin(geom, ST_MakePoint(-122.4, 37.7), 2500);
Live Pub/Sub

PGB Realtime Channels

Low-latency pub/sub channels with Server-Sent Events streaming, presence tracking, disconnect-recovery buffers, and a broadcast API for live client sync.

pgb.realtime.channel('orders').subscribe((event) => render(event));
Identity & Security

Built-In Auth as a Service

Complete authentication engine supporting email/password, 6-digit passwordless OTP, magic links, JWT session verification, and automatic PostgreSQL Row-Level Security scoping.

const { session, user } = await pgb.auth.verifyOtp({ email, token: '849201' });
Asset Distribution

Partitioned Object Storage & CDN

Isolated per-project bucket storage on S3-compatible object storage, 15-minute presigned upload URLs, media streaming, and global CDN caching.

const { url } = await pgb.storage.upload('images/hero.png', fileData);
Communications

Transactional Mail Engine

Authenticated sending (SPF, DKIM, DMARC) for transactional email, with automated bounce and complaint webhooks, template rendering, and domain reputation scoring.

await pgb.mail.send({ to: '[email protected]', subject: 'Verify Account', html: '...' });
AI Integration

Agent-Native MCP & LLM Tooling

Connect AI coding agents, Cursor IDE, Claude Desktop, and LangChain models directly to your live database schemas and backend APIs using Model Context Protocol.

mcpServers: { pgb: { command: 'npx', args: ['-y', '@pgb/mcp'] } }
Unified Developer Experience

One Client SDK.
Your Entire Cloud Architecture.

Forget managing 8 distinct SDKs, API tokens, IAM policies, and billing dashboards. PGB Hub provides a unified, type-safe client that connects your frontend, mobile apps, and AI agents directly to all cloud subsystems.

Single endpoint: https://<project>.pgbhub.app
Automatic JWT session injection & Row-Level Security (RLS)
Native Model Context Protocol (MCP) server for Cursor & Claude
app-cloud-service.ts
TypeScript SDK
import { createClient } from "@pgb/sdk";

// Initialize one unified client for all cloud services
const pgb = createClient({
  endpoint: "https://<project-id>.pgbhub.app",
  apiKey: process.env.PGB_API_KEY
});

// 1. Auth: Passwordless login with automatic session & RLS
const { session } = await pgb.auth.verifyOtp({ email, token: "849201" });

// 2. Database: Query JSONB collections or relational PostgreSQL
const orders = await pgb.table("orders").find({ status: "PENDING" });

// 3. Storage: Upload a file (presigned R2 upload handled for you)
const { url } = await pgb.storage.upload("receipts/inv_984.pdf", fileData);

// 4. Mail: Dispatch transactional emails with deliverability tracking
await pgb.mail.send({ to: email, subject: "Order Dispatched", html: "<p>On its way!</p>" });

// 5. Realtime: Subscribe to live updates over a pub/sub channel
pgb.realtime.channel("orders").subscribe((event) => console.log(event));
Vendor Consolidation

Replace Fragmented Cloud Stacks with 1 Sovereign Platform

Stop stitching together complex cloud configurations and juggling unpredictable monthly API bills across multiple vendors.

Cloud CapabilityFragmented Cloud StackPGB Hub Sovereign Cloud
Serverless & ComputeExternal Serverless Providers ($$$)Built-in Functions & MicroVMs
Database & VectorsFragmented DB & Vector SaaSPostgreSQL + JSONB + pgvector Core
Realtime & Pub/SubSeparate WebSocket/Realtime SaaS ($$$ per connection)Built-in SSE Channels, Presence & Broadcast
AuthenticationThird-Party Identity SaaS ($$$ per MAU)Built-in OTP, Magic Links, JWT & RLS
Object StorageSeparate Object Storage & CDNPartitioned Buckets & Presigned URLs
Transactional MailSeparate Email Dispatch SaaSNative Deliverability Engine & Webhooks
AI Agent IntegrationCustom MCP bridges & wrappersNative Model Context Protocol (MCP) Server
The Core Data Engine

Document Database Agility.
PostgreSQL Reliability.

Develop with schema-free JSON document collections. Scale with native PostgreSQL reliability, strict ACID transactions, GIN path indexing, PostGIS spatial queries, and automated daily snapshots stored offsite.

PostgreSQL 18JSONB CollectionsPostGISpgvector TLS
Database Architecture At A Glance
PGB Hub DatabaseJSONB + SQL + PostGIS + 0-Ops Backups
Traditional NoSQLJSON only · High RAM · No SQL JOINs
Vanilla PostgreSQLManual TLS, Backups, Proxies & Crons
Developer Guides & Multi-Language SDKs

Build Faster with TypeScript, Python, Go, Rust & AI Agents

Explore comprehensive documentation, REST APIs, client libraries, and live examples for every cloud subsystem.

Build AI-Native Applications Today

Ready to build on a truly programmable cloud?

Provision databases, serverless compute, microVM containers, realtime channels, auth, storage, and agent MCP tooling under one unified sovereign endpoint.

No Credit Card Required
Sovereign Cloud Services
Managed Edge Ingress