[SEP Draft] Hierarchical Mandate Tokens for Autonomous Agent Authority #1925
devfelipenunes
started this conversation in
Stellar Ecosystem Proposals
Replies: 1 comment
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.
[SEP Draft] Hierarchical Mandate Tokens for Autonomous Agent Authority
Author: Felipe Nunes Oliveira (@devfelipenunes)
Track: Standard
Status: Draft
Version: 0.3.0
What this proposes
This draft defines a standard Soroban interface for Mandate tokens — non-transferable, revocable authority tokens that allow a sovereign identity (Root Anchor) to delegate programmable, scoped, and auditable power to AI agents or automated systems without sharing private keys.
The standard introduces a clean separation between:
Through a central Nexus registry, any third party can verify an agent's authority in a single, gas-efficient call.
Why this matters for Stellar
As agentic systems scale, the "Identity Vacuum" and "Custody Risk" become existential threats. Giving an agent a private key is a binary choice between full access or zero access.
This SEP provides a Programmable Power of Attorney. By leveraging Stellar’s low fees and Soroban’s smart contract capabilities, we can enable a "Trustless Delegation" layer where agents can spend micro-budgets (via x402) or interact with DeFi, while the human retains absolute, atomic control.
Key Mechanisms Defined
budget_fraction, to prevent budget exhaustion through cascading sub-agents.MAX_DELEGATION_DEPTH) and an epoch-keyed VerificationCache that ensureverify_authorityhas a predictable, auditable gas cost.MandateRequestpayloads without their keys ever touching the contract environment.Design decisions for feedback
transfer_limitto prevent "infinite" budget delegations by default?scope_commitmentfield allows for private verification. Should we push for a standardized ZK-Verifier interface now, or leave it for a companion SEP as ZK primitives (X-Ray) mature?Reference implementation
The reference implementation is maintained by the Zolvency protocol, where Mandates are implemented as Wills managed by the Nexus registry. This implementation demonstrates how a SoulID (Root Anchor) governs agents with high-performance authority checks.
Full draft
The complete, technically detailed SEP-Mandate specification (v0.5.0) is available at:
[https://github.com/stellar/stellar-protocol/pull/1925](https://github.com/stellar/stellar-protocol/pull/1925)All reactions