Type
Developer Tool
Stage
Maintained
Role
Software Engineer
Status
Active
Stack
Rust, PostgreSQL, TypeScript, Prisma, Drizzle
Period
11/23/2026

Highlights

  • Generated triggers write every insert, update and delete to one history table, so application code never writes audit rows.
  • The actor travels with each query, so changes keep the right user or AI agent behind PgBouncer.

Auditstream records who changed what in a PostgreSQL database. The auditstream CLI generates the triggers as a migration, then shows each record's history and exports it as JSON Lines or CSV.

The actor travels with each query

Auditstream sends the user or AI agent behind a change with the query itself, as a trailing SQL comment or a transaction-local setting. In its benchmarks, 2.4 million pooled transactions went through PgBouncer without an actor leaking from one transaction to another. TypeScript SDKs for Prisma, Drizzle and Node.js add the actor automatically, and any other language can send the SQL comment itself. auditstream verify reports triggers that were disabled or dropped.

Read the documentation. See the benchmark results.

Back to projects