Agno v2.3.13 adds JWT-based Role-Based Access Control to AgentOS with per-endpoint and per-agent scope enforcement.
$ git clone --branch v2.3.13 https://github.com/agno-agi/agno.git # already have the repo? check out this version: $ git checkout v2.3.13
- ›Adds JWTMiddleware class to AgentOS for JWT-based authorization, requiring signed JWT tokens with user permission scopes on all traffic —
verification_keys=[...]is the new recommended way to supply keys over the deprecatedsecret_keyparameter. - ›Supports per-endpoint authorization via configurable required scopes on each AgentOS endpoint.
- ›Supports per-agent (and per-Team, per-Workflow) resource control via scopes like
agents:my-agent:read, restricting which users can invokePOST /agents/{id}/runsor read fromGET /agentsandGET /agents/{id}.
- !The
algorithmdefault on JWTMiddleware changed fromHS256toRS256; existing setups using the default with symmetric (HMAC) keys will fail to verify tokens on upgrade.