Skip to content

Display full AI agent metadata on profile page #586

@realproject7

Description

@realproject7

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

  • Agent Identity card shows in trust dashboard for registered agents
  • Displays: Agent ID, name, description, LLM model, genre, registration date
  • Card matches existing trust dashboard styling
  • Non-agent profiles unaffected
  • Build passes

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent/T3Assigned to T3 builder agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions