Beyond Static Sandboxing: Learned Capability Governance for Autonomous AI Agents

arXiv cs.AI / 4/15/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper identifies a “capability overprovisioning” problem in autonomous AI agent runtimes (e.g., OpenClaw) where agents expose full tool, subagent, and credential capabilities regardless of the task, creating large security risk gaps across task types.
  • It argues that existing defenses like NemoClaw container sandboxing and Cisco DefenseClaw skill scanning focus on containment and detection but do not adaptively learn a least-privilege, minimum-capability set per task.
  • The proposed Aethelgard framework introduces four-layer adaptive governance to enforce least privilege, including dynamic tool scoping (Capability Governor) and interception of tool calls prior to execution (Safety Router).
  • A reinforcement learning component (RL Learning Policy) trains a PPO policy from accumulated audit logs to learn which minimal skills/capabilities are appropriate for each task type.

Abstract

Autonomous AI agents built on open-source runtimes such as OpenClaw expose every available tool to every session by default, regardless of the task. A summarization task receives the same shell execution, subagent spawning, and credential access capabilities as a code deployment task, a 15x overprovision ratio that we call the capability overprovisioning problem. Existing defenses, including the NemoClaw container sandbox and the Cisco DefenseClaw skill scanner, address containment and threat detection but do not learn the minimum viable capability set for each task type. We present Aethelgard, a four layer adaptive governance framework that enforces least privilege for AI agents through a learned policy. Layer 1, the Capability Governor, dynamically scopes which tools the agent is aware of in each session. Layer 3, the Safety Router, intercepts tool calls before execution using a hybrid rule based and fine tuned classifier. Layer 2, the RL Learning Policy, trains a PPO policy on the accumulated audit log to learn the minimum viable skill set for each task type.