Allow AI Agent
AllowAiAgent lets an administrator prevent SandMan from opening its AI agent listener. It is a global-only Sandboxie Plus setting, introduced in 1.19.1 / 5.74.1. SandMan checks this policy when it is connected to the Sandboxie API. 1
Syntax
AllowAiAgent=(y|n)
Set this in [GlobalSettings] in Sandboxie.ini. n blocks listener startup. y (the default) permits startup, but does not open the listener automatically or override the user's choice to turn AI agent connections off. 2
Usage
To stop SandMan from opening a new listener even if the user has enabled AI agent connections:
If the listener is already open, close it with AI Agent Connection (MCP) or exit SandMan. Setting n affects the next startup attempt; it does not close a running listener. 2 3