An agent security context is a declarative set of privilege and access control parameters applied to an agent's execution environment, such as a container or pod, within an orchestration platform like Kubernetes. It defines the runtime security posture by specifying the user ID (runAsUser), group IDs, Linux capabilities, SELinux/AppArmor profiles, and whether the process runs in privileged mode. This context is a core component of defense-in-depth for multi-agent systems, enforcing the principle of least privilege to minimize the attack surface if an agent is compromised.
