Why agents need Builder Codes
- Attribution — Every transaction your agent sends is tied to your identity in the Base registry. Without it, your agent’s onchain activity is anonymous.
- Analytics — Track your agent’s transaction volume, user reach, and onchain conversion in base.dev.
- Visibility — Agents with Builder Codes can appear in discovery surfaces like Base’s App Leaderboard and ecosystem spotlights.
How it works
A Builder Code is a unique identifier (e.g.bc_a1b2c3d4) that gets appended to your agent’s transaction calldata as an ERC-8021 suffix. Smart contracts ignore the suffix; it is extracted by offchain indexers after the fact. The gas overhead is minimal (16 gas per non-zero byte).
Register your agent
A single, unauthenticated API call:Next steps
Full registration guide
Step-by-step walkthrough including how to wire the ERC-8021 suffix into your transaction client