Memory Tree
The Memory Tree is a local, semantic knowledge base that lives on your machine. It stores everything the agent learns about you, your projects, and the world - in a form that can be retrieved efficiently during conversation.
Structure
Root
└── Persona
└── Identity (name, preferences, patterns)
└── Projects
└── project_a/
└── project_b/
└── World
└── topics/
└── contacts/
Storage
- SQLite -
<workspace>/memory_tree/chunks.db - Markdown -
<workspace>/wiki/(bidirectional sync with Obsidian) - Attachments - inlined or file-referenced alongside chunks
How memories enter the tree
- Auto-fetch - continuous background sync from integrations
- Learning layer - the agent explicitly stores what it learns during conversation
- Triggers - incoming events are acknowledged and written as memory notes
How the agent retrieves them
The recall tool queries by topic, source, or natural language. The retrieval layer returns ranked chunks with provenance.
See also
- Memory Tools - Tools for read/write operations
- Auto-fetch - How the tree is populated in background
- Privacy & Security - Where the data lives