memory drift
memory_driftWhat changed between two snapshots of an agent's long-term memory (MEMORY.md, soul file, system notes)? Section-level diff with embedding similarity per section, lines dropped and added, then an AI read of the substance: rules added, removed, softened or hardened (quoted), facts about the human that changed, important things that silently disappeared, identity or tone shift, anything that looks like injected instructions, and a 0-100 drift score to track over every distillation pass. Up to 300,000 characters per snapshot. Costs $0.015 USDC per call (x402).
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": {
"before": "<before>",
"after": "<after>"
},
"name": "memory_drift"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | Yes | ||
| before | Yes |