KIROK_retain
Store new information in agent memory with automatic entity extraction and smart deduplication to prevent redundant entries.
Instructions
Store new information in agent memory.
Automatically extracts entities and keywords, generates a semantic embedding, and indexes for later retrieval.
Smart Deduplication (inspired by Mem0): If the new content is highly similar to existing memories (cosine > 0.85), the system will decide whether to ADD (new info), UPDATE (enrich existing), or NOOP (skip).
Args: bank_id: Memory bank identifier (e.g. 'antigravity', 'user-prefs'). content: The information to remember. context: Optional context about the source (e.g. 'project meeting'). timestamp: Optional ISO 8601 timestamp. Defaults to now.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bank_id | Yes | ||
| content | Yes | ||
| context | No | ||
| timestamp | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |