Agent Authentication
Tutorials for Agent Authentication and Delegation
What is Agent IAM?
Agent IAM extends GL IAM to support AI agents as first-class principals. Just like users authenticate with passwords and services authenticate with API keys, agents authenticate through delegation — a human or another agent explicitly grants limited authority to act on their behalf.
New to GL IAM? Start with Introduction to GL IAM to understand the core concepts before diving into agents.
The Three Principal Types
User
Password, OAuth, SAML
Human end-users
API Key
Secret token
Service-to-service
Agent
Delegation token
AI agents acting on behalf of users
How Agent Delegation Works

Key Concepts
AgentType
Classification of agent role: ORCHESTRATOR, WORKER, TOOL, AUTONOMOUS
DelegationScope
What an agent can do — scopes, resource constraints, action budget, expiry
DelegationChain
Ordered list of principals from root (user) to leaf (current agent)
DelegationToken
JWT encoding the chain, scope, and task context
TaskContext
Why the delegation exists — task ID, purpose, data sensitivity
Scope Attenuation
Each hop in the chain can only narrow scopes, never widen them
Kill Switch
Suspend or permanently revoke an agent to block future delegations
Tutorials
Register Agent
What You'll Learn: Register an agent with a type, owner, and allowed scopes.
Delegate to Agent
Delegate Authority to an Agent
What You'll Learn: Create a delegation token granting limited authority to an agent.
Validate Delegation Token
What You'll Learn: Validate delegation tokens in receiving services using a minimal gateway.
Delegation Chain
What You'll Learn: Build multi-hop delegation chains where agents sub-delegate to other agents.
Scope & Budget
Scope Attenuation & Action Budgets
What You'll Learn: Control what agents can do with scope narrowing, resource constraints, and budgets.
Agent Lifecycle
What You'll Learn: Manage agent lifecycle — suspend, reactivate, and permanently revoke agents.
Found an issue on this page? Report it on our feedback form.
Last updated
Was this helpful?