Neural Memory Operations
Operations
search <query>- Search lessonsstore <lesson>- Store a lesson manuallystats- Memory statisticsconsolidate- Force consolidationdecay- Force decay/pruning
When the user asks for a memory operation, infer the operation and arguments from the prompt. If the operation is ambiguous, ask one concise clarifying question before calling memory MCP tools.
Subcommands
search
Search both Graphiti (episodic) and Qdrant (semantic):
- Call mcp__graphiti__search_nodes with the query
- Call mcp__qdrant__qdrant-find with the query
- Merge and deduplicate results
- Present ranked by relevance
store
Manually store a lesson:
- Parse the lesson text from arguments
- Call mcp__graphiti__add_episode with the lesson
- Call mcp__qdrant__qdrant-store with the lesson
- Confirm storage with node/vector IDs
stats
Display memory statistics:
- Call mcp__graphiti__get_status for graph stats
- Report: node count, edge count, episode count
- Show last consolidation timestamp
- Show log file sizes from ~/.codex/fusengine/logs/00-memory/
consolidate
Force episodic to semantic consolidation:
- Read recent episodes from Graphiti
- Identify patterns (recurring errors, common solutions)
- Store consolidated patterns in Qdrant
- Report consolidation summary
decay
Force memory decay and pruning:
- Apply power law decay: R(t) = strength * (1+t)^(-rate)
- Prune nodes with retention < 0.10
- Prune edges with weight < 0.01
- Report pruned count