NostrAgent: A Decentralized Identity and Delegation Architecture for Sovereign Agentic Systems
Abstract
Autonomous AI agents increasingly act across organizational boundaries on behalf of human operators: they invoke third-party services, delegate subtasks to other agents, and pay for metered resources. Deploying such agents safely requires five capabilities that today live in separate systems: persistent identity, scoped delegation, peer trust, discovery, and payment. Existing approaches root these in centralized authorities or cover only subsets, so authority, trust, and payment fracture exactly where autonomy needs continuity: when a key rotates or a delegation must be revoked. We present NostrAgent, a decentralized architecture that unifies all five over Nostr relays using three custom event kinds: Kind 38100 identity declarations authenticated by BIP340 Schnorr signatures with pre-rotation commitments, Kind 38101 scoped delegation chains whose every hop verifiably narrows granted capabilities, and Kind 38102 peer attestations forming a Sybil-deterrent trust graph, with Lightning HTTP 402 (L402) binding payment to agent identity. Identity remains operator-sovereign without any registration authority; relays are substitutable transport rather than a trust root; and every authorization decision is replayable offline from signed events. We evaluate a Python prototype with a mixed-method design: ATAM quality analysis with a two-round mini-Delphi panel, STRIDE threat modeling across three trust boundaries, eleven benchmarks with non-parametric statistics, and 19 failure modes. Results show sub-millisecond offline verification, linear delegation-chain scaling, and Lightning-settled L402 at 157 ms median on regtest. 17 of 19 failure modes pass empirically, one is bounded analytically, and one is disclosed as an architectural limitation. NostrAgent demonstrates an auditable prototype substrate for trustworthy agentic systems without centralized trust roots.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI, cs.MA
- Comments
- 22 pages, 3 figures, 8 tables. Accepted as a peer-reviewed Full Paper at the AIPAA special session of the 2nd International Conference on Agentic and Generative Techniques in Intelligent Computational Systems (AGENTICS 2026), Angers, France, 28-30 October 2026, part of IJCCI 2026, and for publication in the Springer CCIS proceedings. This is the author's accepted manuscript
Related papers
Does Training-Free Delegation Improve Cost Efficiency in Multi-Agent Software Engineering Systems? An Empirical Study
Shared title terminologycs.SEMootez Saad, Mohammad Masudur Rahman, Tushar Sharma
Horizontal Models, Vertical Systems: A Position on Where Domain Knowledge Belongs in Enterprise Agents
Shared title terminologycs.SELuciano Lucindo Chaves
Identical Runs, Different Results: Benchmarking AI Coding Agents on Open-Weight Models
Shared title terminologycs.SEEduardo Ariño de la Rubia, Szilard Pafka
AsynCodeBench: Benchmarking Collaboration of Asynchronous Multi-Agent Systems in Software Engineering
Shared title terminologycs.SEKaituo Zhang, Zhen Xiong, Zhimeng Jiang et al.
VReAct: Verification as an Architectural Layer for LLM Agents: A V-Model Design, and a Pilot Study of Its Deterministic Core
Shared title terminologycs.SEAli Afoud, Jie JW Wu
FairTest: Search-Based Fairness Testing for Multi-Agent Reinforcement Learning Systems
Shared title terminologycs.SEXiaotong Wang, Xuan Xie