Workspace Memory Node
warning
This node is in beta and may not be fully tested or documented. Use with caution.
File-based memory for Workspaces that writes messages directly to the workspace container. Files are instantly available to the agent and synced to GCS in the background. Pending writes are stored in session state for durability.
Properties
| Label | Property | Type | Description | Default Value | Is Required |
|---|---|---|---|---|---|
| Memory Key | memoryKey | botdojo/types/string | workspace_memory | ||
| Max Context Window (tokens) | maxContextWindow | botdojo/types/number | Maximum tokens before pruning oldest messages | 128000 | |
| Max Preview Chars | maxPreviewChars | botdojo/types/number | Characters to show in preview (half at start, half at end) | 500 | |
| Tool Content Threshold (chars) | toolContentThreshold | botdojo/types/number | Truncate tool outputs larger than this, with reference to full content file | 2000 | |
| Enable Token Counting | enableTokenCounting | botdojo/types/boolean | Use accurate token counting vs character-based estimation | true | |
| Min Messages to Compress | minMessagesToCompress | botdojo/types/number | Minimum number of messages required before pruning begins | 5 | |
| Compress Percentage | compressPercentage | botdojo/types/number | Target percentage of max context window (0.0-1.0) | 0.7 |
Output
| Label | Property | Type | Description | Default Value |
|---|---|---|---|---|
| Memory | memory | botdojo/interface/memory | Workspace memory with direct container file persistence and pending write support | null |