AgentWard: A Lifecycle Security Architecture for Autonomous AI Agents

Yixiang Zhang, Xinhao Deng, Jiaqing Wu, Yue Xiao, Ke Xu +1 more
4/27/2026
1 citation
cs.CRcs.AI

Official code: FIND-Lab/AgentWard (65 stars, TypeScript, Apache-2.0, last commit 2026-06-04).

Abstract

Autonomous AI agents extend large language models into full runtime systems that load skills, ingest external content, maintain memory, plan multi-step actions, and invoke privileged tools. In such systems, security failures rarely remain confined to a single interface; instead, they can propagate across initialization, input processing, memory, decision-making, and execution, often becoming apparent only when harmful effects materialize in the environment.

Show full abstract

This paper presents AgentWard, a lifecycle-oriented, defense-in-depth architecture that systematically organizes protection across these five stages. AgentWard integrates stage-specific, heterogeneous controls with cross-layer coordination, enabling threats to be intercepted along their propagation paths while safeguarding critical assets. We detail the design rationale and architecture of five coordinated protection layers, and implement a plugin-native prototype on OpenClaw to demonstrate practical feasibility. This perspective provides a concrete blueprint for structuring runtime security controls, managing trust propagation, and enforcing execution containment in autonomous AI agents. Our code is available at https://github.com/FIND-Lab/AgentWard .

View on arXivView PDF

Code Implementations(1)

FIND-Lab/AgentWardOfficial100%
Apache-2.0

AgentWard – Built for all, hardened for OpenClaw.

659TypeScript, ShellMar 20, 20266 months agoApache-2.0
agent-securitydefense-in-depthllm-agentllm-securityopenclaw+3 more

Similar Papers

Cite this paper

@article{zhang2026agentward,
  title  = {AgentWard: A Lifecycle Security Architecture for Autonomous AI Agents},
  author = {Yixiang Zhang and Xinhao Deng and Jiaqing Wu and Yue Xiao and Ke Xu and Qi Li},
  year   = {2026},
  eprint = {2604.24657},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2604.24657v1}
}

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/2604.24657.svg)](https://codeofpaper.com/paper/2604.24657)

Discussion