lifeos_add_memory
Store an agent-generated memory as a Markdown file in vault/memory, adding YAML frontmatter and timestamp, then auto-index it into pgvector for semantic search.
Instructions
Store an agent-generated memory entry under vault/memory/.
Restricted write operation:
Memory is always written physically into vault/memory/{filename}.md.
'category' is recorded as metadata only.
Canonical files (identity, goals, projects, career, health, learning) cannot be overwritten.
Injects YAML frontmatter with source: agent and timestamp.
Automatically indexes the new memory into pgvector.
Args: category: Semantic category metadata tag (e.g. 'work', 'preferences', 'decisions'). filename: Kebab-case filename ending with .md (e.g. '2026-10-02-backend-priority.md'). content: The Markdown text to record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| category | Yes | ||
| filename | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |