Metaplex Agent Registry
v0.2.1Deploy AI agents on-chain on Solana with an EIP-8004 identity.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
mint_onchain_agent Mint an on-chain agent into the Metaplex Agent Registry
Deploy an AI agent on-chain, Genesis-333 style: mints a Metaplex Core asset (data: URI metadata, verified creator, royalties, immutable metadata) AND registers its EIP-8004 Agent Identity, so it appears on metaplex.com/agents with its own built-in wallet. Runs as ONE atomic transaction when it fits Solana's 1232-byte limit, otherwise as create followed by register (how the Genesis 333 landed). Signs with the configured SOLANA_SECRET_KEY (or a per-call secret) and spends ~0.007 SOL in rent + fees, plus a flat SOL deploy fee on mainnet that funds $THREE buybacks (holding $THREE halves it, then w…
| Parameter | Type | Description |
|---|---|---|
name * | string | Agent name. Becomes the Core asset name and the registration name. |
active | boolean | Registration active flag. Default true. |
add_blocker | boolean | Attach AddBlocker so no further plugins can be added. Default false. |
attributes | array | On-chain Attributes plugin entries (real bytes in the asset account). |
collection | Mint into this Metaplex Core collection. The signer must be the collection authority. | |
confirm | boolean | Must be true to broadcast. Anything else returns a spend-nothing preview. |
description | string | What this agent is or does. Stored in the EIP-8004 registration document. |
external_url | string | Optional external_url in the asset metadata (e.g. the agent home page). |
image | string | Thumbnail/avatar image URL (PNG or similar). Shown on metaplex.com/agents, wallets, and explorers. |
immutable_metadata | boolean | Attach the ImmutableMetadata plugin so the metadata can never change. Default true (Genesis style). |
metadata_attributes | array | Off-chain attributes array inside the asset metadata JSON (trait_type/value pairs). |
metadata_uri | string | Full override for the asset metadata URI (https or data:). Skips the built-in metadata builder. |
model_url | string | 3D model URL (GLB). Written as the asset metadata animation_url and as model.uri in the registration, Genesis style. |
network | string | Solana cluster. Defaults to the configured network (mainnet unless overridden). |
owner | string | Mint the asset to this owner instead of the signing wallet. |
permanent_burn | boolean | Attach PermanentBurnDelegate. Default false. |
permanent_freeze | boolean | Attach PermanentFreezeDelegate (unfrozen). Default false. |
permanent_transfer | boolean | Attach PermanentTransferDelegate. Default false. |
registration_uri | string | Full override for the Agent Identity registration URI (https or data:). Skips the built-in registration builder. |
registrations | array | External registry registrations. Defaults to the chain registry entry, or the three.ws entry when threews_agent_id is set. |
royalty_basis_points | integer | Royalty in basis points. Default 500 (5%), the Genesis value. 0 removes the Royalties plugin. |
royalty_creators | array | Royalty split. Percentages must sum to 100. Defaults to the signing wallet at 100%. |
secret | string | Per-call signing key (base58 secret key or JSON byte array). Overrides SOLANA_SECRET_KEY. |
services | array | Services the agent offers, listed on its Metaplex agent page ({name, endpoint}). |
supported_trust | array | Trust models the agent supports. Default ['reputation'] (Genesis style). |
threews_agent_id | string | three.ws agent UUID. Adds the Genesis-exact registration entry {agentId, agentRegistry: "https://three.ws"}. |
verified_creator | boolean | Attach the VerifiedCreators plugin with the signing wallet verified. Default true (Genesis style). |
x402_support | boolean | Advertise x402 payment support in the registration document. Default false. |
prepare_agent_mint Prepare an agent mint for a Phantom/Solflare wallet to sign
Build the exact Genesis-style mint+register flow (Metaplex Core asset + Agent Identity) for an EXTERNAL Solana wallet: Phantom, Solflare, Backpack, Ledger, anything. Needs no secret key. Returns unsigned transactions base64 in txs_base64 (already co-signed by the new asset keypair) with `wallet` as the fee payer: one atomic tx when it fits Solana's size limit, else create + register to sign together via signAllTransactions. The wallet signs and broadcasts, or hands the signed array to send_signed_transaction. Includes the same mainnet deploy fee as mint_onchain_agent, priced against the wallet…
| Parameter | Type | Description |
|---|---|---|
name * | string | Agent name. Becomes the Core asset name and the registration name. |
wallet * | string | The base58 address of the wallet that will sign, pay, and own the agent. |
active | boolean | Registration active flag. Default true. |
add_blocker | boolean | Attach AddBlocker so no further plugins can be added. Default false. |
attributes | array | On-chain Attributes plugin entries (real bytes in the asset account). |
collection | Mint into this Metaplex Core collection. The signer must be the collection authority. | |
description | string | What this agent is or does. Stored in the EIP-8004 registration document. |
external_url | string | Optional external_url in the asset metadata (e.g. the agent home page). |
image | string | Thumbnail/avatar image URL (PNG or similar). Shown on metaplex.com/agents, wallets, and explorers. |
immutable_metadata | boolean | Attach the ImmutableMetadata plugin so the metadata can never change. Default true (Genesis style). |
metadata_attributes | array | Off-chain attributes array inside the asset metadata JSON (trait_type/value pairs). |
metadata_uri | string | Full override for the asset metadata URI (https or data:). Skips the built-in metadata builder. |
model_url | string | 3D model URL (GLB). Written as the asset metadata animation_url and as model.uri in the registration, Genesis style. |
network | string | Solana cluster. Defaults to the configured network (mainnet unless overridden). |
owner | string | Mint the asset to this owner instead of the signing wallet. |
permanent_burn | boolean | Attach PermanentBurnDelegate. Default false. |
permanent_freeze | boolean | Attach PermanentFreezeDelegate (unfrozen). Default false. |
permanent_transfer | boolean | Attach PermanentTransferDelegate. Default false. |
registration_uri | string | Full override for the Agent Identity registration URI (https or data:). Skips the built-in registration builder. |
registrations | array | External registry registrations. Defaults to the chain registry entry, or the three.ws entry when threews_agent_id is set. |
royalty_basis_points | integer | Royalty in basis points. Default 500 (5%), the Genesis value. 0 removes the Royalties plugin. |
royalty_creators | array | Royalty split. Percentages must sum to 100. Defaults to the signing wallet at 100%. |
services | array | Services the agent offers, listed on its Metaplex agent page ({name, endpoint}). |
supported_trust | array | Trust models the agent supports. Default ['reputation'] (Genesis style). |
threews_agent_id | string | three.ws agent UUID. Adds the Genesis-exact registration entry {agentId, agentRegistry: "https://three.ws"}. |
verified_creator | boolean | Attach the VerifiedCreators plugin with the signing wallet verified. Default true (Genesis style). |
x402_support | boolean | Advertise x402 payment support in the registration document. Default false. |
send_signed_transaction Broadcast signed Solana transactions in order and confirm them
Broadcast one or more fully signed Solana transactions (base64) IN ORDER, polling each to confirmation before the next. Use it to complete the prepare_agent_mint flow: pass the wallet-signed txs_base64 array and the create/register sequencing (including the propagation race) is handled. Whatever the transactions do on-chain happens for real, so only send bytes you built and inspected.
| Parameter | Type | Description |
|---|---|---|
network | string | Cluster to broadcast on. Defaults to the configured network. |
tx_base64 | string | A single fully signed transaction, base64 encoded. |
txs_base64 | array | Fully signed transactions to broadcast in order (e.g. create then register). |
register_agent_identity Register an existing Core asset in the Metaplex Agent Registry
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.
| Parameter | Type | Description |
|---|---|---|
asset * | string | The Core asset address to register. |
name * | string | Agent name for the registration document. |
active | boolean | Registration active flag. Default true. |
collection | string | The collection address, required for collection-bound assets. |
confirm | boolean | Must be true to broadcast. Anything else returns a preview. |
description | string | Agent description. |
image | string | Thumbnail image URL. |
model_url | string | 3D model URL (GLB), written as model.uri. |
network | string | Cluster. Defaults to the configured network. |
registration_uri | string | Full override for the registration URI (https or data:). |
registrations | array | External registry entries. Defaults to the chain registry entry. |
secret | string | Per-call signing key. Overrides SOLANA_SECRET_KEY. |
services | array | Services the agent offers. |
supported_trust | array | Default ['reputation']. |
threews_agent_id | string | three.ws agent UUID for the Genesis-exact three.ws registration entry. |
x402_support | boolean | Advertise x402 payment support. Default false. |
get_onchain_agent Read an on-chain agent (asset, registration, wallet)
Fetch a Metaplex Agent Registry agent by its Core asset address: name, owner, update authority, plugins (royalties, verified creators, immutable metadata, attributes), the decoded asset metadata and EIP-8004 registration documents, whether the identity PDA exists, and the built-in agent wallet (Asset Signer PDA) with its live SOL balance. Read-only. Works on any registered agent, e.g. the three.ws Genesis mints.
| Parameter | Type | Description |
|---|---|---|
asset * | string | The Core asset address (base58). |
network | string | Cluster. Defaults to the configured network. |
agent_wallet An agent's built-in wallet, or the signer wallet, with balance
Show a wallet address and its live SOL balance. Pass `asset` to derive an on-chain agent's built-in wallet (the Metaplex Core Asset Signer PDA, the wallet shown on metaplex.com/agents). Pass `address` to inspect any wallet. Pass neither to see the configured signing wallet, e.g. to confirm it is funded before mint_onchain_agent. On mainnet it also reports the wallet $THREE balance and the deploy-fee tier that balance earns (see three_status). Read-only; never moves funds.
| Parameter | Type | Description |
|---|---|---|
address | string | A wallet address to inspect verbatim. |
asset | string | A Core asset address: derives that agent's built-in wallet. |
network | string | Cluster. Defaults to the configured network. |
build_registration Build an EIP-8004 registration document (no chain access)
Build the Genesis-style EIP-8004 registration-v1 JSON document and its self-contained data:application/json;base64 URI, without touching Solana. Use it to preview exactly what mint_onchain_agent / register_agent_identity will write on-chain, or to host the document yourself and pass it back as registration_uri.
| Parameter | Type | Description |
|---|---|---|
name * | string | Agent name. |
active | boolean | Registration active flag. Default true. |
asset | string | Asset address for the default chain-registry entry when no registrations are given. |
description | string | Agent description. |
image | string | Thumbnail image URL. |
model_url | string | 3D model URL (GLB), written as model.uri. |
network | string | Network for the default chain-registry entry. Defaults to the configured network. |
registrations | array | External registry entries. |
services | array | Services the agent offers. |
supported_trust | array | Default ['reputation']. |
threews_agent_id | string | three.ws agent UUID for the Genesis-exact three.ws entry. |
x402_support | boolean | Advertise x402 payment support. Default false. |
list_onchain_agents List the latest on-chain agent registrations
The latest agents to land on-chain in the Metaplex Agent Registry, newest first, from the live three.ws /api/deployments feed (which also indexes registrations minted outside three.ws). Each entry carries the Core asset address, name, description, image, owner, 3D and x402 flags, and explorer links. Set all_chains:true to include EVM ERC-8004 registrations in the same stream. Read-only.
| Parameter | Type | Description |
|---|---|---|
all_chains | boolean | Include EVM ERC-8004 registrations too. Default false (Solana only). |
cursor | string | Pagination cursor from a previous call. |
limit | integer | How many registrations to return. Default 12. |
network | string | Solana cluster. Defaults to the configured network. |
three_status Deploy fee, $THREE holder tier, and the live buyback ledger
What the next on-chain deploy costs and why. Returns the deploy-fee schedule (a flat SOL fee on mainnet, free on devnet), the live $THREE balance of a wallet and the tier it earns (half price, then free), the wallet the fee is paid to, and the live $THREE market + buyback figures from the public three.ws ledger. Pass `wallet` to price a specific payer, or omit it to price the configured signer. Read-only: it moves nothing and needs no key.
| Parameter | Type | Description |
|---|---|---|
network | string | Cluster. Defaults to the configured network. Devnet deploys are always free. |
wallet | string | Price the deploy fee for this wallet. Defaults to the configured signer. |