manage_memory_store
Manage persistent agent memory stores by compressing text into semantic triples, consolidating, exporting, listing, resetting, or deleting them. Use to store and purge episodic knowledge locally.
Instructions
Manages the complete lifecycle of persistent agent semantic memory stores, including compression, consolidation, export, listing, reset, and deletion, distinguishing from 'query_memory_store' and 'prune_code_snippet' by storing, compressing, and purging episodic memories rather than querying relations or pruning source code.
Parameters:
operation(str, optional, default='list'): Memory lifecycle operation: 'list' to show active memory stores, 'compress' to encode text into semantic triples, 'decompress' to decode memory code, 'consolidate' to merge memory, 'export' to dump graph, 'reset' to clear all memory, 'delete' to remove a specific store.content(str, optional, default=''): Text document or knowledge content to compress or store when operation is 'compress'.store_name(str, optional, default='default'): Identifier of the target memory store to manage.project_root(str, optional, default='.'): Workspace root where memory stores are managed (default: current directory).
Behavior:
State-Modifying / Destructive: Consolidates or updates local memory state; 'reset' and 'delete' operations remove stored memory data from disk.
Non-idempotent for state modifications; idempotent for 'list' and 'export'.
100% Offline: Fully local storage management without external synchronization.
Auth & Rate Limits: Zero authentication or credentials required; completes in <50ms.
Error Handling: Validates operation parameter and returns clear error for unrecognized modes.
Usage Guidelines:
When to use: Store new semantic knowledge, consolidate episodic memories, export knowledge graphs to JSON/HTML, list active memory stores, or clear/reset agent memories.
When NOT to use: Do not use for querying existing knowledge triples or causal chains from memory (use 'query_memory_store' instead); do not use for pruning source code snippets or diff streams (use 'prune_code_snippet' instead).
Returns: Status report confirming memory consolidation, export file path, list of active memory stores, or confirmation of reset/deletion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | No | Text document or knowledge content to compress or store when operation is 'compress'. | |
| operation | No | Memory lifecycle operation: 'list' to show active memory stores, 'compress' to encode text into semantic triples, 'consolidate' to merge memory, 'export' to dump graph, 'reset' to clear all memory, 'delete' to remove a specific store. | list |
| store_name | No | Identifier of the target memory store to manage. | default |
| project_root | No | Workspace root where memory stores are managed (default: current directory). | . |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |