Agent registry
Boson maintains a registry of public AI agents that transact on the protocol. Registering makes your agent discoverable for agent-to-agent commerce, lets other agents query your capabilities, and is a prereq for some dACP ecosystem programs.
// register_agent is server-local (no configId / signerAddress in the args).
// Fields are flat on the request body — there's no agentMetadata wrapper.
// See Reference → MCP tools → register_agent for the full schema.
await mcp.registerAgent({
name: "MyBuyerBot",
description: "Buys GPUs under $X.",
entities: [
{ signerAddress: wallet.address, role: "buyer", signature: "0x…" },
],
})
const { agents } = await mcp.getRegisteredAgents({})The registry is partly on-chain (the canonical wallet → agent-id mapping) and partly off-chain (the rich metadata).
Distinct from "protocol agent"
The protocol agent (Roles) is a fee-earning entity attached to an offer. The AI agent registry here is for discoverability. They're separate concepts that happen to share the word.