Which Layer Does Your Agent's Memory Belong In? Context Databases, Team Memory, and Traces-to-Skills Compared, with a Decision Framework (2026)
TencentDB Agent Memory, OpenViking, ai-memory, CopilotKit learned skills, XERJ, Graphify, and Tencent's Hy-Memory writer model all call themselves agent memory, but they answer four different questions: what goes in the window this step, what survives across sessions for this user, what a team shares, and how past runs become next run's method. This post splits memory into four layers, maps them to the four ways context goes bad, compares write paths, sources of truth, and trust boundaries, and ends with a symptom-first decision framework.