Register an existing Core asset in the Metaplex Agent Registry
register_agent_identityRegister an existing Metaplex Core asset as an on-chain agent by writing its EIP-8004 identity document and creating a PDA, making it appear on metaplex.com/agents. Preview without spending until confirmed.
Instructions
Give an ALREADY-MINTED Metaplex Core asset its Agent Identity: writes the EIP-8004 registration document (as a self-contained data: URI) onto the asset and creates its identity PDA, after which it appears on metaplex.com/agents. The signing wallet must be the asset authority (or the collection authority for collection-bound assets). Registration is one-time per asset and costs ~0.003 SOL; an already-registered asset returns already_registered without spending. Without confirm:true it returns a spend-nothing preview. To mint a NEW agent, use mint_onchain_agent or prepare_agent_mint instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Agent name for the registration document. | |
| asset | Yes | The Core asset address to register. | |
| image | No | Thumbnail image URL. | |
| active | No | Registration active flag. Default true. | |
| secret | No | Per-call signing key. Overrides SOLANA_SECRET_KEY. | |
| confirm | No | Must be true to broadcast. Anything else returns a preview. | |
| network | No | Cluster. Defaults to the configured network. | |
| services | No | Services the agent offers. | |
| model_url | No | 3D model URL (GLB), written as model.uri. | |
| collection | No | The collection address, required for collection-bound assets. | |
| description | No | Agent description. | |
| x402_support | No | Advertise x402 payment support. Default false. | |
| registrations | No | External registry entries. Defaults to the chain registry entry. | |
| supported_trust | No | Default ['reputation']. | |
| registration_uri | No | Full override for the registration URI (https or data:). | |
| threews_agent_id | No | three.ws agent UUID for the Genesis-exact three.ws registration entry. |