memory_store
Stores memories from AI agent interactions, supporting episodic events, semantic facts, and procedural steps for persistent recall across sessions.
Instructions
Store a memory. You MUST call this after every non-trivial turn. Choose the type based on what you are saving:
episodic: an event that happened — 'fixed the login bug in auth.py', 'user asked for a tic-tac-toe game', 'refactored auth module to use JWT'. Concrete actions and outcomes.
semantic: a durable fact that stays true — 'user prefers Python 3.12', 'project uses pytest', 'auth uses JWT', 'user communicates in Polish'. Knowledge about the user or project.
procedural: a how-to with steps — 'run tests with pytest -x', 'deploy via npm run build && rsync', 'start dev server: python -m backend.main'. Steps to accomplish something.
Set confidence below 1.0 for inferences, assumptions, or guesses. Use tags for filtering (e.g. project name, topic). Episodic payload keys: session_id, agent, task, outcome, parent_id, metadata. Store one memory per distinct thing. ALWAYS skip idle chat, greetings, and trivial responses. Forgetting to store = permanent loss of the session.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "memory_store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| created_at | Yes | ||
| memory_type | Yes |