All docs
Docs
Examples

Drizzle with Synapsor

Keep Drizzle for typed app queries while Synapsor governs agent reads, evidence, proposals, and replay.

Overview

Drizzle can continue to own ordinary application queries and migrations. Synapsor is for the agent-facing trust boundary.

Use Synapsor external source mappings for selected tables or views, then generate contexts/capabilities from those mappings. Your model sees reviewed tools, not Drizzle query builders.

For approved proposal writeback, run a trusted worker that applies validated changes through Drizzle transactions or parameterized SQL.

Developer notes

  • Keep Drizzle for normal application code.
  • Keep model-facing operations as Synapsor capabilities.
  • Apply approved proposal writebacks through trusted server code only.
  • Use source doctor after Drizzle migrations that change imported tables.