Overview

Database-level audit trails — triggers capture every row change; your application only passes who acted.

On this page
CLI v0.2.0 TypeScript SDK v0.4.0
01 · Capture
Generate DB triggers
One CLI command generates auditstream.changes and its capture triggers.
02 · Attribute
Attach the actor
Thin SDKs or plain SQL tag outgoing writes with user, service, or AI agent metadata.
03 · Operate
Verify & export
Gate CI against trigger drift, inspect diffs in the terminal, and stream lossless batches.

Support status

Target Status Details
PostgreSQL Supported & tested PostgreSQL 15–19 (verified 15.20–19.0), PgBouncer 1.26, Neon, and Supabase
MySQL Evaluating Not supported yet — PostgreSQL is the only engine in v0.1
TypeScript SDK Supported @auditstream/* v0.4.0 for Prisma 7, Drizzle, Next.js 16, Hono, and Express
Python SDK Planned No native SDK yet — works today via psycopg and SQL comments
Plain SQL Supported Any language or driver (Go, Ruby, Java, psql) via SQL comments or set_config

Choose your path