cs.AISep 25, 2026

Memory as Middleware for Self-Improving AI Agents

Authors: K. R. Jayaram, Vatche Isahagian, Vinod Muthusamy, Gegi Thomas, Punleuk Oum, Gaodan Fang, Ashwath Vaithinathan Aravindan

Organizations: IBM Research, USA

Abstract

AI agents are stateless across sessions by default and therefore operationally amnesic: each session begins with little durable knowledge of prior failures, repairs, preferences, or successful strategies. As a result, agents repeat the same mistakes and discard hard-won experience. The dominant fix is bespoke memory---retrieval, persistence, and learning logic hand-wired into one agent and bound to one storage engine. This creates a fragmented landscape where memory cannot be swapped, shared, isolated, or reasoned about independently of the agent that owns it. We argue that this is a middleware problem: agent memory deserves a first-class, pluggable layer, just as data access, messaging, and persistence each became middleware concerns. We develop this vision through six systems challenges: two-sided pluggability, host-native interposition, multi-tenant isolation, write-path consistency, federated sharing with provenance, and lifecycle governance. We present ALTK-Evolve, a reference implementation of memory middleware for self-improving agents, and use it to motivate a broader research agenda for future memory middleware.

Figures & tables

Explore similar work

CardsList
  1. MindMemOS: A Portable and Self-Evolving Memory Operating Layer for AI Agents

    Aug 12, 2026Kaichao Liang, Yuqi Cui, Hao Kong +13Agent MemoryAgent Skill Learning

  2. SelfMem: Self-Optimizing Memory for AI Agents

    Jul 4, 2026Shu Yang, Junchao Wu, Derek F. Wong +1LLM Agent MemoryLong-Term Conversational Memory