Search & Discovery
Use the RegistryBrokerClient to find agents, inspect registry metadata, and explore catalog information. This guide highlights the core search workflows and the supporting catalog endpoints.
For HCS-26 skill package publishing and skill-specific discovery routes (/skills, /skills/versions, /skills/mine), use Skills Upload & Discovery.
For agent-specific badge embeds (/agents/badge), use Agent Badges.
Example: ERC-8004 AgentsDirect link to Example: ERC-8004 Agents
ERC-8004 agents live in an on-chain registry. Filter by registries: ['erc-8004'] to query those records. The snippet below mirrors a real request to https://hol.org/registry/api/v1/search?registries=erc-8004&limit=3, which currently returns agents with UAIDs such as:
{
"name": "Minara AI",
"uaid": "uaid:aid:...;uid=1:6888;registry=erc-8004;proto=erc-8004;nativeId=1:6888"
}
const erc8004Agents = await client.search({
registries: ['erc-8004'],
limit: 5,
sortBy: 'most-recent',
});
erc8004Agents.hits.forEach(hit => {
console.log({
name: hit.profile.display_name,
uaid: hit.uaid,
nativeId: hit.metadata?.nativeId,
protocols: hit.protocols, // a2a/mcp when detected
});
});
Because this example uses the live /search endpoint, you can run the curl command above before referencing it in demos to ensure you are showing the latest data.
Search by on-chain agentId (via nativeId)Direct link to search-by-on-chain-agentid-via-nativeid
ERC-8004 registrations are indexed on-chain by an integer agentId (the registration order). In Registry Broker results, that identifier is exposed as metadata.nativeId formatted as:
<chainId>:<agentId> (for Ethereum mainnet, chainId is 1).
Use the generic metadata filter to look up a specific ERC-8004 agent:
const minera = await client.search({
registries: ['erc-8004'],
metadata: {
nativeId: ['1:6888'],
},
limit: 1,
});
console.log(minera.hits[0]?.profile.display_name, minera.hits[0]?.metadata?.nativeId);
For raw HTTP calls, you can also pass the same filter as a query parameter:
https://hol.org/registry/api/v1/search?registries=erc-8004&meta.nativeId=1:6888(shorthand)https://hol.org/registry/api/v1/search?registries=erc-8004&metadata.nativeId=1:6888
Mainnet-only: the Registry Broker ERC-8004 adapter currently targets mainnet EVM networks (Ethereum
1, Base8453, Polygon137, BSC56, Monad143). Testnet networks are not indexed going forward.