-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Add "My Agents" Page
Description
Create a dedicated "My Agents" page (/my-agents) that displays all agents owned by the currently connected wallet address, providing an easy way for users to view and manage their agents.
Requirements
- Route:
/my-agentspage - Agent listing:
- Fetch agents owned by connected wallet using SDK's
searchAgents({ owners: [walletAddress] }) - Support multi-chain search (show agents from all chains by default, or allow filtering)
- Display agents using existing
AgentCardcomponent (consistent with search page) - Support both card and table view modes (reuse view toggle from search page)
- Fetch agents owned by connected wallet using SDK's
- Empty state: Show friendly message when user owns no agents, with link to create agent
- Loading states: Show loading skeletons while fetching
- Navigation:
- Click agent cards to navigate to agent detail page (
/agents/[agentId]) - Add navigation link in Header component
- Click agent cards to navigate to agent detail page (
- Error handling: Handle errors gracefully (network errors, SDK errors, etc.)
- Pagination: Support pagination if user owns many agents
Technical Notes
- Use Agent0 SDK's
searchAgents()method withownersfilter - Reuse existing components:
AgentCardfrom@/components/agent/AgentCard- View mode toggle (card/table) similar to search page
- Loading skeletons
- Add "My Agents" link to Header navigation
- Should work with same wallet connection state as admin area
Potential Sub-issues
- Wallet connection integration for My Agents page
- Agent listing with multi-chain support
- Empty state and error handling
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request