HyperHarness: Learning to Generate Personalized Agent Harnesses from User Histories
Zhaoxuan Tan, Jiachen Zhao, Jingbo Yang, Zheyuan Liu, Chuhan Wang, Pei Zhou, Mengting Wan, Meng Jiang
Abstract
Personalized LLM agents rely on an agent harness, the surrounding memory and control code, to connect user history with downstream decisions. Existing methods typically employ either a single shared memory workflow across all users, which is efficient to deploy but cannot adapt how evidence is retrieved and interpreted across diverse histories, or per-user harness optimization, which customizes behavior for each user but requires costly repeated candidate evaluation at deployment and suffers from sparse, noisy supervision in raw logs. To address this trade-off, we present HyperHarness, a framework that learns a shared history-to-harness generator to synthesize executable, user-specific retrieval and answer-guidance code directly from user histories. Given a user's permitted history, HyperHarness prompts a construction LLM to write personalized retrieval and guidance functions, while downstream task scores across training users supervise iterative refinements to the shared generator without reference harnesses or answering-model updates. At deployment, the frozen generator constructs a harness for each unseen user in a single pass from history alone, eliminating per-user task-scored search. Across three benchmarks (PersonaMemv3, Mem-PAL, and MemoryCD) and three answering models (Qwen3.5-9B, Qwen3.8-27B, and GPT-5.6-Luna), HyperHarness achieves the highest aggregate score in seven of nine settings and ranks second in the remaining two, improving over the strongest baselines by up to 5.95 points while cutting matched answer-time tokens by 90.32% over long-context prompting. Analyses show that optimization tailors context allocation to each executor, transfers to unseen user clusters, and amortizes adaptation costs.
Create a lesson
Related papers
Explicit Style Extraction for Personalized Long-Form Text Generation
Shared title terminology · Jenitha Reddy Patel, Sameeksha Kini, Amulya Rayasam et al.
STARK: Moving towards Personalized Agents That Truly Learn and Remember
Shared title terminology · Aryan Jain, Abhishek Jha, Anish Nediyanchath et al.
How Reliable is AI-Generated Audio Description? A Multilingual Expert Evaluation
Shared title terminology · Annette Rios, Lukas Fischer, Sarah Ebling
Meddies-PII: A Multilingual Framework for Personally Identifiable Information Extraction in Clinical De-identification
Shared title terminology · Le Linh Uyen, Christian Hoang, Ho Dinh Tri et al.
Detectable Epistemic Attack Layers: A Coverage Theorem and Standardized Harness for Conversation-History Integrity
Shared title terminology · Fahrell Giovanny, Geby Bayuningtyas, Sahrul Mukharom
Can Speech LLMs Recognize When Audio Evidence Is Insufficient? A Diagnostic Study and a Pre-Generation Probing Mitigation
Shared title terminology · Vladislav Nesterenko, Polina Doronicheva, Olga Golubeva et al.