---
library: "bootstrap"
slug: "Card"
name: "Card"
ref: "Card#e4b2"
hash: "sema:Card#mh:SHA-256:e4b2ca76f43a691e7bd7932362512a5e929c62efc6c3d2eb4a9369e5108fa074"
type: "Data Structures"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Card"
---

# Card

Structured capability advertisement: agent_id, endpoint, protocols, capabilities, metadata

Infrastructure · Data Structures

## Mechanism

Structured capability advertisement enabling agent discovery before contact. [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) creates CARD: {agent_id (unique), endpoint (how to reach), protocols[] (compatibility), capabilities[] (what agent claims to do), constraints (availability, rate limits, requirements), metadata (version, ttl, published timestamp)}. [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) PUBLISHES card via registry, broadcast, DHT, or well-known endpoint (mechanism-agnostic). Discovering agents QUERY using [LatentAttachment](https://semahash.org/vocabularies/bootstrap/patterns/LatentAttachment.md) for semantic capability matching alongside exact protocol_match. Query returns ranked CARD list. Discoverer selects promising CARDs, then [Greet](https://semahash.org/vocabularies/bootstrap/patterns/Greet.md)s at card.endpoint to establish channel. CARDs have TTL — agents maintain visibility by PUBLISHING a replacement card before the previous one expires, never by editing the one already issued. CARD capabilities are CLAIMS not proofs: verification happens via [Probe](https://semahash.org/vocabularies/bootstrap/patterns/Probe.md) after GREET establishes channel. It enables discovery via [Select](https://semahash.org/vocabularies/bootstrap/patterns/Select.md) queries against the registry, filtering candidates by capability and protocol compatibility.

## Invariants

- Immutable after issue: a Card is never edited. A change of endpoint, protocol or capability is published as a new Card superseding the old, which is what lets a discoverer tell a current claim from a stale one rather than trusting a mutable record.
- Claims, not proofs: the capabilities a Card advertises are assertions the issuer has not demonstrated. Verification is the discoverer's, via [Probe](https://semahash.org/vocabularies/bootstrap/patterns/Probe.md) after [Greet](https://semahash.org/vocabularies/bootstrap/patterns/Greet.md) opens a channel.

## Parameters

- verification_tier: type=Enum, range={SelfReported, Verified, Bonded}, description=Default: SelfReported

## Failure modes

- Stale CARDs (agent changed capabilities, CARD not updated—TTL mitigates).
- False claims (CARD says X, agent cannot X—PROBE mitigates).
- Registry unavailable (discovery fails—use multiple publication methods).
- CARD spam (fake CARDs pollute discovery—use reputation/filtering).
- Privacy leak (CARD reveals too much about agent—include only necessary info).
- Version skew (CARD protocol version differs from actual—GREET catches this).

## Where this came from

—

## Builds on

- [Select](https://semahash.org/vocabularies/bootstrap/patterns/Select.md) (composes_with)
- [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) (references)
- [LatentAttachment](https://semahash.org/vocabularies/bootstrap/patterns/LatentAttachment.md) (references)
- [Greet](https://semahash.org/vocabularies/bootstrap/patterns/Greet.md) (references)
- [Probe](https://semahash.org/vocabularies/bootstrap/patterns/Probe.md) (references)

## Used by

- [AgentDiscover](https://semahash.org/vocabularies/bootstrap/patterns/AgentDiscover.md) (references)
- [NoiseInjection](https://semahash.org/vocabularies/bootstrap/patterns/NoiseInjection.md) (references)
- [PolymorphicSolver](https://semahash.org/vocabularies/bootstrap/patterns/PolymorphicSolver.md) (references)
- [ToolDiscovery](https://semahash.org/vocabularies/bootstrap/patterns/ToolDiscovery.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Card#e4b2
- Hash: sema:Card#mh:SHA-256:e4b2ca76f43a691e7bd7932362512a5e929c62efc6c3d2eb4a9369e5108fa074

## Links

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