HoMe: Toward Practical Harness Optimization of Memory Systems for AI Assistants

Yifei Xu, Li Yu, Zhaoyang Liu, Ce Wang, Sen Huang +4 more
11/25/2026
cs.AIcs.LG

Official code: agentscope-ai/ReMe (3,843 stars, Python, Apache-2.0, last commit 2026-11-26).

Abstract

The behavior of memory systems for long-running AI assistants is governed by a harness, which consists of the code, prompts, and configurations for memory construction, maintenance, retrieval, and answer generation. However, optimizing the harness of a memory system remains largely manual, and unrestricted editing alone does not ensure structural improvements.

Show full abstract

In this paper, we introduce HoMe, an evaluation-driven framework that iteratively evaluates candidate harnesses and derives each new candidate from any previously evaluated harness by editing any part of it. HoMe combines session-level memory versioning with execution traces to identify shared failure mechanisms across cases and localize them to the responsible sessions and harness components. It encourages early structural exploration through candidate gating and reduces evaluation cost through smoke tests, adaptive sampling, and the reuse of constructed memory. We validate HoMe with the open-source memory system ReMe on two large-scale long-horizon memory benchmarks, LongMemEval-S and BEAM. With six formal candidate evaluations per benchmark, after a full initial evaluation, HoMe discovers harnesses that improve end-task performance over the originally strong harness while consuming far fewer query-time tokens. The code is available at https://github.com/agentscope-ai/ReMe.

View on arXivView PDF

Code Implementations(1)

agentscope-ai/ReMeOfficial100%
Apache-2.0

ReMe: Memory Management Kit for Agents - Remember Me, Refine Me.

3,843358Python, TypeScriptAug 29, 20246 days agoApache-2.0
agentai-agentsdsh-pluginhermes-pluginmemory+6 more

Similar Papers

Cite this paper

@article{xu2026home,
  title  = {HoMe: Toward Practical Harness Optimization of Memory Systems for AI Assistants},
  author = {Yifei Xu and Li Yu and Zhaoyang Liu and Ce Wang and Sen Huang and Yanyan Shen and Yun Lin and Linpeng Huang and Hong Mei},
  year   = {2026},
  eprint = {2611.34624},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.34624v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.34624.svg)](https://codeofpaper.com/paper/2611.34624)

Discussion