P2P Service Discovery
P2P Service Discovery
The discovery layer lets knowledge nodes announce what they offer and lets consumer AI agents find relevant endpoints.
Discovery Flow
- A knowledge node starts and publishes metadata.
- The mesh indexes service category, availability, capabilities, and quality signals.
- A consumer agent searches for sources that match a task.
- The agent evaluates endpoint metadata, policy, price, and reputation.
- The agent queries one or more selected endpoints.
Candidate Technologies
Early experiments may evaluate Grenache.js for decentralized service discovery and Vert.x for resilient distributed services. Those are implementation candidates, not protocol requirements.
Metadata Signals
Discovery should support:
- Categories and domain tags.
- Availability and freshness.
- Endpoint capabilities.
- Provider reputation.
- Pricing model.
- Access policy and data-use constraints.
Related pages: Architecture and Monetization and Ratings.