deepmem_write
Write conversation messages to DeepMemory for fact extraction and persistent storage. Messages are processed by an LLM to extract structured memories, which are then embedded and stored in a vector database for later semantic search.
Set infer=True to enable LLM fact extraction (produces richer memories but costs one LLM call). Set infer=False to store raw messages without extraction.
Returns a list of memory IDs for successfully stored facts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| infer | No | ||
| run_id | No | ||
| api_key | No | ||
| user_id | No | default | |
| agent_id | No | ||
| messages | Yes |