🚀 Open Source 🪟 Windows 🍎 macOS 🐧 Linux 📋 Apache 2.0

JSON-Native SQL for AI Agents

The database and infra layer built for AI agents and microservices. Store JSON payloads, coordinate multi-agent workflows, and query AI-generated data — with real SQL on Postgres.

✉️ Agent Mailboxes 📦 JSON Event Store 🤖 AI App Backend 🔌 MCP Integration

Open source. Apache 2.0. Self-host on your infrastructure, use our managed cloud, or start free locally.

The VibeSQL Platform

Nine open source projects. One production-grade data platform for AI systems.

🏢

VibeSQL Server

Production multi-tenant PostgreSQL. Schema evolution, HMAC auth, encryption governance. Deploy with Docker, Kubernetes, or bare metal. Apache 2.0.

→ The database.

🔐

VibeSQL Edge

Bring your own identity provider. Auth gateway that connects Auth0, Entra ID, Okta, or any OIDC provider to VibeSQL. Dynamic registration, role mapping, HMAC signing.

→ Your IDP, our data plane.

🛡️

VibeSQL Audit

PCI DSS compliant audit logging. PostgreSQL C extension with SHA-256 hash chains, WAL change capture, JSONB field-level diffing, and GELF forwarding.

→ Compliance that runs itself.

🔒

VibeSQL Vault

Governed storage for encrypted data. Access policies, retention enforcement, purge proof, compliance evidence. Drop it next to Micro for the smallest possible PCI CDE.

→ Micro + Vault = minimal CDE.

🔑

VibeSQL CryptAply

Governed encryption for VibeSQL. AES-256-GCM encryption, key lifecycle management, CryptAply governance bridge. Encrypts data, stores in Vault, reports to CryptAply.

→ Encrypt. Govern. Comply.

💾

VibeSQL Backup

Encrypted backups that never leave the CDE in plaintext. Streaming envelope encryption, governed restore, crypto-shredding, compliance evidence.

→ Plaintext never touches disk.

🔄

VibeSQL Sync

Governed replication where the wire is out of PCI scope. Payload-level encryption, selective column publication, signed Merkle-rooted audit trail, air-gap mode.

→ The governed path between CDEs.

🆓

VibeSQL Micro

Try it free, no sign-up. Single 77MB binary with embedded PostgreSQL 16. Local dev, prototyping, and PCI CDE companion with Vault.

→ Prove it works. Then scale.

Vibe SDK

The ORM that disappears. TypeScript types generated from your VibeSQL schema. Live hot-reload, zero config, pre-built CRUD and React hooks.

→ Change schema. Types update.

# 1. Start VibeSQL — one command
$ npx vibesql-micro

# 2. Store agent events as JSON
$ curl -X POST http://localhost:5173/v1/query \
-d '{"sql": "CREATE TABLE agent_events (id SERIAL, agent TEXT, data JSONB, ts TIMESTAMPTZ DEFAULT NOW())"}'

# 3. Query across agents
$ curl -X POST http://localhost:5173/v1/query \
-d '{"sql": "SELECT agent, data->>'action', count(*) FROM agent_events GROUP BY 1,2"}'

# Production? Same API, enterprise features.
$ docker run -d vibesql/server:latest

Golden Paths

Three ways to get started with VibeSQL — pick the one that fits your use case.

What's New

Latest releases and updates from the VibeSQL platform.

Why VibeSQL is Different

The only database designed from the ground up for AI collaboration at scale.

🎯

JSON-First for AI

AI systems produce JSON. VibeSQL stores, indexes, and queries it natively with PostgreSQL JSONB. No ORMs, no schema wrestling.

✉️

Agent Mailboxes

Built-in multi-agent messaging. Send, receive, and search messages between agents backed by JSON tables. Proven in production.

🔓

True Open Source

Apache 2.0 licensed. Fork it, modify it, host it commercially, white-label it. No proprietary extensions, no surprise fees, no vendor lock-in. Your data, your infrastructure, your control.

🔐

Production-Grade

HMAC auth, encryption governance, audit trails, multi-tenant isolation. Built for compliance environments, not weekend projects.

🔌

MCP Integration

First-class MCP server for AI assistants. Talk to your database in natural language. Listed on LobeHub.

Dev to Prod, Same API

From npx vibesql-micro on your laptop to Kubernetes in production. Same JSON-SQL API, same queries, same code.

Example Schemas

Production-tested database designs for AI agent systems.

🤖 Agent Collaboration Platform

5 tables • Multi-agent orchestration
-- Agents table
CREATE TABLE agents (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  name TEXT NOT NULL,
  capabilities JSONB,
  status TEXT DEFAULT 'idle',
  last_seen TIMESTAMP
);

-- Conversations table
CREATE TABLE conversations (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  agent_ids UUID[],
  context JSONB,
  created_at TIMESTAMP DEFAULT NOW()
);

-- Messages table
CREATE TABLE messages (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  conversation_id UUID REFERENCES conversations(id),
  agent_id UUID REFERENCES agents(id),
  content TEXT,
  metadata JSONB,
  created_at TIMESTAMP DEFAULT NOW()
);

✉️ Agent Mail System

2 tables • Async messaging
-- Mail queue table
CREATE TABLE mail_queue (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  from_agent UUID,
  to_agent UUID,
  subject TEXT,
  body JSONB,
  priority INTEGER DEFAULT 0,
  status TEXT DEFAULT 'pending',
  created_at TIMESTAMP DEFAULT NOW(),
  delivered_at TIMESTAMP
);

-- Mail templates table
CREATE TABLE mail_templates (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  name TEXT UNIQUE,
  template JSONB,
  variables TEXT[]
);

🔐 Page RBAC

4 tables • Access control
-- Users table
CREATE TABLE users (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  email TEXT UNIQUE,
  role TEXT DEFAULT 'viewer',
  permissions JSONB
);

-- Pages table
CREATE TABLE pages (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  path TEXT UNIQUE,
  owner_id UUID REFERENCES users(id),
  settings JSONB
);

-- Page access table
CREATE TABLE page_access (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  page_id UUID REFERENCES pages(id),
  user_id UUID REFERENCES users(id),
  access_level TEXT
);

-- Access logs table
CREATE TABLE access_logs (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  page_id UUID REFERENCES pages(id),
  user_id UUID REFERENCES users(id),
  action TEXT,
  timestamp TIMESTAMP DEFAULT NOW()
);

How VibeSQL Compares

VibeSQL vs. the alternatives for AI agent infrastructure.

Feature VibeSQL Generic Postgres Vector DBs AI SQL Clients
JSON-first queries Native JSONB Manual JSONB No SQL Human UI only
Agent messaging Built-in DIY No No
MCP integration First-class No Some No
Local dev One command Docker + config Cloud-only N/A
Multi-tenant Built-in DIY Varies No
Audit / compliance Built-in DIY No No
Open source Apache 2.0 Yes Varies Mostly no
Best for AI agents + microservices Traditional web apps Embeddings / RAG Human analysts

VibeSQL IS Postgres — with a JSON-native API layer, agent features, and enterprise security built in.

Deploy Your Way

Self-host on your infrastructure, use our managed cloud, or start with the free dev tool. Same powerful platform, your choice.

Early Access

VibeSQL Cloud

$29/month

Fully managed cloud infrastructure. Zero ops, instant scale.

  • 10 managed databases
  • 100GB storage included
  • Global CDN deployment
  • Automatic backups + SSL
  • 99.9% uptime SLA
  • Real-time monitoring
  • Priority support
Join Waitlist

VibeSQL Micro

$0/forever

Local development and prototyping. Prove the concept before production.

  • Full JSON-based SQL API
  • Single 77MB binary
  • Windows, macOS, Linux
  • Multi-agent messaging
  • No sign-up required
  • Community support
Download Free
Custom

Enterprise

Custom

Dedicated infrastructure, white-label options, custom SLAs.

  • Unlimited databases
  • Dedicated cloud resources
  • Advanced security controls
  • SSO + SAML integration
  • Custom compliance frameworks
  • 99.99% uptime SLA
  • 24/7 phone + Slack support
  • Dedicated success manager
Contact Sales