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.
Open source projects for AI data. Server, Micro, Edge, Audit and the vsql CLI are licensed Apache 2.0.
The PostgreSQL-backed JSON SQL server. Build it from the repository; it needs PostgreSQL 16 or newer.
→ Repository
A command-line tool that runs a query against an embedded PostgreSQL.
→ Repository
An OIDC authentication gateway in front of VibeSQL. Bring your own identity provider.
→ Repository
A PostgreSQL extension for audit logging, with SHA-256 hash chains and GELF forwarding.
→ Repository
VibeSQL is a JSON-native SQL layer on PostgreSQL. Start with the documentation and the example schemas.
A zero-dependency command-line client for VibeSQL. Run queries, manage schemas and seed data from your terminal. Needs Node.js 18 or newer.
Pick the one that fits your use case.
Latest releases and updates from the VibeSQL platform.
A JSON-native SQL API on PostgreSQL, for AI agents.
AI systems produce JSON. VibeSQL stores, indexes, and queries it natively with PostgreSQL JSONB. No ORMs, no schema wrestling.
Example schemas for agent mail on VibeSQL.
Apache 2.0 licensed. Fork it, modify it, host it commercially, white-label it.
First-class MCP server for AI assistants. Talk to your database in natural language.
Example 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() );
Self-host on your infrastructure.
Self-hosted. Build it from the repository.