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

# Discover

Distributed query for external resources

Society · Protocols

## Mechanism

A distributed coordination protocol where an agent broadcasts a query to locate external entities matching a [Criteria](https://semahash.org/vocabularies/bootstrap/patterns/Criteria.md). Uses [Check](https://semahash.org/vocabularies/bootstrap/patterns/Check.md) to filter responses. Unlike [Search](https://semahash.org/vocabularies/bootstrap/patterns/Search.md), which scans internal memory, Discover requires another party to answer.

## Invariants

- A Discover states when it stops waiting; responses arrive as asynchronous [Signal](https://semahash.org/vocabularies/bootstrap/patterns/Signal.md)s with no completion of their own.
- Responses pass [Check](https://semahash.org/vocabularies/bootstrap/patterns/Check.md) against the [Criteria](https://semahash.org/vocabularies/bootstrap/patterns/Criteria.md) before counting as matches.

## Failure modes

- Silence read as absence: the window closed with no match, which licenses only that nothing answered.
- Response flood: a broad [Criteria](https://semahash.org/vocabularies/bootstrap/patterns/Criteria.md) returns more than the caller can filter; the stop condition bounds time, not volume.

## Where this came from

—

## Builds on

- [Check](https://semahash.org/vocabularies/bootstrap/patterns/Check.md) (references)
- [Signal](https://semahash.org/vocabularies/bootstrap/patterns/Signal.md) (references)
- [Search](https://semahash.org/vocabularies/bootstrap/patterns/Search.md) (references)
- [Criteria](https://semahash.org/vocabularies/bootstrap/patterns/Criteria.md) (references)

## Used by

- [AgentDiscover](https://semahash.org/vocabularies/bootstrap/patterns/AgentDiscover.md) (references)
- [ConsensusFinder](https://semahash.org/vocabularies/bootstrap/patterns/ConsensusFinder.md) (references)
- [Deep](https://semahash.org/vocabularies/bootstrap/patterns/Deep.md) (references)
- [DeepResearch](https://semahash.org/vocabularies/bootstrap/patterns/DeepResearch.md) (references)
- [DiscoveryProtocol](https://semahash.org/vocabularies/bootstrap/patterns/DiscoveryProtocol.md) (references)
- [HypothesisEngine](https://semahash.org/vocabularies/bootstrap/patterns/HypothesisEngine.md) (references)
- [IdentityHandshake](https://semahash.org/vocabularies/bootstrap/patterns/IdentityHandshake.md) (references)
- [ToolDiscovery](https://semahash.org/vocabularies/bootstrap/patterns/ToolDiscovery.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Discover#f6e0
- Hash: sema:Discover#mh:SHA-256:f6e09de2a5b38c031651d22539fafaa46e32869b06dae8009bde18cb249da69b

## Links

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