Mastra 1.37.0 adds unified FilesSDK for workspaces
Mastra v1.37.0 introduces a provider-agnostic FilesSDK, enabling AI agents to interact with S3, Cloudflare R2, and local storage through a unified workspace abstraction. The update streamlines cross-cloud agent deployments by decoupling file operations from specific storage backends.
Mastra is effectively building the "standard library" for TypeScript agents, with v1.37.0 tackling the friction of persistent agent environments.
- –Unified storage adapter eliminates the need for provider-specific logic when moving agents from local dev (filesystem) to production (S3/R2)
- –Built-in object-store semantics ensure consistent agent behavior across hierarchical and flat storage architectures
- –Integrated `readOnly` mode provides a critical security guardrail for agents handling untrusted data or user-facing tasks
- –Direct binding to the `Workspace` constructor makes file persistence a first-class citizen in agent lifecycles
- –The abstraction simplifies RAG pipelines by providing a standardized interface for data syncing and context retrieval
DISCOVERED
8h ago
2026-05-28
PUBLISHED
16h ago
2026-05-27
RELEVANCE
AUTHOR
mastra