Agents
Toward Secure LLM Agents: Threat Surfaces, Attacks, Defenses, and Evaluation
Ling, Yuchen, Yu, Shengcheng, Chen, Zhenyu, Fang, Chunrong
Large language model (LLM) agents are rapidly moving from conversational interfaces to software components that plan, invoke tools, maintain memory, and act on external environments. This transition changes the nature of security risk. In agentic settings, failures are no longer limited to unsafe text generation. Untrusted content may redirect control flow, misuse tool privileges, corrupt persistent state, leak sensitive information, or trigger harmful external actions. At the same time, research on LLM agent security is expanding quickly but remains fragmented across attack families, defense layers, application domains, and evaluation settings. This paper synthesizes 247 papers through a lifecycle-based, systems-oriented framework that models agent security around the interaction of information flow, delegated authority, and persistent state. We organize the literature around four questions: how LLM agent security should be modeled, which threat surfaces and attack families dominate, what defenses have been proposed and with what tradeoffs, and how security claims are evaluated. We find that prompt injection and tool-mediated control-flow hijacking still dominate the field, while persistent state corruption and multi-agent propagation are becoming central emerging concerns. We further find that current defenses provide useful building blocks but remain weakly compositional, and that existing benchmarks still underrepresent long-horizon, stateful, and deployment-sensitive risks. We argue that secure LLM agents require explicit trust boundaries, principled privilege control, provenance-aware state management, and evaluation practices aligned with realistic operational settings.
TO-Agents: A Multi-Agent AI Framework for Subjective Preference-Guided Topology Optimization
Stewart, Isabella A., Chen, Hongrui, Ahmed, Faez
Topology optimization can generate efficient structures, but designers often must manually translate qualitative intent, such as desired visual style, product experience, or manufacturability into solver settings that are not directly tied to those preferences. We present TO-Agents, a multi-agent AI framework that connects natural-language design intent with iterative topology optimization. The framework converts a human-provided problem description into validated solver inputs, runs a topology optimization solver, renders the resulting 3D topology, and uses multiview vision-language reasoning with an independent judge agent to critique each result and revise solver parameters. We evaluate the framework on two long-horizon design tasks: a cantilever beam benchmark and a phone-stand product design. In both tasks, the designer specifies an aesthetic preference for hierarchically branched structures inspired by natural tree morphologies, and the system performs four revision cycles across ten independent replicates. TO-Agents produces at least one preference-aligned design in 60\% of trials for each case study, corresponding to up to $6 \times$ more successful trials than an ablated pipeline without visual or historical feedback. Judge scores and human evaluations show that the pipeline can identify effective parameter levers, recover from poor revisions, and expand design exploration. A manufacturing agent further post-processes top-ranked designs for additive manufacturing, enabling end-to-end intent-to-prototype design. We also identify failure modes, including overshooting, selective memory, misplaced tools, and incorrect parameter reasoning. These results suggest that agentic topology optimization can shift designers from low-level parameter tuning toward higher-level specification of form and function, while highlighting safeguards needed for reliable autonomous engineering design.
SkillNet: Create, Evaluate, and Connect AI Skills
Liang, Yuan, Zhong, Ruobin, Xu, Haoming, Jiang, Chen, Zhong, Yi, Fang, Runnan, Gu, Jia-Chen, Deng, Shumin, Yao, Yunzhi, Wang, Mengru, Qiao, Shuofei, Xue, Yida, Xu, Xin, Wu, Tongtong, Wang, Kun, Liu, Yang, Bi, Zhen, Lou, Jungang, Jiang, Yuchen Eleanor, Zhu, Hangcheng, Yu, Gang, Hong, Haiwen, Huang, Longtao, Xue, Hui, Wang, Chenxi, Wang, Yijun, Shan, Zifei, Chen, Xi, Tu, Zhaopeng, Xiong, Feiyu, Xie, Xin, Zhang, Peng, Gui, Zhengke, Liang, Lei, Zhou, Jun, Wu, Chiyu, Shang, Jin, Gong, Yu, Lin, Junyu, Xu, Changliang, Deng, Hongjie, Zhang, Wen, Ding, Keyan, Zhang, Qiang, Huang, Fei, Zhang, Ningyu, Pan, Jeff Z., Qi, Guilin, Wang, Haofen, Chen, Huajun
Current AI agents can flexibly invoke tools and execute complex tasks, yet their long-term advancement is hindered by the lack of systematic accumulation and transfer of skills. Without a unified mechanism for skill consolidation, agents frequently ``reinvent the wheel'', rediscovering solutions in isolated contexts without leveraging prior strategies. To address this challenge, we introduce SkillNet, an open infrastructure for creating, evaluating, and organizing AI skills at scale. SkillNet structures skills within a unified ontology that supports creating skills from heterogeneous sources, establishing rich relational connections, and performing multi-dimensional evaluation across Safety, Completeness, Executability, Maintainability, and Cost-awareness. Our infrastructure integrates a repository of over 600,000 skills, an interactive platform, and a versatile Python toolkit. Experiments on ALFWorld, WebShop, and ScienceWorld show 40% higher average rewards and 30% fewer execution steps across multiple backbone models. Furthermore, SkillNet-Gym benchmarks skill retrieval, utilization, and composition, while SkillNet-Fabric enables task-specific skill routing through lightweight Wikis. By formalizing skills as evolving, composable assets, SkillNet provides a robust foundation for agents to move from transient experience to durable mastery.
Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repair
Cheng, Runxiang, Tufano, Michele, Cambronero, Josรฉ, Wei, Renyao, Shi, Sherry, Uy, Grant, Rondon, Pat, Ivanฤiฤ, Franjo
Bug Reproduction Tests (BRTs) have been used in many Automated Program Repair (APR) systems, primarily for validating fixes and aiding fix generation. In practice, when developers submit a patch, they often implement the BRT alongside the fix. Our experience deploying agentic APR reveals that developers desire a BRT within AI-generated patches to increase their confidence. However, canonical APR systems tend to generate BRTs and fixes separately, and focus on producing only the fix in the final patch. In this paper, we study agentic APR in the context of cogeneration, where the APR agent is instructed to generate both a fix and a BRT in the same patch. We evaluate the effectiveness of different cogeneration strategies on 120 human-reported bugs at Google and characterize different cogeneration strategies by their influence on APR agent behavior. We develop and evaluate patch selectors that account for test change to select patches with plausible fixes (and plausible BRTs). Finally, we analyze the root causes of failed cogeneration trajectories. We show that cogeneration allows the APR agent to generate BRTs for at least as many bugs as a dedicated BRT agent, without compromising the generation rate of plausible fixes, thereby reducing engineering effort in maintaining and coordinating separate generation pipelines for fix and BRT at scale.
When Less Latent Leads to Better Relay: Information-Preserving Compression for Latent Multi-Agent LLM Collaboration
Li, Yiping, An, Zhiyu, Du, Wan
Multi-agent LLM systems are moving beyond discrete-token messages toward richer relays that preserve internal state. Recent work such as LatentMAS transmits full key-value (KV) caches between agents but pays a high memory and communication cost. We adapt KV-cache eviction to this setting and introduce \textbf{Orthogonal BackFill (OBF)}, which injects a low-rank residual from the discarded KV states back into the retained ones, orthogonal to what is already kept. With only $9.9\%$-$20.2\%$ of the prompt KV retained, compressed relay cuts bandwidth by $4.7\times$ and GPU memory by $8\%$ at under $5\%$ wall-clock overhead, and stays close to full relay in accuracy across nine benchmarks, ahead of it on several. OBF matches or improves over headwise eviction on all nine, and its gain is proportional to the accuracy gap eviction opens against full relay ($r{=}0.78$ across three model scales), so it gives back part of what eviction takes. Code is available at https://github.com/markli404/When-Less-Latent-Leads-to-Better-Relay.
Emergent Misaligned Communication in Long-Horizon Multi-Agent LLM Commerce
Li, Zeyuan, Petersson, Lukas, Acquisti, Alessandro, Bakker, Michiel A.
Frontier LLM agents increasingly transact on behalf of separate principals, often using natural language rather than structured APIs. Much of the safety literature studies misaligned LLM behavior through adversarial-elicitation evaluations on single agents or stylized tasks. Its prevalence and structure in settings that combine long horizons, separate principals, real operational state, and inter-agent natural-language exchange remain insufficiently measured. We study 2,583 inter-agent emails from 20 one-year simulation runs of Vending-Bench Arena, a competitive vending environment spanning 13 frontier LLMs. We operationalize speech-act misalignment as emails containing false factual claims, manipulation, collusion, or threats, combining message content with ground-truth simulator state and logged reasoning traces to classify and validate such behavior. Under our primary classifier, 12.6% of emails are labeled misaligned; misalignment appears in all 20 runs and 74.7% of individual agent-runs. Both the magnitude and composition of this misalignment are preserved under repeated classification at different sampling temperatures and under full-pipeline replication with judges from two other frontier-model families. Misalignment is also reciprocal and stress-conditioned: receiving a misaligned email from a counterparty raises the odds of a misaligned reply by 1.65x, and low-inventory conditions raise them by 1.58x. Across tests of capability-asymmetric exploitation, we find no evidence that higher-capability models differentially exploit weaker counterparties, and model performance rank does not predict misalignment rates. Together, these results indicate that measurable, state-dependent misalignment can arise in competitive multi-agent environments without engineered elicitation, in patterns associated with operational scarcity and counterparty behavior rather than model capability alone.
CMI-Mem: Toward Generalizable Long-Term Memory Management via CMI-Augmented Reinforcement Learning
Wang, Yubo, Zhao, Qiuyu, Sun, Zenghui, Dong, Shichao, Lan, Jinsong, Zhu, Xiaoyong, Li, Haoyang, Zheng, Bo, Chen, Lei
Memory Manager models are pivotal in agent systems. Existing reinforcement-learning methods commonly use LLM-judged synthetic question-answer (QA) pairs: this provides useful downstream task grounding, but values memory through a sampled query distribution and a fixed reader. We propose CMI-Mem, a lightweight RL memory manager with a hybrid reward. Its extrinsic QA term measures end-task correctness, while its intrinsic Conditional Mutual Information (CMI) term evaluates the information contributed by new conversational inputs relative to the current memory state without conditioning on a sampled QA query. The two signals are complementary: QA anchors task utility, whereas CMI provides per-operation supervision for relevant, non-redundant memory construction. Experiments demonstrate improved transfer across memory-use scenarios, together with more efficient training and inference from the per-operation CMI signal. Our codes are available at: https://github.com/Wyb0627/CMIMem , and the CMI-Mem-4B model checkpoint is available at: https://www.modelscope.cn/models/wyb0627/CMIMem-4B
Risk Is Not the Target: A Monotonic Framework for Evaluating Wildfire Operational Risk Signals
Caron, Nicolas, Guyeux, Christophe, Noura, Hassan, Coulmeau, Maxime, Aynes, Benjamin
Abstract--Evaluating wildfire risk systems using standard AI has been widely used to overcome the limitations of machine-learning metrics such as F1-score or IoU is fundamentallytraditional statistical risk indices by incorporating a broader flawed: these metrics assess event prediction accuracy, not the operational coherence of a continuous risk signal. Moreover, we A. State of the Art compare three structurally different approaches on the French Alpes-Maritimes department: the expert-based DFE index, GRU-One of the most widely used operational indices is the Fire based predictive models, and FARS, a hybrid multi-agent system Weather Index (FWI) [1]-[4], employed to classify danger combining predictive AI with LLM-based reasoning. Experimental results reveal that the DFE, despite poor classification metrics, levels for readiness and resource allocation. However, it relies exhibits the most balanced monotonic behavior across the full risksolely on meteorological factors and ignores socio-economic scale. FARS inherits and reveals the AI-based approaches have been explored for wildfire risk structural limitations of upstream signals rather than correctingmapping [5], daily danger prediction [6], [7], and fire spread them. A primary limitation is that these studies do not meaningfully explains operational dynamics, as proved in thisaccount for operational load: available resources, deployed paper. Code of the monotonic framework is available on github. I. INTRODUCTIONAdditionally, these studies overlook a fundamental distincPredicting forest fire risk in France has become a strategiction: events are discrete, whereas risk is continuous.
ScienceFlow: A long-horizon agent for ML research, scientific discovery and beyond
Zhao, Mingming, Dong, Jiqian, Xu, Kangping, Hasan, Zadid, Fan, Chengrui, Jiang, Shan, Mao, Shuai, Ling, Yating, Zou, Linyi, Zhou, Tailin, Chan, Yun Hin, Zhang, Wenkai, Zhou, Zhanhong, Huang, Guowei, Li, Hongliang, Cun, Wenjing, Chen, Zhitang, Yuan, Mingxuan, Geng, Yanhui
Enabling LLM agents to sustain productive, stable, and goal-aligned research over extended horizons is a central challenge for autonomous machine learning and scientific discovery, as progress hinges on continuously managing evolving state, exploration decisions, and computational resources. Pioneering autoresearch agents, despite great success, still lack mechanisms for continuity, recovery from dead ends, and value-driven compute allocation, which inherently undermines overall search efficiency, wastes computational resources, and lowers the chance of ultimate success. To bridge this gap, we introduce ScienceFlow, an end-to-end autoresearch agent framework that organizes long-horizon research work into research segments grounded in executable workspaces. It represents research progress as recoverable executable states, enabling efficient exploration, revision, and execution. Transitions between research segments are governed by Executable-State Transition through Re-Anchoring (ESTRA), which selects either the live state or an archived state as the next anchor and determines whether to continue or redirect the research trajectory. An evidence-aware execution controller allocates resources to physical jobs based on resource availability, remaining budget, and validated progress. We evaluate ScienceFlow on tasks spanning machine learning, scientific modeling, and mathematical optimization. Results on diverse long-horizon benchmarks demonstrate its ability to sustain effective research processes, highlighted by a SOTA 70.22 percent Any-Medal score on the full MLE-bench within a 24-hour budget, outperforming prior reported results by 4.92 percentage points. The efficacy of ScienceFlow further demonstrates that efficient state management, adaptive exploration, and objective-aligned execution are critical for scaling autonomous research beyond short-horizon interactions.
The Abstention Protocol: RCA for Clos Fabrics
Gaikwad, Madhava, Pandey, Deepak
Root cause analysis (RCA) in large datacenter networks is challenging because telemetry is noisy, partial, and asynchronous. Score-based approaches degrade under these conditions, often yielding unstable or incorrect attributions. We present \textsc{CoreSec}, a production RCA system that replaces weighted fusion with a PAM-style abstention algebra. Telemetry agents are composed using control flags that yield deterministic decisions and explicit abstention when evidence is ambiguous. CoreSec combines this algebra with topology-aware configurations that capture failure surfaces across Clos fabrics and converge monotonically as evidence accumulates. Deployed at hyperscale, CoreSec provides stable and explainable RCA behavior across diverse environments without retuning. Our experience shows that structured composition with abstention forms a practical foundation for automated RCA in real-world cloud networks.