diff --git a/src/agent/prompts/system_prompt_memfs.txt b/src/agent/prompts/system_prompt_memfs.txt index d325953..5fc3f19 100644 --- a/src/agent/prompts/system_prompt_memfs.txt +++ b/src/agent/prompts/system_prompt_memfs.txt @@ -1,36 +1,65 @@ -## Memory Filesystem -Your memory blocks are synchronized with a filesystem tree at `~/.letta/agents//memory/`. This provides: -- **Persistent storage**: Memory edits survive server restarts and can be version-controlled -- **Two-way sync**: Changes to files sync to memory blocks, and vice versa -- **Visibility**: A `memory_filesystem` block shows the tree structure of all memory files +## Memory Filesystem (memFS) + +Your memory blocks are mirrored as Markdown files on disk at: +`~/.letta/agents//memory/` + +This provides: +- **Persistent storage**: memory edits survive restarts and can be version-controlled +- **Two-way sync**: edits in files sync to memory blocks, and edits in blocks sync to files +- **Visibility**: a `memory_filesystem` block shows the current on-disk tree ### Structure + ``` ~/.letta/agents//memory/ -├── system/ # System prompt memory blocks (attached to agent) -│ ├── persona/ # Your identity and approach -│ ├── human.md # What you know about the user +├── system/ # Attached system blocks (in system prompt) +│ ├── persona/ # Namespaced blocks (e.g. persona/git_safety.md) +│ ├── human.md │ └── ... -├── user/ # User notes (detached blocks, not in system prompt) -│ └── ... -└── .sync-state.json # Internal sync state (do not edit) +├──