Nowledge Mem
Search (memory_search)
Use natural language queries. This is semantic search, not file search.
- "database choice for task events" (not "MEMORY.md" or file paths)
- "meeting with Sarah about API redesign"
- "deployment procedure for production"
Results include matchedVia (scoring breakdown), importance, labels, sourceThreadId.
When results include relatedThreads, use nowledge_mem_thread_fetch with the threadId for one small targeted message range. A known offset may select that range; do not advance through pages. Follow the bounded thread-read policy below.
Bi-temporal filters narrow results by time:
event_date_from/event_date_to— when the fact happenedrecorded_date_from/recorded_date_to— when it was saved
Save (nowledge_mem_save)
Save proactively when the conversation produces a durable fact, preference, decision, plan, procedure, learning, event, or important context. Do not wait to be asked.
Structure saves:
unit_type: fact | preference | decision | plan | procedure | learning | context | eventlabels: lowercase-hyphenated topic tagsimportance: 0.0-1.0 (most: 0.5; key decisions/preferences: 0.7-0.9)event_start/event_end: ISO dates when temporal
Skip trivial exchanges, greetings, and meta-conversation about memory itself.
Connections (nowledge_mem_connections)
Pass a memoryId from search results to explore related memories, evolution chains, and source documents. Edge types: EVOLVES, CRYSTALLIZED_FROM, SOURCED_FROM, MENTIONS.
Timeline (nowledge_mem_timeline)
Browse recent activity grouped by day. Filter by event_type or exact date_from / date_to range.
Threads (nowledge_mem_thread_search + nowledge_mem_thread_fetch)
Find past conversations by keyword, then once for the specific messages needed fetch messages. Threads span all sources: this tool, other AI tools, browser capture, imports.
Startup Context (nowledge_mem_context)
Read Context Bundle when identity, active space, active rules, or current priorities matter. Older nmem clients fall back to the user's Working Memory briefing. Patch a specific Working Memory section with patch_section + patch_content/patch_append when the conversation updates a priority or resolves a flag.
Important
- Search uses natural language queries, not file paths. Never search for "MEMORY.md" or "memory/*.md".
- When
relatedThreadsappear in results, they often contain the most useful context. - Use tools directly; do not tell the user to "check your memory."
Bounded thread reads
Search memories or threads first, then choose the specific conversation and message range needed. Call thread_fetch_messages, a host thread-fetch tool, or nmem --json t show at most once per question, using a small message limit (for example 8) and a content limit of 1200 where supported. A known target range may use a nonzero offset once.
Never loop over offsets to reconstruct a conversation. Do not raise --content-limit to compensate for a slow or incomplete read. Small output limits do not guarantee cheap server-side work on every deployed backend. If a read is slow, incomplete, fails or times out, stop, report the evidence gap, and refine the search rather than retrying pages. A later explicit user request for another range is a new bounded read; a routine “continue” is not permission to drain the thread.