skip to content
FILESYSTEM.md

Cloud Filesystems for Agents

Last updated:

View Markdown source

Builder procedure

Shared filesystem vs object store

Managed shared FS (e.g. AWS EFS, similar NFS-style services)Object storage (S3/GCS/Azure Blob)
InterfacePOSIX mount / NFSHTTP object API (or FS gateway)
Best forShared directories, many small files, collaborative workspacesLarge durable blobs, checkpoints, media
Agent fitStrong when agents need real paths + shared editsStrong as durable backend behind a virtual FS
Watch-outsCost, throughput limits, lock/metadata contentionHigh latency for tiny read/write loops; immutable objects

Amplify’s industry framing: object stores optimize for large durable objects; agents often invert that with frequent small mutations. Use object storage as a backend, not always as the agent’s primary interface.

When EFS-like systems help

When to avoid as the only layer

  1. Local scratch + cloud durable
    Agent writes hot state locally; sync/publish artifacts to EFS/object store.

  2. EFS for shared repos
    Mount repo + MEMORY/ for multi-agent teams; keep secrets elsewhere.

  3. Object store behind composite FS
    /docs reads from objects; /workspace stays local (Composite).

Checklist

Human notes

“Cloud filesystem” is not one product category. Decide whether you need POSIX sharing or durable blobs, then pick EFS-like vs object storage (or both). See Mountable storage.