Skip to content
latentSource

Project showcase

Masking before the agent handoff

A database transfer workflow that masks customer fields before rows reach an agent or its mailbox.

Pi agents · TypeScript · PostgreSQL

Read technical article
Mask customer records before the handoff

Recorded demonstration. Unmute the player to listen.

What it does

The producer queries synthetic banking data through a restricted tool. That tool masks sensitive fields before returning rows; the consumer loads the masked records into a separate database.

The replay shows a captured run with a Pi producer and an emulated consumer. You can follow the messages and inspect the saved checks alongside the code.

How it is built

The technical post covers the masking boundary, tool permissions, mailbox delivery, incremental loading, and the limits of the captured checks.

Two Pi Agents and a Customer Table: Masking Before the Handoff