memory
Store and manage persistent facts across sessions. Add, view, update, or remove structured memories organized by sections like work, personal, and preferences.
Instructions
Manage persistent memory across sessions.
Commands:
view: Show all memories (optionally filter by section)
add: Add a new fact to a section
upsert: Add or replace a structured fact by key
remove: Remove a fact by section and line number
replace: Update a fact by section and line number
Sections: work, personal, top_of_mind, history, instructions, user_profile, user_preferences, eyra_project, devices_environment, workflows, writing_style, long_term_tasks, do_not_forget
Examples:
{"command": "view"}
{"command": "view", "section": "work"}
{"command": "add", "section": "personal", "fact": "Lives in Berlin"}
{"command": "upsert", "section": "user_preferences", "key": "answer_style", "value": "Prefers concise answers"}
{"command": "remove", "section": "work", "line": 3}
{"command": "replace", "section": "top_of_mind", "line": 1, "fact": "Working on new project"}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Operation to perform | |
| section | No | Target section (required for add/remove/replace, optional for view) | |
| sections | No | Optional section allowlist for compact view/context output | |
| fact | No | For add/replace: the fact to store (max 300 chars) | |
| key | No | Stable compact key for structured facts | |
| value | No | Compact value for structured facts | |
| source | No | Short source label for structured facts | |
| confidence | No | Confidence label for structured facts | |
| line | No | For remove/replace: line number within section (1-indexed) | |
| format | No | Output format for view | |
| maxChars | No | Maximum characters for view output |