Memory

Memory

Where your system keeps state. Streams for structured workflow output, disks for files, a managed database Swirls provisions, and the Postgres you already have.

Choose storage according to the data your workflows and agents need to keep:

  • Streams: Swirls-managed persistent storage for workflow output. Structured, typed records you can filter and reuse in other workflows or later runs of the same one.
  • Views: a spreadsheet over your streams. Map each stored row into a table and add computed columns that run a graph per row (for example, an AI enrichment).
  • Disks: a platform-provisioned shared file system for unstructured files. Workflows run commands on it; agents mount it in their sandboxes.
  • Database: a PostgreSQL database Swirls provisions and manages for you, declared with a Prisma schema and queried through a generated typed client.
  • Postgres: your external PostgreSQL database, declared with its table schemas so workflows can run parameterized SQL against it.