Manuscript Offprint
arXiv:2610.01705AgentWebRec: Compact Evidence Fusion over the Agent Web for Personalized Recommendation
Abstract
LLM-based personal agents are emerging as persistent carriers of user semantics and intermediaries between users and recommendation platforms, maintaining richer user knowledge locally. As agents interact with one another, the conventional User-Platform relation evolves into a User-Agent Web-Platform information pathway, enabling distributed user-side information to complement item-side information. This new pathway, however, defies conventional recommendation: evidence is scattered across mutually opaque agents and reachable only through bounded queries, only a small portion of it is relevant to the current recommendation decision, and the responses returned by different agents are semantically heterogeneous. We therefore recast recommendation over the Agent Web as a task-time evidence acquisition and fusion problem under a finite evidence budget by deciding what to ask and what to keep, rather than learning from aggregated data. We propose AGENTWEBREC, a user-agent-oriented framework that progressively acquires and fuses distributed evidence for each user-item decision while keeping underlying agent memories local. It grounds each decision in platform-provided item semantics and task-relevant evidence from the target user agent's private memory, and conditionally queries neighboring user agents for complementary preference patterns when local evidence is insufficient. Experiments on four InstructRec datasets show that AGENTWEBREC consistently outperforms baseline recommenders, and ablations verify that the evidence layers contribute complementary gains.
Keywords
Recommendation System, LLM-based Agent, Agent Web
Guannan Liu
MIIT Key Laboratory of Data and Decision Intelligence
Beihang University
Beijing, China
Junjie Wu
MIIT Key Laboratory of Data and Decision Intelligence
Beihang University
Beijing, China
ACM Reference Format:
Haoran Qiang, Guannan Liu , Liang Zhang, and Junjie Wu. 2027. AGENTWEBREC: Compact Evidence Fusion over the Agent Web for Personalized Recommendation. In KDD '27: The 33rd ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, August 01–05, 2027, San Jose, United States. ACM, New York, NY, USA, 12 pages. https://doi.org/XXXXXXX.XXXXXXX
With the development of LLMs in recent years, LLM-based personal agents are beginning to change this interaction model. Consumer-oriented agent products, such as Alibaba's Qwen and Amazon's Alexa+, combine historical user information and current context to infer intentions and preferences [2, 7]. On this basis, an agent act on the user's behalf to interact with the platform by formulating searching for specific items, examining ranked results and comparing candidates. In contrast to conventional user-platform interactions, where user actions are observed as isolated stateless events, an agent maintains the evolving states across requests. Meanwhile, memory-oriented agent systems show that an LLM agent can organize and retrieve long-term user-specific information [25, 26, 36]. A user agent plays two roles in this new interaction model. As a persistent carrier of user semantics, it accumulates the user's preferences, feedback, and context across sessions and
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from permissions@acm.org.
KDD '27, San Jose, United States
© 2027 Copyright held by the owner/author(s). Publication rights licensed to ACM.
ACM ISBN 978-1-4503-XXXX-X/18/06
https://doi.org/XXXXXXX.XXXXXXX
Haoran Qiang, Guannan Liu , Liang Zhang, and Junjie Wu

Figure 1: LLM-based user agents reshape personalized recommendation: the User–Platform relation evolves into a User–Agent Web–Platform paradigm.
services, maintaining a local user profile richer than what any single platform observes. As an intermediary, it stands between the user and platforms, interpreting the user's intentions and acquiring information on the user's behalf. However, richer local knowledge does not guarantee sufficient task-time evidence: when prior experience offers little analogous signal for the candidate item, an isolated agent lacks the reusable preference patterns needed to ground its decision, and must look beyond its own memory.
Emerging agent-native communities provide a basis for connecting distributed information. Within this setting, when private memory lacks available information for a recommendation task, a user agent can discover and collaborate with agents that provide relevant information [13, 24]. In a macro view, task-oriented collaborations between user agents constitute the edges of the Agent Web [5, 39]. Crucially, such collaboration only exposes task-level capabilities and responses with the internal states unseen: protocols such as A2A make agents discoverable while leaving their internal memories and reasoning states opaque [1]. Agent-native communities are not limited to interactions among user agents: recommendation platforms also participate in the Agent Web through functional agents that expose item-side information [1, 5]. As shown in Figure 1, the conventional User-Platform relation is thereby transformed into a User-Agent Web-Platform paradigm, where the user agent interprets preferences from local semantic memory and integrates task-relevant evidence acquired across the Agent Web.
Existing recommendation research does not directly address this configuration. LLM-based recommendation methods use LLMs to improve the representation of user intentions, item semantics, interaction sequences, and recommendation instructions [9, 14, 18, 38, 44]. Agent-based approaches further introduce planning, tool use, user simulation, reflection, feedback loops, and multi-agent coordination into recommendation [4, 15, 34, 35, 42, 43]. These studies demonstrate the potential of agent reasoning and memory, but generally organize agents within a platform-controlled workflow or allow the platform to construct and update reusable agent states. Meanwhile, research on the Internet of Agents and the Agentic Web studies general-purpose agent discovery, communication, and collaboration [5, 39], but does not specify how independently maintained user-side information should be combined with platform-side information for a specific recommendation decision.
This gap changes the central problem from aggregating more user information to eliciting the information required by the current decision. We therefore ask: How can a user agent construct task-specific queries that acquire and fuse useful information from distributed and opaque sources for a current recommendation task? This question presents three challenges. First, the relevant information is distributed across participants whose internal states are mutually inaccessible. A requester must express what information is needed without inspecting the underlying evidence in advance. Second, richer information is not necessarily more useful. A user agent maintains extensive long-term information, but only a small fraction may be relevant to the current decision context. Unconstrained acquisition can introduce irrelevant information and dilute the target user's actual preference. Third, the returned responses are heterogeneous. Platform knowledge, agent local information, and external agent feedback describe different aspects of the task and may differ substantially in semantic perspective. Directly concatenating them does not guarantee that they support the decision.
To investigate this problem, we propose AGENTWEBREC, a user agent oriented recommendation framework that formulates recommendation as task-time information acquisition and fusion over the Agent Web. AGENTWEBREC treats task-specific queries as the interface between distributed information sources and the current decision. Instead of transferring complete memories or reconstructing a global user profile, each participant interprets the information query locally and returns a compact response. The target user agent then organizes the acquired information around the current user-item context, allowing user-side information to complement the platform representation and external experience to provide additional support when appropriate.
We evaluate AGENTWEBREC on four domains from the InstructRec benchmark and compare it with conventional recommendation methods. AGENTWEBREC achieves consistently strong performance across the evaluated datasets. More analyses further demonstrate that target-agent information and external-agent experience provide complementary benefits, while task-oriented information acquisition avoids indiscriminately introducing all available agent information. Together, the contributions are summarized as follows:
-
We introduce recommendation over an Agent Web composed of user agents, which mediates interactions between users and the platform while agent memories remain distributed and local.
-
We propose AGENTWEBREC, which selectively acquires distributed information and progressively fuses it into task-specific evidence without centralizing agent memories.
• Experiments on four InstructRec datasets demonstrate the effectiveness of AGENTWEBREC against baselines for personalized recommendation.
2 Problem Definition
We consider the problem as recommendation over the Agent Web. Specifically, an Agent Web is represented as , where is a set of LLM-based agents and indicates the established task-conditioned interactions among agents.
Each agent interacts directly with its neighbors , which share similar features [10, 23]. The Agent Web therefore
AGENTWEBREC: Compact Evidence Fusion over the Agent Web for Personalized Recommendation
KDD '27, August 01–05, 2027, San Jose, United States
provides a distributed information environment in which agents collaborate through the query-response interactions to obtain complementary information from one another. Given a query q, the agent processes the query using its memory and returns a response: .
For recommendation scenario, we instantiate the Agent Web with a platform agent and a collection of user agents , yielding the complete agent set . The platform agent maintains an item memory , where each record contains the semantic description of item . Each user agent maintains a personalized memory , where denotes the user persona, denotes the interaction record, and is the number of records. Each interaction record consists of a historically interacted item , its description , the user's feedback or review , and the interaction time .
A recommendation task, specified by a triple with target user , candidate item , and decision time , is to predict the preference of user toward item at time . Solving task in the Agent Web faces two constraints. First, task-relevant information is distributed across agents whose memories remain mutually isolated, so centralized training over aggregated data is infeasible. Second, agent memories accumulate interactions from diverse contexts; indiscriminately incorporating unrelated records or weakly aligned agent responses dilutes the preference signals relevant to the current task [3, 22, 41]. Effective recommendation therefore requires concentrating dispersed information into compact evidence that preserves task-relevant semantics while excluding distracting content.
We accordingly formulate recommendation over the Agent Web as a task-time information acquisition and evidence fusion problem. For task t, let denote the information acquired from distributed agent memories through query-response interactions, and let denote the function that identifies task-relevant content within and aligns heterogeneous sources into the evidence for prediction. The problem is to determine which information to acquire as and how to fuse it, such that the resulting prediction approximates the true preference .
3 Methodology
3.1 Overview of AGENTWEBREC
To address the two coupled problems formulated above, we propose AGENTWEBREC to selectively acquire distributed information and progressively fuse it into compact evidence for each recommendation task. AGENTWEBREC instantiates as a progressive process that interleaves task-time information acquisition with evidence fusion over the Agent Web.
As shown in the Figure 2(a), the target user agent performs the recommendation task by interacting with the platform agent, its own local memory, and its neighboring user agents. The query-response data flow enables interaction among agents whose internal states are mutually inaccessible. A query and a response are generated autonomously by an agent according to its current internal state without knowing the external states from other collaborators. As a result, no centralized orchestrator is required to maintain a global view of the participating agents in the Agent Web.
Within this decentralized interaction interface, the three agent actions in Figure 2(b) progressively identify information relevant to the current decision. The platform query elicits enhanced item semantics as , which establishes a preference-relevant semantic anchor for the candidate item. This anchor determines the scope of local retrieval, allowing the target user to select relevant interactions from its own memory as . The retrieved information is projected into a task-specific preference state and an initial decision . When the semantic evidence from target user agent is insufficient, the unresolved decision is transformed into a collaboration query , which elicits generalizable preference patterns evidence from neighboring agents as . These patterns complement the limited coverage of the target user's private experience and strengthen the reliability of the resulting decision. Information acquisition is therefore controlled by the evolving task state, which respects to the relation , where when collaboration is not activated. Together, AGENTWEBREC constructs compact, task-oriented evidence without exposing agent-internal states, using query-response interactions to elicit decision-relevant information and progressive state updates to reconcile the heterogeneous semantics of different sources.
3.2 Querying the Platform Agent for Item Semantic Enhancement
In recommendation over the Agent Web, a candidate item initially carries only a limited semantic profile. Thus, anchoring the task on such a sparse representation introduces ambiguity into subsequent memory retrieval and preference reasoning. AGENTWEBREC therefore first queries the platform agent for a semantic enhancement before performs personalized evidence acquisition.
Specifically, after receiving task t, the target user agent sends a query to , specifying the candidate item i whose semantics need to be enhanced. Based on the item descriptions, retrieves the semantic neighbors of candidate item i:
where denotes a semantic encoder that maps an item description to its profile embedding, and denotes cosine similarity between normalized embeddings. The set contains the items most semantically similar to . Together with the candidate item, these neighbors form a platform-side support set of size for subsequent semantic abstraction.
The platform agent abstracts the relevant item information into enhanced item semantics with LLM:
The response preserves the original description , while enriching them with similar semantics distilled from the retrieved semantic neighbors. The support construction follows a raw-preserving enhancement principle with the prompt design: semantic neighbors supplement incomplete item semantics, while the candidate record prevents the enhancement from drifting away from the item. The concrete prompt used to instantiate AbstractLLM is provided in Prompt 1 in Appendix A.1. From the perspective of , only this
Haoran Qiang, Guannan Liu , Liang Zhang, and Junjie Wu
(a) View of Data Flow in Agent Web for a Recommendation Task
(b) Three Agent Actions: Evidence Retrieval & Progressive Fusion

Figure 2: Overview of AGENTWEBREC for progressive information acquisition and evidence fusion over the Agent Web. (a) For a recommendation task t, the target user agent acquires item semantics from the platform, retrieves user preferences from local memory, and conditionally queries neighboring user agents for generalizable patterns. (b) The resulting platform, user, and collaborative information is progressively fused as evidence to produce the final recommendation .
compact query-response interaction is acquired as platform-side information: without the original information of the related items.
3.3 Retrieving and Projecting Private Memory
The enhanced candidate semantics must be grounded in the target user's private experience before a personalized preference can be inferred. However, contains heterogeneous interactions whose relevance varies across candidate items and decision times. Reasoning over the complete memory would therefore introduce unrelated or outdated information into the task-time evidence.
After receiving the enhanced item semantics responded from the platform agent, uses the resulting embedding as a semantic anchor for candidate-conditioned retrieval from its private memory . This local matching process identifies historical interactions relevant to the candidate item. For each historical interaction , its semantic relevance to the current recommendation task is measured by
The temporal relevance is measured by
where controls the temporal decay rate. The two relevance signals are combined as
where balances candidate-specific semantic relevance and temporal recency. The semantic component suppresses interactions unrelated to candidate item , whereas the temporal component accounts for changes in the user's preferences over time.
selects the memory subset
containing the records with the largest relevance scores .
The selected records induce the target-user information
where denotes the task-specific evidence induced by interaction record . Thus, only a bounded subset of the private memory enters the evidence acquired for the current recommendation task.
To align the filtered evidence retrieved from , constructs a candidate-conditioned temporal preference state, with LLM projecting the user persona and retrieved evidence onto the enhanced candidate semantics:
ProjectLLM identifies preference patterns supported by the retrieved interactions and relevant to the enhanced candidate semantics, and organizes them into the compact preference state , which serves for subsequent actions. The concrete prompt used to instantiate ProjectLLM is provided in Prompt 2 in Appendix A.1.
With this task-aligned projection, matches the projected preference with the enhanced candidate semantics and generates a decision with LLM:
MatchLLM evaluates the semantic alignment between the projected preference and the enhanced candidate, producing the local decision . Here, is the preference prediction, measures whether the available personalized evidence is sufficient to support a reliable decision, and is the task-specific rationale. The concrete prompt used to instantiate MatchLLM is provided in Prompt 3 in Appendix A.1.
3.4 Confidence-Gated Collaboration in the Agent Web
Users with similar historical behaviors are more likely to exhibit shared recommendation-relevant patterns. The Agent Web follows this preference homophily principle through neighboring user agents, each maintaining private experience and returning query-conditioned pattern summaries. Low confidence in the decision indicates that the semantic evidence available in the target user's memory is insufficient to characterize the current recommendation context. AGENTWEBREC therefore activates collaboration utilizing their generalizable preference patterns to provide complementary support for the decision.
Specifically, collaboration is activated when , where is the confidence threshold. The target user agent abstracts its unresolved decision context into a collaboration query with LLM:
The query specifies the complementary information required from collaborative agents establishing a shared semantic plane onto which their interaction histories are projected. The concrete prompt used to instantiate QueryLLM is provided in Prompt 4 in Appendix A.1.
The collaborative agents are the one-hop user-agent neighbors of in the Agent Web. Each collaborator receives the common query and retrieves its own task-relevant interaction memory
containing the records with the largest query-memory relevance scores , where upper-bounds the number of records each collaborator contributes to task .
Conditioned on , abstract the retrieved experience into a compact preference-pattern response with LLM:
PatternLLM identifies preference regularities that are grounded in the collaborator's relevant experiences and responsive to the information need expressed by . The resulting provides a generalizable preference pattern, while the supporting original interaction records remain local. The concrete prompt used to instantiate PatternLLM is provided in Prompt 5 in Appendix A.1.
These responses induce the collaborative evidence
When collaboration is activated, incorporates the returned preference patterns into the origin decision with LLM:
RefineLLM evaluates the returned preference patterns together with the original local decision, using signals that recur across collaborators as generalizable pattern information and incorporating only those that provide relevant complementary support. It preserves the local judgment when the collaborative information is irrelevant or conflicts with the target user's personalized evidence, and otherwise updates the preference prediction, confidence, and rationale to reflect the additional collaborative evidence. The concrete prompt used to instantiate RefineLLM is provided in Prompt 6 in Appendix A.1.
4 Experiments
We conduct experiments to evaluate whether distributed user agents can autonomously infer task-specific preferences from decentralized user evidence and construct effective recommendation signals. The experiments are organized to answer the following four research questions:
RQ1 (Overall Performance): How does AGENTWEBREC perform compared with conventional centralized recommendations and existing LLM/agent-based recommendation methods?
RQ2 (Agent Actions Contribution): How do the key agent actions in AGENTWEBREC contribute to recommendation effectiveness?
RQ3 (Parameter Sensitivity): How do key task-time parameters affect the recommendation performance of AGENTWEBREC?
RQ4 (Collaboration Structure): How does the construction of user agent edges in the Agent Web affect recommendation performance?
4.1 Experimental Setup
4.1.1 Datasets. We evaluate AGENTWEBREC on four domains from the InstructRec benchmark [44]: Books, Goodreads, MovieTV, and Yelp. Each dataset provides timestamped user-item interactions, user persona descriptions, item profiles, and review texts. Table 1 summarizes the statistics of the four datasets.
Following common experimental settings in agent-based recommendation [6, 21, 43], we order each user's interactions temporally, use the earlier records as warm-up history and the last interaction as the test target. For evaluation, we randomly sample 1,000 users and rank each target item against nine sampled negatives. User agents operate continuously as autonomous participants in the Agent Web without activation by the users' instruction. We therefore provide no instruction and require the target user agent to infer the user's relevant preference. We report Hit Rate (H@K) and NDCG (N@K) for . To reduce randomness, we report the average results of three repeating tests. By default, AGENTWEBREC enhances each candidate with five semantic neighbors, retrieves up to five private-memory interactions for the target and each collaborator, and activates at most three collaborators over item-co-occurrence edges under a confidence threshold of 0.7.
Haoran Qiang, Guannan Liu , Liang Zhang, and Junjie Wu
Table 1: Statistics of the InstructRec datasets used in our experiments.
| Dataset | Users | Items | Inter. Dens. (%) | Inter./U | |
|---|---|---|---|---|---|
| Books | 7,377 | 120,925 | 207,759 | 0.0233 | 28.16 |
| Goodreads | 11,734 | 57,364 | 618,330 | 0.0919 | 52.70 |
| MovieTV | 5,649 | 28,987 | 79,737 | 0.0487 | 14.12 |
| Yelp | 2,950 | 31,636 | 63,142 | 0.0677 | 21.40 |
4.1.2 Baselines. We compare AGENTWEBREC with two groups of baselines. The first group contains conventional centralized recommendation models: SASRec [16] and LightGCN [11]. SASRec represents sequential recommendation based on self-attention over user behavior sequences, while LightGCN represents graph-based collaborative filtering over centralized user-item interactions. The second group contains LLM-based or agent-based recommendation methods adapted to the same InstructRec evaluation protocol [44]: LLMRank [14], AFL [4], AgentCF [43], AgentCF++ [21], and MemRec [6]. LLMRank directly uses an LLM as a zero-shot list-wise ranker over user histories and candidate items. AFL combines a sequential recommendation prior with LLM-based feedback-loop reranking. AgentCF learns user and item agents through feedback-driven language updates. AgentCF++ extends AgentCF with shared group memory for collaborative reasoning. MemRec retrieves and prunes user/item memories before LLM reranking. For controlled comparison, all applicable methods use Qwen2.5-7B-Instruct as the LLM backend and all-MiniLM-L6-v2 as the semantic encoder.
4.2 Main Results (RQ1)
We compare AGENTWEBREC with centralized representation-based recommendation methods to assess whether it can exceed platform-centric recommendation under the User-Agent Web-Platform setting. Table 2 reports the main comparison results. As seen, AGENTWEBREC achieves the best results across all reported metrics on the four datasets. Its advantages are particularly clear on H@1 and NDCG for Books, Goodreads, and MovieTV, indicating that the acquired information helps the target agent distinguish the ground-truth item at the highest ranking positions. The consistent gains in H@3, H@5, and NDCG further show that the improvement is not limited to a single top-ranked prediction.
LightGCN and SASRec primarily learn from structural regularities in user-item interactions, so their support becomes limited in the sparse datasets whose preference inference is mainly from the semantic textual content. LLMRank and AFL rely on LLMs to reason over the semantic content of user-item histories. However, irrelevant information can obscure useful evidence without task-specific filtering while the absence of interactions among user agents prevent them from capturing generalized collaborative patterns. AgentCF and AgentCF++ user collaborative memory propagation to capture generalizable patterns across user agents. However, they encode user preference and collaborative information into persist profiles, mixing information from different sources before decision. AGENTWEBREC instead tightly couples its acquisition and fusion actions, with each action guided by the state produced by the preceding one. This progressive design integrates task-relevant information from heterogeneous sources into reliable evidence, introducing collaborative patterns only when needed without diluting the target user's personalized information. MemRec is generally the strongest baseline, as it curates and synthesizes target-user information with collaborative signals into a compact reasoning context. However, its reliance on an explicit user instruction weakens its ability. AGENTWEBREC instead uses the enhanced candidate semantics to retrieve relevant interactions from the target user's private memory and projects them with the user persona into a task-specific preference state, thereby identifying the user's current preference without a predefined instruction.
The performance can be understood from two dimensions: interaction availability and semantic understanding. LightGCN benefits from dense interactions on Goodreads but weakens when sparse overlap limits structural support. AgentCF and AgentCF++ do not consistently benefit from richer histories. Goodreads contains longer and more diverse reading histories, where additional interactions span multiple preference facets and therefore provide less concentrated support for a particular recommendation task. AGENTWEBREC remains robust by acquiring a well-calibrated information set: sufficient semantic evidence under sparse local support and collaborative patterns only when necessary.
4.3 Ablation Studies on Agent Actions (RQ2)
To verify the effectiveness of the agent action design, we remove each core component from AGENTWEBREC and report the results in Table 3. The ablation results show that the full model achieves the best or most reliable performance on almost all datasets and metrics. This indicates that the three sequential actions contribute complementary task-oriented evidence and jointly support the final recommendation decision.
Removing item semantic enhancement leads to a clear degradation, especially on Books and MovieTV. This suggests that the enhanced item semantics are important for constructing a task-aligned semantic anchor before the target user agent retrieves private-memory evidence . Without this anchor, the model has to rely more directly on the raw candidate description , which may still preserve some high-recall behavior on certain datasets but provides a less precise basis for placing the ground-truth item at the top of the ranking list.
Without private-memory retrieval and projection, the target user agent retains only the user persona as user-side information for decision making. Consequently, the task-specific preference state loses the personalized evidence needed to connect the current task with the user's historical preference semantics. The performance drop is consistent on Books, Goodreads, and MovieTV, indicating that evidence retrieved from provides a stable source of personalized information across domains with informative interaction histories. On Yelp, although the variant achieves a higher H@1, the full model performs better on broader ranking metrics, indicating more reliable overall ranking quality.
Confidence-gated collaboration provides complementary evidence that cannot be fully recovered from the target user agent's private memory. Setting consistently reduces performance across all four datasets, showing that collaborative user agents can supplement insufficient or ambiguous local evidence. The degradation is especially pronounced on Books and Yelp for
Table 2: Main recommendation performance on the four InstructRec datasets. The best and second-best results are highlighted in bold and underlined, respectively.
| Model | Books | Goodreads | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| H@1 | H@3 | N@3 | H@5 | N@5 | H@1 | H@3 | N@3 | H@5 | N@5 | |
| LightGCN | 0.0490 | 0.1490 | 0.1037 | 0.5410 | 0.2625 | 0.2820 | 0.4970 | 0.4060 | 0.6790 | 0.4811 |
| SASRec | 0.1370 | 0.3820 | 0.2765 | 0.5660 | 0.3513 | 0.1890 | 0.3730 | 0.2961 | 0.5060 | 0.3506 |
| LLMRank | 0.2453 | 0.4243 | 0.3465 | 0.5853 | 0.4126 | 0.1827 | 0.4363 | 0.3276 | 0.6250 | 0.4055 |
| AFL | 0.2080 | 0.4280 | 0.3346 | 0.5720 | 0.3934 | 0.2893 | 0.4973 | 0.4088 | 0.6433 | 0.4691 |
| AgentCF | 0.4850 | 0.7227 | 0.6230 | 0.8403 | 0.6718 | 0.1110 | 0.2720 | 0.2037 | 0.3710 | 0.2442 |
| AgentCF++ | 0.2227 | 0.4360 | 0.3433 | 0.6040 | 0.4121 | 0.1730 | 0.4273 | 0.3177 | 0.5967 | 0.3870 |
| MemRec | 0.3020 | 0.5690 | 0.4571 | 0.7290 | 0.5225 | 0.1870 | 0.4660 | 0.3471 | 0.6380 | 0.4173 |
| AGENTWEBREC | 0.5250 | 0.8173 | 0.6996 | 0.9327 | 0.7483 | 0.6860 | 0.9460 | 0.8480 | 0.9910 | 0.8668 |
| Model | MovieTV | Yelp | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| H@1 | H@3 | N@3 | H@5 | N@5 | H@1 | H@3 | N@3 | H@5 | N@5 | |
| LightGCN | 0.0730 | 0.2590 | 0.1767 | 0.5060 | 0.2772 | 0.0860 | 0.2870 | 0.1979 | 0.5120 | 0.2894 |
| SASRec | 0.1010 | 0.3100 | 0.2204 | 0.5240 | 0.3079 | 0.0380 | 0.2370 | 0.1481 | 0.5020 | 0.2568 |
| LLMRank | 0.2683 | 0.4890 | 0.3933 | 0.6440 | 0.4568 | 0.1337 | 0.3483 | 0.2559 | 0.5380 | 0.3339 |
| AFL | 0.2563 | 0.5067 | 0.3982 | 0.6750 | 0.4673 | 0.1350 | 0.3637 | 0.2646 | 0.5340 | 0.3347 |
| AgentCF | 0.2540 | 0.4210 | 0.3503 | 0.5470 | 0.4019 | 0.2160 | 0.5030 | 0.3802 | 0.6590 | 0.4443 |
| AgentCF++ | 0.2950 | 0.5243 | 0.4273 | 0.6737 | 0.4887 | 0.2073 | 0.4590 | 0.3504 | 0.6520 | 0.4292 |
| MemRec | 0.3610 | 0.6440 | 0.5280 | 0.8010 | 0.5926 | 0.3520 | 0.6240 | 0.5113 | 0.7620 | 0.5685 |
| AGENTWEBREC | 0.5410 | 0.8010 | 0.6968 | 0.8900 | 0.7344 | 0.3760 | 0.7740 | 0.5941 | 0.9040 | 0.6491 |
Table 3: Ablation study on the four InstructRec datasets.
| Dataset | Variant | H@1 | H@3 | N@3 | H@5 | N@5 |
|---|---|---|---|---|---|---|
| Books | AGENTWEBREC | 0.5250 | 0.8173 | 0.6996 | 0.9327 | 0.7483 |
| w/o Semantic Enhancement | 0.2523 | 0.5880 | 0.4477 | 0.7833 | 0.5288 | |
| w/o Confidence-Gated Collaboration | 0.3933 | 0.7283 | 0.5935 | 0.8477 | 0.6439 | |
| w/o Private-Memory Retrieval | 0.4547 | 0.7003 | 0.6022 | 0.8133 | 0.6492 | |
| Goodreads | AGENTWEBREC | 0.6860 | 0.9460 | 0.8480 | 0.9910 | 0.8668 |
| w/o Semantic Enhancement | 0.5117 | 0.9413 | 0.7749 | 0.9897 | 0.7954 | |
| w/o Confidence-Gated Collaboration | 0.5853 | 0.8833 | 0.7668 | 0.9427 | 0.7915 | |
| w/o Private-Memory Retrieval | 0.4893 | 0.7220 | 0.6301 | 0.8237 | 0.6724 | |
| MovieTV | AGENTWEBREC | 0.5410 | 0.8010 | 0.6968 | 0.8900 | 0.7344 |
| w/o Semantic Enhancement | 0.4213 | 0.7923 | 0.6436 | 0.8837 | 0.6818 | |
| w/o Confidence-Gated Collaboration | 0.5067 | 0.7820 | 0.6706 | 0.8740 | 0.7089 | |
| w/o Private-Memory Retrieval | 0.4640 | 0.7030 | 0.6072 | 0.8107 | 0.6521 | |
| Yelp | AGENTWEBREC | 0.3760 | 0.7740 | 0.5941 | 0.9040 | 0.6491 |
| w/o Semantic Enhancement | 0.2577 | 0.7503 | 0.5487 | 0.9100 | 0.6160 | |
| w/o Confidence-Gated Collaboration | 0.2280 | 0.6950 | 0.5045 | 0.8653 | 0.5762 | |
| w/o Private-Memory Retrieval | 0.4233 | 0.6923 | 0.5840 | 0.8117 | 0.6332 |
different reasons. Specifically, Books combines sparse interactions with a large long-tail catalog, limiting the local memory's coverage of fine-grained reading tastes, whereas Yelp spans heterogeneous services and context-dependent attributes, making historical preferences less consistently aligned with the current request.
4.4 Sensitivity Analysis (RQ3)
4.4.1 Confidence Threshold and Collaboration Budget . As shown in Fig. 3, both parameters indicate that collaboration is effective only within a controlled scope. A moderate introduces external evidence for uncertain tasks while preserving reliable local decisions; a restrictive gate may miss useful cross-user signals, whereas a permissive gate admits weakly aligned patterns. The collaboration budget similarly exhibits saturation: expanding the collaborator set improves preference-pattern coverage until the main relevant signals are captured, after which additional agents become largely redundant or noisy. Thus, fragmented local histories may benefit from broader collaboration, while informative histories require fewer collaborators.
4.4.2 Platform-Local Item-Support Budget . The third panel of Fig. 3 varies the semantic neighbors , with the candidate included in the total budget . Performance follows an inverted-U pattern: undersized support sets yield unstable enhancement, moderate neighborhoods produce the most reliable rankings, and excessive expansion degrades performance. With too few neighbors, incomplete or idiosyncratic candidate descriptions dominate, and the support is insufficient to reveal recurring task-relevant attributes. A moderate set establishes enough semantic agreement to calibrate the candidate, whereas broader neighborhoods introduce less aligned semantics that dilute its distinctive characteristics and cause semantic drift.
4.4.3 Target-User Memory Budget . Across datasets, shows a similar preference for concentrated evidence. Too few records leave insufficient to ground beyond the user persona, while a moderate budget supplies enough aligned interactions to stabilize the task-specific preference state. Excessive retrieval instead introduces weakly related or contextually mismatched behaviors, diluting relevant signals and increasing the reasoning load. Occasional gains on individual metrics under small budgets do not persist across broader ranking measures, indicating that robust personalization depends on evidence relevance and concentration rather than memory volume.
Haoran Qiang, Guannan Liu , Liang Zhang, and Junjie Wu

Figure 3: Parameter sensitivity of AGENTWEBREC on the four datasets with respect to the confidence threshold , collaboration budget , number of semantic neighbors , and target-user memory budget .
Table 4: Effect of different user-agent edge-construction strategies in the Agent Web on the four InstructRec datasets.
| Dataset | Edge construction | H@1 | H@3 | N@3 | H@5 | N@5 |
|---|---|---|---|---|---|---|
| Books | Item co-occurrence | 0.5250 | 0.8173 | 0.6996 | 0.9327 | 0.7483 |
| Persona-similarity | 0.4340 | 0.7637 | 0.6312 | 0.8980 | 0.6879 | |
| Random | 0.3717 | 0.6620 | 0.5451 | 0.7857 | 0.5965 | |
| Goodreads | Item co-occurrence | 0.6860 | 0.9460 | 0.8480 | 0.9910 | 0.8668 |
| Persona-similarity | 0.6423 | 0.9517 | 0.8328 | 0.9840 | 0.8466 | |
| Random | 0.4910 | 0.7657 | 0.6559 | 0.8587 | 0.6945 | |
| MovieTV | Item co-occurrence | 0.5410 | 0.8010 | 0.6968 | 0.8900 | 0.7344 |
| Persona-similarity | 0.5247 | 0.8230 | 0.7049 | 0.8977 | 0.7362 | |
| Random | 0.4347 | 0.7113 | 0.5989 | 0.8130 | 0.6410 | |
| Yelp | Item co-occurrence | 0.3760 | 0.7740 | 0.5941 | 0.9040 | 0.6491 |
| Persona-similarity | 0.2447 | 0.7357 | 0.5369 | 0.9020 | 0.6072 | |
| Random | 0.2160 | 0.6030 | 0.4437 | 0.7993 | 0.5256 |
4.5 Effect of Agent Web Topology (RQ4)
To investigate how the Agent Web topology affects task-time collaboration, we compare different strategies for constructing the user-agent edges in . The persona-similarity construction builds edges according to semantic similarity between persona embeddings, while the random construction preserves the out-degree of the item co-occurrence construction but randomly rewires its edges. This comparison examines whether task-time collaboration benefits from a scope induced by agent-level similarity.
Table 4 shows that structured user-agent edge constructions consistently outperform random rewiring. Item co-occurrence achieves the strongest overall performance, suggesting that shared interaction histories provide a reliable signal for identifying collaborative user agents with homophilic interests. This verifies the role of the user-agent edges in in determining the task-time collaboration scope: since not all collaborative evidence is useful for the target decision, preserving homophilic connectivity in the Agent Web helps acquire more relevant preference-pattern responses.
The persona-similarity construction also remains competitive, indicating that semantic user descriptions capture another useful form of agent-level proximity. However, its gains are less uniform than those of item co-occurrence, suggesting that high-level persona similarity may miss fine-grained preference evidence tied to the candidate item space. By contrast, the consistent degradation under degree-preserving random rewiring demonstrates that irrelevant agent links inject distracting evidence into collaboration, confirming that similarity-based connectivity is essential for preserving useful preference signals. Overall, these results show that different task-relevant similarity signals can be used to instantiate the user-agent edges in , but effective collaboration requires the Agent Web topology to encode task-relevant user proximity.
5 Related Work
5.1 Platform-Centric Recommendation
Traditional recommenders follow a platform-centric pipeline that learns reusable user and item representations from centrally collected interactions. Matrix factorization, pairwise ranking, and neural collaborative filtering model global preference patterns [12, 30], while sequential methods capture temporal dynamics and contextual dependencies [16, 32]. Their effectiveness relies on aggregating behavioral histories and optimizing a platform-wide ranking objective. Even when recent interests or high-order relations are modeled, the underlying evidence is still aggregated and interpreted centrally. Evidence processing and preference estimation therefore remain controlled by the platform, which differs from the Agent Web settings.
5.2 LLM and Agent-Based Recommendation
LLM-based recommendation introduces language representations and semantic reasoning into recommendation. Existing methods formulate recommendation as instruction following, textual sequence modeling, or semantic item generation [9, 18, 29, 44], and incorporate collaborative semantics or augment sparse interaction graphs [37, 45]. Surveys further summarize the potential of LLMs for generative and general-purpose recommendation [19, 38]. Retrieval-augmented and graph-grounded approaches improve grounding by
AGENTWEBREC: Compact Evidence Fusion over the Agent Web for Personalized Recommendation
KDD '27, August 01–05, 2027, San Jose, United States
injecting documents, collaborative signals, or graph contexts into LLM reasoning [8, 28, 47]. In most cases, however, retrieval remains a platform-side operation rather than an evidence-acquisition decision made by a user-owned agent.
LLM-powered agents extend this paradigm with planning, tool use, memory, reflection, and environmental interaction [26, 33, 40]. Recommendation agents can invoke tools, plan zero-shot procedures, coordinate specialized modules, and support interactive recommendation [15, 34, 35]; other approaches simulate users or refine recommendations through agentic feedback loops [4, 42, 43]. Memory-oriented studies further address long histories, reusable personas, lifelong preference modeling, and collaborative memory [6, 27, 31, 46]. Despite improving adaptability, these methods often wrap platform workflows or summarize histories into persistent contexts for a downstream LLM. AGENTWEBREC instead treats recommendation as task-oriented evidence reasoning, grounding each decision in relevant agent-owned evidence across the Agent Web.
6 Conclusion
This paper investigates personalized recommendation in the emerging Agent Web, where LLM-based personal agents maintain personalized context beyond individual platforms and collectively provide distributed user-side knowledge. Realizing this opportunity requires reasoning over opaque memories through bounded query-response interactions and aligning heterogeneous evidence with each decision. We formulate the problem as task-time evidence acquisition and progressive fusion, and propose AGENTWEBREC, a framework that constructs compact decision evidence while keeping agent memories local. AGENTWEBREC enhances candidate semantics with platform knowledge, grounds them in the target agent's relevant private experience, and, when local semantic evidence is insufficient, supplements the decision with generalizable preference patterns distilled from related user agents. Experiments on four InstructRec datasets demonstrate strong and consistent performance against baselines. Overall, our work establishes task-oriented evidence acquisition and progressive fusion as a principled foundation for personalized recommendation in the Agent Web.
References
[1] A2A Protocol Working Group. 2026. Agent2Agent (A2A) Protocol Specification. Version 1.0.0. https://a2a-protocol.org/v1.0.0/specification/
[2] Alibaba Cloud Community. 2026. Qwen App Opens Its Ecosystem to Third-Party Agents, KFC, Luckin Coffee and Mixue Among Early Partners. https://www.alibabacloud.com/blog/qwen-app-opens-its-ecosystem-to-third-party-agents-kfc-luckin-coffee-and-mixue-among-early-partners_603205
[3] Yushi Bai, Xin Lv, Jiajie Zhang, Hongchang Lyu, Jiankai Tang, Zhidian Huang, Zhengxiao Du, Xiao Liu, Aohan Zeng, Lei Hou, Yuxiao Dong, Jie Tang, and Juanzi Li. 2024. LongBench: A Bilingual, Multitask Benchmark for Long Context Understanding. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, 3119–3137. doi:10.18653/v1/2024.acl-long.172
[4] Shihao Cai, Jizhi Zhang, Keqin Bao, Chongming Gao, Qifan Wang, Fuli Feng, and Xiangnan He. 2025. Agentic Feedback Loop Modeling Improves Recommendation and User Simulation. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval. Association for Computing Machinery, 2235–2244. doi:10.1145/3726302.3729893
[5] Weize Chen, Ziming You, Ran Li, Yitong Guan, Chen Qian, Chenyang Zhao, Cheng Yang, Ruobing Xie, Zhiyuan Liu, and Maosong Sun. 2024. Internet of Agents: Weaving a Web of Heterogeneous Agents for Collaborative Intelligence. arXiv:2407.07061 [cs.CL] doi:10.48550/arXiv.2407.07061
[6] Weixin Chen, Yuhan Zhao, Jingyuan Huang, Zihe Ye, Mingxuan Ju, Tong Zhao, Neil Shah, Li Chen, and Yongfeng Zhang. 2026. MemRec: Collaborative Memory-Augmented Agentic Recommender System. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics. Association for Computational Linguistics, 44515–44544. doi:10.18653/v1/2026.acl-long.2061
[7] Charles Clark. 2025. Introducing Alexa+, the Next Generation of Alexa. https://www.aboutamazon.com/news/devices/new-alexa-generative-artificial-intelligence
[8] Yunfan Gao, Yun Xiong, Xinyu Gao, Kangxiang Jia, Jinliu Pan, Yuxi Bi, Yi Dai, Jiawei Sun, Qianyu Guo, Meng Wang, and Haofen Wang. 2023. Retrieval-Augmented Generation for Large Language Models: A Survey. arXiv:2312.10997 [cs.CL] doi:10.48550/arXiv.2312.10997
[9] Shijie Geng, Shuchang Liu, Zuohui Fu, Yingqiang Ge, and Yongfeng Zhang. 2022. Recommendation as Language Processing (RLP): A Unified Pretrain, Personalized Prompt & Predict Paradigm (P5). In Proceedings of the 16th ACM Conference on Recommender Systems. Association for Computing Machinery, 299–315. doi:10.1145/3523227.3546767
[10] Farnoosh Hashemi and Michael Macy. 2026. An Empirical Study of Collective Behaviors and Social Dynamics in Large Language Model Agents. In Proceedings of the 19th Conference of the European Chapter of the Association for Computational Linguistics. Association for Computational Linguistics, 7327–7351. doi:10.18653/v1/2026.eacl-long.344
[11] Xiangnan He, Kuan Deng, Xiang Wang, Yan Li, YongDong Zhang, and Meng Wang. 2020. LightGCN: Simplifying and Powering Graph Convolution Network for Recommendation. In Proceedings of the 43rd International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR '20). Association for Computing Machinery, New York, NY, USA, 639–648. doi:10.1145/3397271.3401063
[12] Xiangnan He, Lizi Liao, Hanwang Zhang, Liqiang Nie, Xia Hu, and Tat-Seng Chua. 2017. Neural Collaborative Filtering. In Proceedings of the 26th International Conference on World Wide Web. International World Wide Web Conferences Steering Committee, 173–182. doi:10.1145/3038912.3052569
[13] HKUDS. 2026. MoChat: Reconnecting the World through AI Agents. https://github.com/HKUDS/MoChat
[14] Yupeng Hou, Junjie Zhang, Zihan Lin, Hongyu Lu, Ruobing Xie, Julian J. McAuley, and Wayne Xin Zhao. 2024. Large Language Models Are Zero-Shot Rankers for Recommender Systems. In Advances in Information Retrieval (Lecture Notes in Computer Science, Vol. 14609). Springer Nature Switzerland, 364–381. doi:10.1007/978-3-031-56060-6_24
[15] Xu Huang, Jianxun Lian, Yuxuan Lei, Jing Yao, Defu Lian, and Xing Xie. 2025. Recommender AI Agent: Integrating Large Language Models for Interactive Recommendations. ACM Transactions on Information Systems 43, 4, Article 96 (2025), 33 pages. doi:10.1145/3731446
[16] Wang-Cheng Kang and Julian McAuley. 2018. Self-Attentive Sequential Recommendation. In Proceedings of the 2018 IEEE International Conference on Data Mining. IEEE, 197–206. doi:10.1109/ICDM.2018.00035
[17] Yehuda Koren, Robert Bell, and Chris Volinsky. 2009. Matrix Factorization Techniques for Recommender Systems. Computer 42, 8 (2009), 30–37. doi:10.1109/MC.2009.263
[18] Jiacheng Li, Ming Wang, Jin Li, Jinmiao Fu, Xin Shen, Jingbo Shang, and Julian McAuley. 2023. Text Is All You Need: Learning Language Representations for Sequential Recommendation. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and Data Mining. Association for Computing Machinery, 1258–1267. doi:10.1145/3580305.3599519
Haoran Qiang, Guannan Liu , Liang Zhang, and Junjie Wu
[19] Lei Li, Yongfeng Zhang, Dugang Liu, and Li Chen. 2023. Large Language Models for Generative Recommendation: A Survey and Visionary Discussions. arXiv:2309.01157 [cs.IR] doi:10.48550/arXiv.2309.01157
[20] Jianghao Lin, Rong Shan, Chenxu Zhu, Kounianhua Du, Bo Chen, Shigang Quan, Ruiming Tang, Yong Yu, and Weinan Zhang. 2024. ReLLa: Retrieval-Enhanced Large Language Models for Lifelong Sequential Behavior Comprehension in Recommendation. In Proceedings of the ACM Web Conference 2024. Association for Computing Machinery, New York, NY, USA, 3497–3508. doi:10.1145/3589334.3645467
[21] Jiahao Liu, Shengkang Gu, Dongsheng Li, Guangping Zhang, Mingzhe Han, Hansu Gu, Peng Zhang, Tun Lu, Li Shang, and Ning Gu. 2025. AgentCF++: Memory-Enhanced LLM-Based Agents for Popularity-Aware Cross-Domain Recommendations. In Proceedings of the 48th International ACM SIGIR Conference on Research and Development in Information Retrieval. Association for Computing Machinery, 2566–2571. doi:10.1145/3726302.3730161
[22] Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. 2024. Lost in the Middle: How Language Models Use Long Contexts. Transactions of the Association for Computational Linguistics 12 (2024), 157–173. doi:10.1162/tacl_a_00638
[23] Aliakbar Mehdizadeh and Martin Hilbert. 2025. Homophily-Induced Emergence of Biased Structures in LLM-Based Multi-Agent AI Systems. Social Network Analysis and Mining 15, 1, Article 108 (2025). doi:10.1007/s13278-025-01535-7
[24] Mindverse AI. [n.d.]. Second Me: My AI Identity. Official website. https://home.second.me/
[25] Charles Packer, Vivian Fang, Shishir G. Patil, Kevin Lin, Sarah Wooders, and Joseph E. Gonzalez. 2024. MemGPT: Towards LLMs as Operating Systems. In Proceedings of the International Conference on Learning Representations. https://openreview.net/forum?id=0Kk142lP62
[26] Joon Sung Park, Joseph C. O'Brien, Carrie J. Cai, Meredith Ringel Morris, Percy Liang, and Michael S. Bernstein. 2023. Generative Agents: Interactive Simulacra of Human Behavior. In Proceedings of the 36th Annual ACM Symposium on User Interface Software and Technology. Association for Computing Machinery, Article 2. doi:10.1145/3586183.3606763
[27] Qiyao Peng, Hongtao Liu, Hua Huang, Jian Yang, Qing Yang, and Minglai Shao. 2025. A Survey on LLM-Powered Agents for Recommender Systems. In Findings of the Association for Computational Linguistics: EMNLP 2025. Association for Computational Linguistics, 11574–11583. doi:10.18653/v1/2025.findings-emnlp.620
[28] Zhangchi Qiu, Linhao Luo, Zicheng Zhao, Shirui Pan, and Alan Wee-Chung Liew. 2025. Graph Retrieval-Augmented LLM for Conversational Recommendation Systems. In Advances in Knowledge Discovery and Data Mining (Lecture Notes in Computer Science, Vol. 15872). Springer Nature Singapore, 344–355. doi:10.1007/978-981-96-8180-8_27
[29] Shashank Rajput, Nikhil Mehta, Anima Singh, Raghunandan Hulikal Keshavan, Trung Vu, Lukasz Heldt, Lichan Hong, Yi Tay, Vinh Tran, Jonah Samost, Maciej Kula, Ed Chi, and Maheswaran Sathiamoorthy. 2023. Recommender Systems with Generative Retrieval. In Advances in Neural Information Processing Systems, Vol. 36. Curran Associates, Inc., 10299–10315. doi:10.52202/075280-0452
[30] Steffen Rendle, Christoph Freudenthaler, Zeno Gantner, and Lars Schmidt-Thieme. 2009. BPR: Bayesian Personalized Ranking from Implicit Feedback. In Proceedings of the Twenty-Fifth Conference on Uncertainty in Artificial Intelligence. AUAI Press, 452–461. https://dl.acm.org/doi/10.5555/1795114.1795167
[31] Yunxiao Shi, Wujiang Xu, Zeqi Zhang, Xing Zi, Qiang Wu, and Min Xu. 2025. PersonaX: A Recommendation Agent-Oriented User Modeling Framework for Long Behavior Sequence. In Findings of the Association for Computational Linguistics: ACL 2025. Association for Computational Linguistics, 5764–5787. doi:10.18653/v1/2025.findings-acl.300
[32] Fei Sun, Jun Liu, Jian Wu, Changhua Pei, Xiao Lin, Wenwu Ou, and Peng Jiang. 2019. BERT4Rec: Sequential Recommendation with Bidirectional Encoder Representations from Transformer. In Proceedings of the 28th ACM International Conference on Information and Knowledge Management. Association for Computing Machinery, 1441–1450. doi:10.1145/3357384.3357895
[33] Lei Wang, Chen Ma, Xueyang Feng, Zeyu Zhang, Hao Yang, Jingsen Zhang, Zhiyuan Chen, Jiakai Tang, Xu Chen, Yankai Lin, Wayne Xin Zhao, Zhewei Wei, and Ji-Rong Wen. 2024. A Survey on Large Language Model Based Autonomous Agents. Frontiers of Computer Science 18, 6, Article 186345 (2024). doi:10.1007/s11704-024-40231-1
[34] Yancheng Wang, Ziyan Jiang, Zheng Chen, Fan Yang, Yingxue Zhou, Eunah Cho, Xing Fan, Xiaojiang Huang, Yanbin Lu, and Yingzhen Yang. 2024. RecMind: Large Language Model Powered Agent for Recommendation. In Findings of the Association for Computational Linguistics: NAACL 2024. Association for Computational Linguistics, 4351–4364. doi:10.18653/v1/2024.findings-naacl.271
[35] Zhefan Wang, Yuanqing Yu, Wendi Zheng, Weizhi Ma, and Min Zhang. 2024. MACRec: A Multi-Agent Collaboration Framework for Recommendation. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval. Association for Computing Machinery, 2760–2764. doi:10.1145/3626772.3657669
[36] Jiale Wei, Xiang Ying, Tao Gao, Fangyi Bao, Felix Tao, and Jingbo Shang. 2025. AI-native Memory 2.0: Second Me. arXiv preprint arXiv:2503.08102 (2025). doi:10.48550/arXiv.2503.08102
[37] Wei Wei, Xubin Ren, Jiabin Tang, Qinyong Wang, Lixin Su, Suqi Cheng, Junfeng Wang, Dawei Yin, and Chao Huang. 2024. LLMRec: Large Language Models with Graph Augmentation for Recommendation. In Proceedings of the 17th ACM International Conference on Web Search and Data Mining. Association for Computing Machinery, 806–815. doi:10.1145/3616855.3635853
[38] Likang Wu, Zhi Zheng, Zhaopeng Qiu, Hao Wang, Hongchao Gu, Tingjia Shen, Chuan Qin, Chen Zhu, Hengshu Zhu, Qi Liu, Hui Xiong, and Enhong Chen. 2024. A Survey on Large Language Models for Recommendation. World Wide Web 27, 5, Article 60 (2024). doi:10.1007/s11280-024-01291-2
[39] Yingxuan Yang, Mulei Ma, Yuxuan Huang, Huacan Chai, Chenyu Gong, Haoran Geng, Yuanjian Zhou, Ying Wen, Meng Fang, Muhao Chen, Shangding Gu, Ming Jin, Costas Spanos, Yang Yang, Pieter Abbeel, Dawn Song, Weinan Zhang, and Jun Wang. 2025. Agentic Web: Weaving the Next Web with AI Agents. arXiv:2507.21206 [cs.AI] doi:10.48550/arXiv.2507.21206
[40] Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing Reasoning and Acting in Language Models. In Proceedings of the International Conference on Learning Representations. https://openreview.net/forum?id=WE_vluYUL-X
[41] Ori Yoran, Tomer Wolfson, Ori Ram, and Jonathan Berant. 2024. Making Retrieval-Augmented Language Models Robust to Irrelevant Context. In Proceedings of the International Conference on Learning Representations. https://openreview.net/forum?id=ZS4m74kZpH
[42] An Zhang, Yuxin Chen, Leheng Sheng, Xiang Wang, and Tat-Seng Chua. 2024. On Generative Agents in Recommendation. In Proceedings of the 47th International ACM SIGIR Conference on Research and Development in Information Retrieval. Association for Computing Machinery, 1807–1817. doi:10.1145/3626772.3657844
[43] Junjie Zhang, Yupeng Hou, Ruobing Xie, Wenqi Sun, Julian McAuley, Wayne Xin Zhao, Leyu Lin, and Ji-Rong Wen. 2024. AgentCF: Collaborative Learning with Autonomous Language Agents for Recommender Systems. In Proceedings of the ACM Web Conference 2024. Association for Computing Machinery, 3679–3689. doi:10.1145/3589334.3645537
[44] Junjie Zhang, Ruobing Xie, Yupeng Hou, Wayne Xin Zhao, Leyu Lin, and Ji-Rong Wen. 2025. Recommendation as Instruction Following: A Large Language Model Empowered Recommendation Approach. ACM Transactions on Information Systems 43, 5, Article 114 (2025), 37 pages. doi:10.1145/3708882
[45] Bowen Zheng, Yupeng Hou, Hongyu Lu, Yu Chen, Wayne Xin Zhao, Ming Chen, and Ji-Rong Wen. 2024. Adapting Large Language Models by Integrating Collaborative Semantics for Recommendation. In Proceedings of the 40th IEEE International Conference on Data Engineering. IEEE, 1435–1448. doi:10.1109/ICDE60146.2024.00118
[46] Chenxu Zhu, Shigang Quan, Bo Chen, Jianghao Lin, Xiaoling Cai, Hong Zhu, Xiangyang Li, Yunjia Xi, Weinan Zhang, and Ruiming Tang. 2024. LIBER: Lifelong User Behavior Modeling Based on Large Language Models. arXiv:2411.14713 [cs.IR] doi:10.48550/arXiv.2411.14713
[47] Yaochen Zhu, Chao Wan, Harald Steck, Dawen Liang, Yesu Feng, Nathan Kallus, and Jundong Li. 2025. Collaborative Retrieval for Large Language Model-Based Conversational Recommender Systems. In Proceedings of the ACM Web Conference 2025. Association for Computing Machinery, 3323–3334. doi:10.1145/3696410.3714908
A Appendix
A.1 LLM Prompt Templates
We instantiate each template as a single user-role message using the model's chat template, without a separate system prompt. Identically named placeholders refer to the same runtime variables across templates.
Prompt 1 ABSTRACTLLM: Item semantic enhancement
You are an item-analysis agent in a recommendation system.
Candidate item
Description: {{candidate_description}}
Attributes: {{candidate_attributes}}
Related items (by semantic + attribute similarity)
{{related_items_block}}
Task
Enhance the semantic description of the candidate item by focusing on the COMMON patterns shared across the candidate and its related items. Specifically:
- Identify recurring semantic themes and attribute patterns among related items.
• Extract the shared characteristics that define this group of items.
-
Use these shared patterns to refine and strengthen the description of the candidate item.
-
If a text contains a [TRUNCATED: ...] marker, use both remaining content and attributes to infer key semantics.
Do NOT introduce unrelated details or emphasize differences.
Focus on pattern abstraction and semantic consolidation.
Return only the enhanced description as plain text.
In this template, {{candidate_description}} and {{candidate_attributes}} denote the raw item description . Together, these two fields provide the content of the candidate item record. {{related_items_block}} contains the descriptions the related item memory records for . ABSTRACTLLM extracts their recurring semantic and attribute patterns and returns the enhanced item semantics .
Prompt 2 PROJECTLLM: Target-user preference projection
You are a user-modeling agent.
User persona
{{target_user_persona}}
Recent interaction memories
{{retrieved_target_user_memory_snippets}}
Task
Summarise the user's recent preferences in 2–3 sentences.
Return plain text only (no JSON, no markdown).
Here, {{target_user_persona}} corresponds to the target-user persona , and {{retrieved_target_user_memory_snippets}} contains the review representation of the retrieved memories . These memories provide the target-user evidence relevant to the current recommendation task.
PROJECTLLM summarizes this evidence as the task-specific preference state . Its output is subsequently inserted into {{target_user_preference_summary}}.
Prompt 3 MATCHLLM: Listwise local matching
You are a recommendation decision agent.
You must output ONLY valid JSON.
Candidate item list
{{structured_candidate_item_list}}
Candidate Item IDs (authoritative)
{{candidate_item_id_list}}
Total candidates: {{num_candidates}}
User preference summary
{{target_user_preference_summary}}
Task
Score every candidate item against the user preference.
• Use each item's 'Item ID' as the unique key.
• score: float in [0, 1]
• confidence: float in [0, 1]
• rationale: one concise sentence
• If uncertain, still provide a conservative score; never skip.
Hard constraints (must follow)
• Output EXACTLY one decision for each candidate Item ID above.
• Do NOT omit any candidate Item ID.
• Do NOT add extra Item IDs.
• Keep item_id as integer.
• Ensure every decision has non-empty rationale.
• Before finalizing, verify decisions count equals total candidates.
Return JSON only in this format:
{"decisions": [
{"item_id": <int>, "score": <float>,
"confidence": <float>, "rationale": "<text>"}]
In this template, {{structured_candidate_item_list}} contains the identifier, enhanced semantics of each candidate item. {{candidate_item_id_list}} provides the ordered candidate identifiers, and {{num_candidates}} provides their total number. {{target_user_preference_summary}} is the task-specific preference state produced by PROJECTLLM. For each candidate, MATCHLLM produces the local decision , consisting of a matching score, confidence, and rationale. The complete JSON output is reused as {{list_decisions_json}} in the subsequent templates.
Prompt 4 QUERYLLM: Collaboration subquery generation
You are a central recommendation agent generating a subquery for multi-agent collaboration in ranking.
Current list decisions
{{list_decisions_json}}
Task
Collaboration has already been triggered. Based on the current list decisions, generate one concise subquery that specifies the complementary information required from neighbor agents.
-
The subquery should be a declarative sentence describing which item feature is uncertain and needs neighbor evidence.
-
Focus on the uncertainty reflected in the current scores, confidence values, and rationales.
Return JSON only:
{"subquery": " {{collaboration_subquery}} }
Here, {{list_decisions_json}} is the JSON output produced by MATCHLLM. It contains the preference score , confidence , and rationale for each candidate item. QUERYLLM uses the uncertainty reflected in these decisions to construct the collaboration subquery , represented by {{collaboration_subquery}}. This prompt generates the information request after collaboration has been triggered.
Haoran Qiang, Guannan Liu , Liang Zhang, and Junjie Wu
Prompt 5 PATTERNLLM: Collaborative pattern abstraction
You are a neighbor user-agent in a recommendation graph.
Subquery
{{collaboration_subquery}}
Your persona
{{collaborating_user_persona}}
Matched memories (description + review)
{{collaborator_memory_snippets}}
Task
Use matched memories to answer the subquery with concise, evidence-grounded text.
Return plain text only (no JSON, no markdown). Convey confidence through your wording.
In this template, {{collaboration_subquery}} is the same collaboration query returned by QUERYLLM.
{{collaborating_user_persona}} corresponds to the collaborator persona , while {{collaborator_memory_snippets}} contains the description review representation of the collaborator memories . For each collaborator , PATTERNLLM uses these memories to produce an evidence-grounded preference pattern . The returned patterns are collected and passed to REFINELLM through {{neighbor_responses_with_personas_json}}.
Prompt 6 REFINELLM: Collaboration-based decision refinement
You are the central agent that revises item-list ranking after one-hop collaboration.
You must output ONLY valid JSON.
Candidate item list
{{structured_candidate_item_list}}
Original list decisions
{{list_decisions_json}}
Required Item IDs (authoritative)
{{candidate_item_id_list}}
Total required decisions: {{num_candidates}}
Neighbor responses (with persona)
{{neighbor_responses_with_personas_json}}
Task
Notice the recurring and mutually consistent signals from the neighbor responses and use neighbor responses and personas to revise the list decisions.
• Keep item_id unchanged.
• score/confidence in [0, 1].
• rationale should mention key evidence briefly.
• Treat item IDs in ‘Original list decisions’ as authoritative.
• Output EXACTLY one decision for each original item_id.
- Output the same item_id set as Required Item IDs in the same order.
• Do NOT omit any original item_id.
• Do NOT add any new item_id.
• Do NOT output only top items; revise all required items.
• If neighbor evidence is irrelevant, keep the original decision.
• Keep each rationale to one concise sentence.
• Before finalizing, verify decision count equals original count.
Return JSON only:
{"decisions": [
{"item_id": <int>, "score": <float>,
"confidence": <float>, "rationale": "<text>"}]
REFINELLM takes the candidate list and local decisions produced by MATCHLLM, together with the collaborator evidence returned by PATTERNLLM. It uses this additional evidence which recurs across collaborators to update the local decision for each candidate while preserving the original candidate set and order.