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.
Open source. Apache 2.0. Self-host on your infrastructure, use our managed cloud, or start free locally.
Nine open source projects. One production-grade data platform for AI systems.
Production multi-tenant PostgreSQL. Schema evolution, HMAC auth, encryption governance. Deploy with Docker, Kubernetes, or bare metal. Apache 2.0.
→ The database.
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.
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.
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.
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.
Encrypted backups that never leave the CDE in plaintext. Streaming envelope encryption, governed restore, crypto-shredding, compliance evidence.
→ Plaintext never touches disk.
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.
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.
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.
Three ways to get started with VibeSQL — pick the one that fits your use case.
Install the /vibe-sql AI skill, point it at VibeSQL, query in natural language. Works with Claude Code, OpenCode, and Codex CLI.
→ Docs
Store tool calls, agent actions, conversation logs as queryable JSONB. Production-tested schemas included.
→ Schemas
npx vibesql-micro — embedded Postgres, zero config, under 10 seconds. Cross-platform.
→ Releases
Latest releases and updates from the VibeSQL platform.
Talk to your VibeSQL database in natural language. Skills for Claude Code, OpenCode, and Codex CLI. Install in one command, QA-tested 10/10.
Binary relocation, Linux support, npm install script. Cross-platform embedded PostgreSQL in one command.
Full install guides for Claude Code, OpenCode, and Codex CLI. Copy one file, start querying in natural language.
The only database designed from the ground up for AI collaboration at scale.
AI systems produce JSON. VibeSQL stores, indexes, and queries it natively with PostgreSQL JSONB. No ORMs, no schema wrestling.
Built-in multi-agent messaging. Send, receive, and search messages between agents backed by JSON tables. Proven in production.
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.
HMAC auth, encryption governance, audit trails, multi-tenant isolation. Built for compliance environments, not weekend projects.
First-class MCP server for AI assistants. Talk to your database in natural language. Listed on LobeHub.
From npx vibesql-micro on your laptop to Kubernetes in production. Same JSON-SQL API, same queries, same code.
Production-tested database designs for AI agent systems.
-- 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() );
-- 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[] );
-- 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() );
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.
Self-host on your infrastructure, use our managed cloud, or start with the free dev tool. Same powerful platform, your choice.
Self-hosted production infrastructure. Deploy on your terms.
Fully managed cloud infrastructure. Zero ops, instant scale.
Local development and prototyping. Prove the concept before production.
Dedicated infrastructure, white-label options, custom SLAs.