Amendment XLS: Agent Identity #572
TusharPardhe
started this conversation in
XLS Proposals
Replies: 1 comment 2 replies
|
What new functionality does this provide that isn't already satisfied by XLS-40/70/75? This seems to mostly just be a repackaging of those features. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Amendment XLS: Agent Identity
Description: On-chain identity, authorization, and revocation framework for autonomous AI agents on the XRP Ledger.
Author: Tushar Pardhe (@TusharPardhe)
Category: Amendment
Abstract
This specification introduces a native on-chain identity and authorization framework for autonomous AI agents operating on the XRP Ledger. It defines a new
Agentledger entry type and three transactions (AgentSet,AgentAuthorize,AgentDelete) that together enable a two-party consent model where an agent account registers itself and a principal account authorizes, suspends, or permanently revokes that agent.The design provides machine-verifiable delegation of financial authority, on-chain capability declarations, configurable spending limits, and an instant kill switch for rogue agents — all enforced at the protocol level when opted into.
This feature requires an amendment, tentatively titled AgentIdentity.
Motivation
AI agents are rapidly becoming autonomous participants in financial systems. They execute trades, manage treasury, provide liquidity, and coordinate cross-border payments. The XRP Ledger protocol currently has no native mechanism to answer three questions critical to institutional adoption of agents:
Summary of Changes
Agent(0x008A)AgentSet(type 85)AgentAuthorize(type 86)AgentDelete(type 87)agent_infoagent_authorizedKey Design Decisions
Two-Party Consent
An agent registers itself (
AgentSet) and the principal explicitly authorizes it (AgentAuthorize). Neither party can unilaterally claim a relationship. TheAgentobject starts inPendingstatus and transitions toActiveonly after both parties consent.Opt-In Enforcement
The
lsfEnforceableflag is strictly opt-in by the agent account. When set AND the agent is revoked/suspended, the agent's transactions are rejected at consensus. Without this flag, revocation is informational only (visible on-chain but does not block transactions).Permanent Revocation for Audit
Revoked
Agentobjects cannot be deleted. They persist permanently on-ledger as an auditable record. This protects victims and supports legal proceedings.Capability Bitmask
A 32-bit
Capabilitiesfield declares what transaction categories the agent is authorized for (Payment, DEX, AMM, NFToken, etc.). This enables counterparties to verify agent scope before interacting.Kill Switch
A principal can revoke an agent in a single transaction (3-5 seconds). If
lsfEnforceableis set, this immediately and permanently halts all agent activity at the consensus layer.State Machine
Relationship to Existing Features
Use Cases
agent_authorizedbefore accepting payment channels.agent_authorizedto verify Agent B is active and authorized by a known principal.Full Specification
The complete technical specification (709 lines) is available at:
📄 XLS-0103-agent-identity/README.md
It includes:
Agentledger entry specification (fields, flags, object ID, reserves, deletion rules)Open Questions
lsfEnforceablerevocation also block the account from being funded (preventing asset accumulation post-revocation)?MaxAutonomybe enforced at consensus in this amendment or deferred to a follow-up?Capabilitiesbitmask include a bit forAgentAdmin(managing sub-agents hierarchically)?Agentobjects auto-delete on the next transaction touching them (like expired Credentials)?Feedback Requested
All reactions