Kernel-Managed Shared Memory for System-Wide Personalization
Abstract
AI systems become more useful when they can adapt to the people using them, but in multi-agent systems, useful context learned by one agent often remains unavailable to others. We present kernel-managed shared memory, a system-level abstraction in which specialized agents write structured, tagged memories while the agent-system kernel, not individual agents, governs retrieval, privacy enforcement, and prompt injection. We implement and evaluate this design on AIOS and compare it against three alternatives across three assistant models (GPT-4o, Llama-3.1:8B, Qwen-2.5:7B) and 1,800 total trials. Against an unmanaged external memory backend (Mem0) using identical underlying storage, kernel-managed retrieval and injection improve personalization scores by 2.4-4.0 points on a 5-point scale (e.g., 1.05 to 4.69 profile usage on GPT-4o), with every comparison significant at p < 10-18. Against standard retrieval-augmented injection, gains are similarly large and consistent across all three models. Against full, unfiltered context concatenation, a soft ceiling on available context rather than on response quality, kernel-managed injection statistically matches performance on two of three models and shows a small, model-specific deficit on the third, while using substantially shorter prompts: end-to-end latency is 15-61% lower across all three models, with corresponding reductions in per-call token usage and inference cost. These results indicate that centralizing memory management in the agent-system kernel, rather than leaving retrieval and privacy enforcement to individual agents, delivers most of the personalization benefit of unconstrained context at a fraction of its cost.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
- Comments
- Accepted to AgenticOS Workshop @ NeurIPS 2026. Camera-ready version
Related papers
Affective Agent: On-Device Personalized Intervention Reasoning for Wearable Systems
Shared title terminologycs.AIReina Mun, Zishen Wan, Vijay Janapa Reddi
AIM: A Privacy-Aware Interoperable Memory Framework for Multi-Agent Multi-User LLM Systems
Shared title terminologycs.AIZachary Johnson, Nigel Boachie Kumankumah, Somya Chatterjee et al.
Agentic Share-of-Search: A Multi-Agent AI System for Competitive Decision-Making in LLM-Mediated E-Commerce
Shared title terminologycs.AISpandan Ghose Chowdhury
Fortunate Recall: Ontology-Driven Memory Lifecycle Management for Persistent Coherence in LLMs
Shared title terminologycs.AIAnsuman Mullick, Eray Tüzün
UnitBoost: Managing Compound LLM Systems with a Merge Operator, Not a Model
Shared title terminologycs.AIXing Zhang, Guanghui Wang, Yanwei Cui et al.
PRAGMA: Evaluating Personalized Guidance with Memory Alignment in Lifelong Conversations
Shared title terminologycs.AIHyojeong Yu, Hyukhun Koh, Minsung Kim et al.