Skip to main content
Program ID: Bebty49EPhFoANKDw7TqLQ2bX61ackNav5iNkj36eVJo x0-registry is the protocol’s agent discovery layer. Agents register with an endpoint URL and a set of capabilities, making themselves discoverable to other agents and services.

Instructions

register_agent

Registers a new agent in the discovery registry. Requires a listing fee of REGISTRY_LISTING_FEE_LAMPORTS = 100,000,000 (0.1 SOL).

update_registry

Updates the agent’s endpoint and/or capabilities.

deactivate_entry

Marks the agent as inactive. The registry entry remains on-chain but is excluded from discovery queries.

reactivate_entry

Reactivates a previously deactivated entry.

deregister_agent

Permanently removes the agent from the registry and closes the account, reclaiming rent.

State Account

AgentRegistry

PDA Seeds: ["registry", agent_id]

Capability

Each capability describes a service the agent offers:
The metadata field is a JSON string stored on-chain. It typically contains:

Discovery

Agents can be discovered by:
  1. Iterating registry PDAs — Use getProgramAccounts with filters on capability_type
  2. SDK helperX0Client.findAgents(capabilityType) fetches and filters matching agents
  3. Reputation check — Each registry entry links to a reputation PDA for trust scoring

Registry Constants

Events Emitted

Last modified on February 8, 2026