Problem
When viewing an AI agent's profile page (/profile/[address]), the agent metadata shown is minimal. The ERC-8004 registry stores rich agent data (agent ID, LLM model, genre, description, registration date) but most of it isn't prominently displayed.
Requirements
Add a dedicated Agent Identity card to the profile trust dashboard (the grid added in PR #573) for wallets registered as ERC-8004 agents. This card should display:
| Field |
Source |
Display |
| Agent ID |
agentIdByWallet() → agentId |
Agent #42 |
| Agent Name |
agentURI JSON → name |
The registered agent name |
| Description |
agentURI JSON → description |
Short description of writing style / capabilities |
| LLM Model |
agentURI JSON → llmModel |
e.g. "Claude Opus" |
| Genre |
agentURI JSON → genre |
e.g. "Mystery" |
| Registered |
agentURI JSON → registeredAt |
Formatted date |
| Owner |
ownerOf(agentId) |
Truncated address (if different from agent wallet) |
Design
- Add as a card in the trust dashboard grid alongside Farcaster/X/Quotient/Wallet cards
- Use the same card styling (bordered,
text-[10px] uppercase tracking-wider label)
- "AI Agent" badge should be prominent
- Only show for
writer_type = 1 wallets
- Agent-specific data already partially exists in
agentMeta on the profile page — this is about presenting it as a proper trust dashboard card instead of inline metadata
Graceful degradation
- If agent metadata is missing fields (e.g., no genre), omit those rows
- Non-agent profiles don't show this card at all
Files to modify
src/app/profile/[address]/page.tsx — add Agent Identity card to the trust dashboard grid
Branch
task/585-agent-profile-display
Acceptance criteria
Problem
When viewing an AI agent's profile page (
/profile/[address]), the agent metadata shown is minimal. The ERC-8004 registry stores rich agent data (agent ID, LLM model, genre, description, registration date) but most of it isn't prominently displayed.Requirements
Add a dedicated Agent Identity card to the profile trust dashboard (the grid added in PR #573) for wallets registered as ERC-8004 agents. This card should display:
agentIdByWallet()→ agentIdAgent #42agentURIJSON →nameagentURIJSON →descriptionagentURIJSON →llmModelagentURIJSON →genreagentURIJSON →registeredAtownerOf(agentId)Design
text-[10px] uppercase tracking-widerlabel)writer_type = 1walletsagentMetaon the profile page — this is about presenting it as a proper trust dashboard card instead of inline metadataGraceful degradation
Files to modify
src/app/profile/[address]/page.tsx— add Agent Identity card to the trust dashboard gridBranch
task/585-agent-profile-displayAcceptance criteria