Autonomous agents need internal, runtime defenses beyond training-time alignment—ANIS provides a biologically-inspired immune system that monitors and protects an agent's memory, tools, and multi-agent interactions from active exploitation.
This paper introduces Agent-Native Immune System (ANIS), a defense framework built directly into autonomous agents to protect against runtime attacks like memory poisoning and tool manipulation. Unlike traditional external security measures, ANIS operates within the agent's reasoning loop through a six-layer architecture and continuously learns to adapt to new threats.