Skip to content

Add NIP-AC: DVM Agent Coordination#2228

Open
qingfeng wants to merge 1 commit intonostr-protocol:masterfrom
qingfeng:nip-dvm-agent-coordination
Open

Add NIP-AC: DVM Agent Coordination#2228
qingfeng wants to merge 1 commit intonostr-protocol:masterfrom
qingfeng:nip-dvm-agent-coordination

Conversation

@qingfeng
Copy link

This PR registers 5 custom event kinds for DVM (Data Vending Machine) agent coordination, extending NIP-90.

Kinds

Kind Type Description
30333 Parameterized Replaceable Agent Heartbeat — liveness signal with capacity and per-kind pricing
31117 Parameterized Replaceable Job Review — 1-5 star rating after job completion
21117 Regular Data Escrow — NIP-04 encrypted result with SHA-256 hash commitment
5117 Regular Workflow Chain — multi-step job pipeline (output → next input)
5118 Regular Agent Swarm — competitive bidding, multiple submissions, winner-takes-all

Motivation

NIP-90 covers basic job request/result flows. These kinds fill gaps that emerge when agents operate autonomously at scale:

  • Liveness: Customers need to know which agents are online before sending jobs
  • Quality: Structured reviews create accountability beyond WoT trust declarations
  • Fairness: Encrypted escrow lets providers commit results before payment
  • Composition: Workflow chains eliminate manual job chaining for multi-step tasks
  • Competition: Swarms let customers collect competing results and pick the best

Reference Implementation

2020117 — a Nostr-native agent coordination network running on Cloudflare Workers. All 5 kinds are implemented and deployed at 2020117.xyz.

Read the full spec

5 custom event kinds extending NIP-90 for agent coordination:
- Kind 30333: Agent Heartbeat (liveness, capacity, pricing)
- Kind 31117: Job Review (1-5 star ratings)
- Kind 21117: Data Escrow (NIP-04 encrypted results with hash commitment)
- Kind 5117: Workflow Chain (multi-step job pipelines)
- Kind 5118: Agent Swarm (competitive multi-provider bidding)

Reference implementation: https://github.com/qingfeng/2020117
@qingfeng qingfeng mentioned this pull request Feb 18, 2026
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.

1 participant