What problem does it solve?
When working across multiple repositories or teams, Mem0's automatic project detection can scope memories to the wrong project, making it impossible to read or write memories under the correct project ID or to search across all projects at once.
Core Features & Use Cases
- Project Scope Override: Maps the current working directory to a specific project_id in ~/.mem0/project_map.json so reads and writes target the right project.
- Global Search Mode: Toggles a global_search flag in ~/.mem0/settings.json to search memories across all users and projects.
- Use Case: You are working in a monorepo but need to access memories stored under a different project's ID. Run the switch-project command with that project name, and the override persists across sessions for that directory.
Quick Start
Ask the assistant to switch this directory's Mem0 project scope to a specific project name, or to enable global memory search across all projects.