Operator Scope • AI Agent SDK
OperatorScope: Operator authorisation scopes for multi-operator Gateway access control.
OperatorScope
Defined in the protocols module.
AI Agent
Operator authorisation scopes for multi-operator Gateway access control.
These describe what an authenticated operator is allowed to do, layered on top of (and orthogonal to) authentication. The vocabulary lives in the core SDK so that protocol clients and the wrapper Gateway share the same names; enforcement happens in the wrapper where requests are dispatched.
Scopes: READ: View dashboard / receive session transcripts and status. WRITE: Send messages as the agent. APPROVALS: Resolve tool-execution approvals (security-sensitive). PAIRING: Approve / revoke device pairing. ADMIN: Channel control (pause / resume / reconnect) and management.
Methods
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 246