Hierarchical Mandate Tokens for Autonomous Agent Authority (SEP Draft)#1926
Open
devfelipenunes wants to merge 11 commits into
Open
Hierarchical Mandate Tokens for Autonomous Agent Authority (SEP Draft)#1926devfelipenunes wants to merge 11 commits into
devfelipenunes wants to merge 11 commits into
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a new draft SEP to define a Soroban-based “Mandate” authority/delegation interface for autonomous agents, plus a small .gitignore update.
Changes:
- Introduces
ecosystem/sep-mandate.md, a draft specification for hierarchical, non-transferable, revocable mandate tokens and a Nexus verification interface. - Defines core structs, required functions (
issue_mandate,revoke_mandate,verify_authority), and required events for indexing. - Ignores local
.worktrees/directories in.gitignore.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| ecosystem/sep-mandate.md | Adds a new SEP draft describing hierarchical mandate delegation and verification on Soroban. |
| .gitignore | Adds .worktrees/ to ignored paths. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Author
|
@copilot apply changes based on the comments in this thread |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Updated the SEP document to reflect changes in the Mandate token structure, including the introduction of DelegationRules, VerificationCache, and improved clarity in the Scope definition.
Author
|
@copilot apply changes based on the comments in this thread |
Updated version and added support for Autonomous Subscriptions with recurring budgets. Clarified comments and improved documentation throughout the mandate authority specification.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This proposal introduces a standard interface for issuing non-transferable, revocable Mandate tokens on the Stellar network (Soroban). It allows a sovereign identity (Anchor) to delegate programmable, scoped authority to AI agents or automated systems without sharing private keys.
Motivation
The emerging agentic economy requires AI agents to execute financial transactions and interact with decentralized protocols autonomously. Current methods (like sharing private keys) present extreme custody risks. This SEP solves this by creating a programmable power of attorney: the agent can only act within a pre-defined Scope, and the Anchor retains full, instant revocation rights.
Key Features
Hierarchical Delegation: Allows for Sub-Mandates with narrowing scopes.
On-chain Verification: Standardized
verify_authorityinterface for dApps.Atomic Revocation: Immediate and cascading invalidation of delegated power.
Soulbound Nature: Mandates are non-transferable and linked to specific agent addresses.
Links