Configure memory generation paths
mainBy default, all files in a mount are stored as durable storage. However, only files matching the container's memory paths are processed by the Supermemory pipeline for semantic search and structured fact extraction.
You can override these paths during a mount using the --memory-paths flag. The paths are provided as a comma-separated list:
- Trailing slash (e.g.,
/notes/): Matches any file inside that folder recursively. - No trailing slash (e.g.,
journal.md): Matches that exact file only. - Empty string (
""): Disables memory generation entirely (mount becomes pure storage). - Omit flag: Uses the existing server configuration for that container.
Note: The flag writes the configuration to the container tag, so the scope persists across subsequent mounts until changed.
# Scope memory generation to specific paths
smfs mount agent_memory --memory-paths "/notes/,/journal.md,/work/"
# Disable memory generation entirely
smfs mount agent_memory --memory-paths ""
# Use existing server config
smfs mount agent_memory