Skip to content

filesystems

Mastra workspace filesystem adapters.

filesystems wraps any portable @dbx-tools/shared-fs FileSystem (local disk, Databricks, memory, …) as a Mastra MastraFilesystem. scratchFilesystem always returns a fresh localFS.tmpFS mount (random id root) when Mastra needs a filesystem and no other mount resolved.