Agent Runtime 安全执行分层架构
Tool Registry、Policy Engine、资源授权、Sandbox 后端和宿主资源之间的关系。
Agent Runtime 安全执行分层架构
Application policy decides what is allowed; OS sandbox constrains what the process can actually do.
Agent / Task
Agent Runtime
Task identity · context · tool routing
Tool Registry
Tool allowlist · schema · risk class
Policy Engine (PDP)
Principal · action · resource · purpose
Approval
Bound to exact action
Policy Enforcement & Resource Access
Capability Filesystem
Directory handle · path resolution
Read / create / update / delete separated
Connector Gateway
Delegated identity · resource scope
Business APIs · data classification
Execution Profile
Filesystem · network · process · limits
Compiled to backend-specific controls
Isolated Execution Backends
just-bash
Virtual shell · in-memory FS
No host process isolation
OS Sandbox
Seatbelt · Bubblewrap · Windows
Real process + inherited restrictions
Docker Runtime
Container · image · volume
Shared host kernel by default
VM
Guest kernel
Higher isolation cost
Host resources
Approved workspace · network destinations · credentials broker · audit sink