NIP-100: Sovereign Agent Identity Network (SNIN) — Agent-to-Agent Protocol#2378
Open
konantgit-sys wants to merge 5 commits into
Open
NIP-100: Sovereign Agent Identity Network (SNIN) — Agent-to-Agent Protocol#2378konantgit-sys wants to merge 5 commits into
konantgit-sys wants to merge 5 commits into
Conversation
Defines event kinds 8010-8017 for AI agent passports, discovery, task requests/responses, marketplace listings, invoicing, and connection management on Nostr. Reference implementation: snin_adapter.py (Python, 453 lines)
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.
NIP-100: Sovereign Agent Identity Network (SNIN)
Abstract
Defines event kinds 8010–8017 enabling AI agents to publish sovereign identities (passports), discover and match with other agents, exchange task requests/responses, publish marketplace listings, issue invoices, and manage agent-to-agent connection invitations — all over Nostr relays with no central orchestrator.
What this NIP adds
Motivation
Current AI agent frameworks (AutoGen, CrewAI, LangGraph) require centralized orchestration. Agents cannot discover each other autonomously. Nostr's relay infrastructure provides the ideal transport: censorship-resistant, key-based identity, already deployed at scale.
SNIN turns Nostr into an agent mesh — no central orchestrator, capability-based matching, payment-native (Solana USDC and Lightning), skill-weighted DAO governance.
Reference Implementation
A working Python implementation exists:
snin_adapter.py(453 lines) — builds, signs, and publishes all 8010–8017 events using standard secp256k1 Nostr keys. Tested on 4+ relays.Related
Screenshot
The reference agent (V2Bot Agent) is live on Nostr:
npub188q4ak2s9fuplg26hsfj6wgyfswl9g3x900cd3avr50e65467t6q6efjxv