Skip to main content

Workspace Memory 2 Node

warning

This node is in beta and may not be fully tested or documented. Use with caution.

Enhanced memory with hybrid BM25 + vector search. Stores messages in JSONL files with async embedding generation. Provides search_memory, save_to_memory, compact_memory, and other MCP tools. Uses /workspace/.memory/ (separate from Workspace Memory's .session/).

Inputs

LabelPropertyTypeDescriptionDefault ValueIs Required
Embedding ModelembeddingModelbotdojo/interface/embedding_modelEmbedding model for vector search. Dimensions are locked at first use.null
Language ModellanguageModelbotdojo/interface/language_modelLanguage model for compaction summarization (optional)null

Properties

LabelPropertyTypeDescriptionDefault ValueIs Required
Memory KeymemoryKeybotdojo/types/stringworkspace_memory2
Max Context Window (tokens)maxContextWindowbotdojo/types/numberMaximum tokens before pruning oldest messages128000
Vector WeightvectorWeightbotdojo/types/numberWeight for semantic/vector search (0-1). Default: 0.70.7
Text WeighttextWeightbotdojo/types/numberWeight for keyword/BM25 search (0-1). Default: 0.30.3
Compaction ThresholdcompactionThresholdbotdojo/types/numberTrigger compaction when token usage exceeds this ratio (0-1). Default: 0.90.9
Max Preview CharsmaxPreviewCharsbotdojo/types/numberCharacters to show in preview (half at start, half at end)500
Tool Content Threshold (chars)toolContentThresholdbotdojo/types/numberTruncate tool outputs larger than this2000

Output

LabelPropertyTypeDescriptionDefault Value
Memorymemorybotdojo/interface/memoryMemory instance with hybrid search capabilitynull
Memory ToolsmemoryToolsbotdojo/interface/toolMCP tools for memory operations (search_memory, save_to_memory, etc.)null