01At a glance
Mastra's memory keeps one long conversation inside a context window: as the history grows, a model rewrites it as a log of dated observations, and as that grows, another condenses the log. It is memory within an agent you build in TypeScript. recall's memory is between agents you did not build: it indexes every chat Claude Code, Codex and Cursor have saved and keeps a few notes a night that all three load at session start.