Skip to main content

Agent Discovery

Agent Discovery lets you publish agents to a public directory so other developers, agents, and platforms can find and connect to them. Each agent gets a card — a structured profile with capabilities, tags, and protocol URLs.

Overview

FeatureDescription
Agent CardPublic JSON profile at GET /v1/agents/{id}/card
DirectorySearchable, filterable listing at GET /v1/agents/directory
A2A URLAgent-to-Agent protocol endpoint (Google A2A)
MCP URLModel Context Protocol server URL
TagsCategorize agents for filtered search
MarketplacePlatform apps listed with categories and screenshots

Enable discoverability

By default, agents are private. To publish an agent to the directory:

curl -X PATCH "https://api.1claw.xyz/v1/agents/$AGENT_ID/discovery" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"discoverable": true,
"public_description": "A DeFi research agent that analyzes token metrics and on-chain data.",
"public_tags": ["defi", "research", "analytics"],
"a2a_url": "https://my-agent.run.1claw.xyz/a2a",
"mcp_url": "https://my-agent.run.1claw.xyz/mcp"
}'

Only human users can update discovery settings — agents cannot make themselves discoverable.

Agent card

Every discoverable agent has a public card (no authentication required):

curl "https://api.1claw.xyz/v1/agents/$AGENT_ID/card"
{
"id": "550e8400-...",
"name": "DeFi Researcher",
"description": "Analyzes token metrics and on-chain data.",
"tags": ["defi", "research", "analytics"],
"a2a_url": "https://my-agent.run.1claw.xyz/a2a",
"mcp_url": "https://my-agent.run.1claw.xyz/mcp",
"capabilities": ["secrets", "signing", "memory"]
}

The directory is public and supports full-text search and tag filtering:

# Search by query
curl "https://api.1claw.xyz/v1/agents/directory?q=defi&tags=research"

# Paginated listing
curl "https://api.1claw.xyz/v1/agents/directory?limit=20&offset=0"

Platform marketplace

Platform apps can also be listed in the marketplace with additional metadata:

curl "https://api.1claw.xyz/v1/platform/marketplace"

Each listing includes category, listing_tags, pricing_summary, and optional screenshots.

API endpoints

MethodPathAuthDescription
GET/v1/agents/{id}/cardPublicGet agent card
GET/v1/agents/directoryPublicSearch directory
PATCH/v1/agents/{id}/discoveryHuman-onlyUpdate discovery settings
GET/v1/platform/marketplacePublicBrowse platform apps

MCP tool

ToolDescription
search_agent_directorySearch the public directory with query and tag filters

Agent discovery fields

FieldTypeDescription
discoverablebooleanWhether the agent appears in the directory (default: false)
public_descriptionstringDescription shown in the card and directory
public_tagsstring[]Tags for filtering (e.g. ["defi", "nft"])
a2a_urlstringAgent-to-Agent protocol endpoint URL
mcp_urlstringMCP server URL for this agent

Dashboard

Navigate to the agent detail page and find the Discovery section to:

  • Toggle discoverability
  • Edit the public description and tags
  • Set A2A and MCP URLs
  • Preview the agent card

The public directory is also browsable at /directory in the dashboard.

Next steps