---
library: "bootstrap"
slug: "AgentDiscover"
name: "AgentDiscover"
ref: "AgentDiscover#b784"
hash: "sema:AgentDiscover#mh:SHA-256:b784015934d1ccca13707ea806a03a3c7951a8de87bdd7a5c7a1d8bd5d93ce5e"
type: "Protocols"
layer: "Society"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/AgentDiscover"
---

# AgentDiscover

Advertise capabilities and discover collaborating agents

Society · Protocols

## Mechanism

Macro for [Discover](https://semahash.org/vocabularies/bootstrap/patterns/Discover.md)([Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md)). A protocol for agents to advertise their capabilities and discover other agents dynamically. Each agent publishes a capability [Card](https://semahash.org/vocabularies/bootstrap/patterns/Card.md) describing what it can do, its input/output schemas, and trust requirements. Agents query a registry (or broadcast) to find collaborators for subtasks. Enables dynamic multi-agent composition without hardcoded agent references. It instantiates the abstract [Discover](https://semahash.org/vocabularies/bootstrap/patterns/Discover.md) primitive on the [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) type, specifically querying capability registries rather than passive data stores.

## Invariants

- Discovery protocol must be public/standard
- No sensitive state leaked during handshake

## Signature

- Discover(Agent)

## Preconditions

- Broadcast capability
- Listener on known channel

## Postconditions

- [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) ID and capabilities exchanged

## Failure modes

- Capability Inflation: Agents over-claiming abilities.
- Discovery Spam: Too many irrelevant agents matching queries.
- Trust Bootstrap: No basis for trusting newly discovered agents.

## Where this came from

—

## Builds on

- [Card](https://semahash.org/vocabularies/bootstrap/patterns/Card.md) (references)
- [Discover](https://semahash.org/vocabularies/bootstrap/patterns/Discover.md) (references)
- [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: AgentDiscover#b784
- Hash: sema:AgentDiscover#mh:SHA-256:b784015934d1ccca13707ea806a03a3c7951a8de87bdd7a5c7a1d8bd5d93ce5e

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/AgentDiscover
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/AgentDiscover.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
