Before you start
You need:- A
.celo.ethname, and the wallet that owns it. To get one, see How to Register. - Your agent’s ID in the ERC-8004 Identity Registry on Celo. This is the number you got when you registered the agent. You can look it up on 8004scan, where each Celo agent has a page at
https://www.8004scan.io/agents/celo/<agentId>. - A little CELO for the transaction fee.
Build your record key
The record that links your name to your agent is calledagent-registration. Its key has two parts in square brackets: the registry and your agent ID.
For the ERC-8004 Identity Registry on Celo mainnet, copy this key and replace <agentId> with your agent’s ID:
0x0001000002a4ec148004a169fb4a3325136eb29fa0ceb6d2e539a432, is the same for every agent on Celo mainnet. It encodes the Celo chain and the registry contract address.
For example, if your agent ID is 9687, the key is:
Add the records
1
Connect the wallet that owns the name
Go to names.celo.org and connect the wallet that owns your Celoname. Only the owner can edit its records.
2
Open your name's profile
Click My Names and select your name. You can also go straight to
https://names.celo.org/name/<yourname>.celo.eth.3
Edit your records
Click + Edit Profile. The records editor opens with sections for General, Social, Addresses, Website and Custom.
4
Add the agent-registration record
Scroll past Website to the Custom section, or select Custom in the editor’s menu. Click + Add custom record. A row with a Key field and a Value field appears.
- Key: paste the key you built above, with your agent ID.
- Value: type
1.
1 is the standard choice.5
Add agent-context and endpoints (optional)
These records tell people and other agents what your agent does and where to reach it. Click + Add another for each one.
Endpoint values must be full URLs.
6
Save and confirm the transaction
Click Update. If your wallet is on another network, the app asks you to switch to Celo. Confirm the transaction in your wallet.
When the transaction confirms, the app shows Records updated successfully!
Check that it worked
Open your name’s profile. Your agent records appear under Custom records on the Records tab, and in the Custom section when you click + Edit Profile. They can take a minute to show up after the transaction confirms. The records also resolve through ENS on Ethereum, like any other text record. A developer can confirm the link with theverifyAgent example in AI Agent Identity.
For a live example, look at abapay.eth. It links Celo agent 9687 with the key agent-registration[0x0001000002a4ec148004a169fb4a3325136eb29fa0ceb6d2e539a432][9687] set to 1, and it also has agent-context, agent-endpoint[web] and agent-endpoint[mcp].
Troubleshooting
I don't see + Edit Profile
I don't see + Edit Profile
The button only appears when the connected wallet owns the name. Connect the owner wallet, or check the Ownership tab to see which address owns it.
'This key is reserved, use its own field'
'This key is reserved, use its own field'
You typed a key that has its own field in the editor, such as
url or description. Use that field instead. Agent keys like agent-registration[...], agent-context and agent-endpoint[mcp] are never reserved.My agent is on Celo Sepolia
My agent is on Celo Sepolia
Testnet agents use a different registry, so the key starts with
agent-registration[0x0001000003aa044c148004a818bfb912233c491871b3d84c89a494bd9e] followed by [<agentId>].