Skip to main content
Mem0VFS is a browser-safe, read-only view of one Mem0 user, agent, or run scope. Every memory is rendered as <memory-id>.json; the search CLI performs semantic search in that same scope.
Mem0 API keys are secrets. Use this VFS from Node or another trusted runtime; do not embed a Platform API key in a public browser bundle. Browser applications should call a server-side proxy instead.
Exactly one of userId, agentId, or runId is required. Fields marked secret are redacted in snapshots. The TypeScript VFS mirrors the Python Mem0 VFS, including pagination, JSON rendering, score formatting, path-limited search, and --threshold.

VFS.md

The VFS.md an agent reads with Mem0 mounted at /<path>.

Virtual Filesystem

/<path> layout

Supported Unix Commands for VFS

Unix commands work on each path as on a local filesystem, as far as the path supports them:

Limitations of Unix Commands for VFS

Where a path differs from a local filesystem:Run man to list every command, and man <cmd> or <cmd> --help for one command’s usage.