Skip to content

Hierarchical Mandate Tokens for Autonomous Agent Authority (SEP Draft)#1926

Open
devfelipenunes wants to merge 11 commits into
stellar:masterfrom
devfelipenunes:sep-mandate-authority
Open

Hierarchical Mandate Tokens for Autonomous Agent Authority (SEP Draft)#1926
devfelipenunes wants to merge 11 commits into
stellar:masterfrom
devfelipenunes:sep-mandate-authority

Conversation

@devfelipenunes
Copy link
Copy Markdown

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_authority interface for dApps.
Atomic Revocation: Immediate and cascading invalidation of delegated power.
Soulbound Nature: Mandates are non-transferable and linked to specific agent addresses.

Links

Copilot AI review requested due to automatic review settings May 4, 2026 19:48
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment thread ecosystem/sep_mandate_authority.md Outdated
Comment thread ecosystem/sep-mandate.md Outdated
Comment thread ecosystem/sep-mandate.md Outdated
Comment thread ecosystem/sep_mandate_authority.md Outdated
Comment thread ecosystem/sep_mandate_authority.md Outdated
Comment thread ecosystem/sep-mandate.md Outdated
Comment thread ecosystem/sep_mandate_authority.md Outdated
Comment thread ecosystem/sep_mandate_authority.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@devfelipenunes
Copy link
Copy Markdown
Author

@copilot apply changes based on the comments in this thread

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 2 changed files in this pull request and generated 6 comments.

Comment thread ecosystem/sep_mandate_authority.md Outdated
Comment thread ecosystem/sep_mandate_authority.md
Comment thread ecosystem/sep_mandate_authority.md Outdated
Comment thread ecosystem/sep_mandate_authority.md Outdated
Comment thread ecosystem/sep_mandate_authority.md Outdated
Comment thread ecosystem/sep_mandate_authority.md
devfelipenunes and others added 3 commits May 4, 2026 20:37
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.
Copy link
Copy Markdown
Author

@devfelipenunes devfelipenunes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check

@devfelipenunes
Copy link
Copy Markdown
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants