Manage Persistent Agent Memory Triplet Store
manage_memory_storeManage persistent agent semantic memory stores by listing, compressing, consolidating, exporting, resetting, or deleting episodic knowledge stored 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: Memory lifecycle operation: 'list' displays active memory stores and recent codes; 'compress' encodes text into semantic triples; 'decompress' decodes memory codes; 'consolidate' merges episodic memories; 'export' dumps graph to JSON or interactive HTML; 'reset' clears memory codes; 'delete' removes store file from disk.content: Text document, knowledge snippet, or output file path depending on operation.store_name: Unique identifier of the target memory store to manage (default: 'default').project_root: Workspace directory where memory stores are persisted (default: current directory).
Behavior:
Mutability: State-modifying and destructive; writes, consolidates, resets, or deletes local memory store JSON files on disk.
Idempotency: Non-idempotent for write/reset operations; idempotent for 'list' and 'export' operations.
Privacy & Network: 100% offline local JSON storage; zero external network synchronization.
Performance & Resources: Executes in <50ms consuming <35MB RAM; thread-safe file handling.
Auth: Zero authentication or cloud credentials required.
Return Structure: Emits Markdown status report confirming memory consolidation, export file path, list of active memory stores, or deletion confirmation.
Error Handling: Validates operation parameter and returns clear error guidance 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "manage_memory_store"
}
}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 |