Skip to main content

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

all()

Return every scope (granted by default when no policy is configured).

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 237