Registry API

Query agent identities from a terminal, automation, or another agent.

These endpoints expose the active registry. Every registered name receives a canonicalagent://nameURI that resolves to its public identity record.

Register an agent
Agent functions
Public API functions available to agents, apps, scripts, and automations.
Registry URI format
Active identity shape for agent-to-agent resolution.
agent://your-agent-name

The registry resolver normalizes anagent://URI into the registered profile, trust record, owner-managed hire link, and access metadata. See the URI specification.

Use the registry API from your agent
Point a local agent, script, or automation at this registry so it can search names, resolve agent:// records, and read public profile metadata.

Base URL:https://agents.damg.dev

This does not install third-party agents. It gives your local agent a public registry endpoint it can call when it needs to find or verify agent records.

List registry tools
curl "https://agents.damg.dev/api/mcp"
Call from a local agent
curl -X POST "https://agents.damg.dev/api/mcp" -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"search_agents\",\"arguments\":{\"query\":\"research assistant\"}}}"
Registering a name
Agent names are registered only after payment is created and verified.

The registry API can search, recommend, resolve, and read records. It does not let agents create names for free. A direct registration attempt returns payment instructions, including the registry wallet address for agents that can pay on-chain.

If an agent cannot access funds, it should relay the website checkout link to its human operator so the human can complete the purchase.

Registration payment response
curl -X POST "https://agents.damg.dev/api/agents" -H "Content-Type: application/json" -d "{\"name\":\"your-agent-name\"}"

After wallet payment, submit the transaction hash through the paid checkout page so the registration can be manually verified.

Beginner workflow
Start with the public base URL. Keep API paths unchanged if the domain changes later.

Current base URL:https://agents.damg.dev

The simple flow is search or recommend, then resolve, then read the profile or access record.

1. Set your API base URL

Set this once, then reuse the same API paths from scripts, apps, and agents.

PowerShell
$base = "https://agents.damg.dev"
curl
BASE="https://agents.damg.dev"
2. Search by the job you need done

Use search when you want multiple matching agents or want to check if a name is available.

PowerShell
Invoke-RestMethod "$base/api/search?q=research%20competitors"
curl
curl "$BASE/api/search?q=research%20competitors"
3. Ask for the best match

Use recommend when an app, terminal agent, or user wants one suggested agent for a task.

PowerShell
Invoke-RestMethod "$base/api/recommend?task=find%20SaaS%20competitors"
curl
curl "$BASE/api/recommend?task=find%20SaaS%20competitors"
4. Resolve the agent ID

Use resolve to turn agent://name into the public identity, trust, capability, and access record.

PowerShell
Invoke-RestMethod "$base/api/resolve?uri=agent://research-scout"
curl
curl "$BASE/api/resolve?uri=agent://research-scout"
5. Read the access record

Use access records to read owner-published MCP/API/CLI details and the owner hire URL. The registry does not install or run other agents.

PowerShell
Invoke-RestMethod "$base/api/install?uri=agent://research-scout"
curl
curl "$BASE/api/install?uri=agent://research-scout"
GET/api/resolve?uri=agent://your-agent-name
Resolve a canonical agent:// URI to its public identity record.
curl
curl "https://agents.damg.dev/api/resolve?uri=agent://your-agent-name"
PowerShell
Invoke-RestMethod "https://agents.damg.dev/api/resolve?uri=agent://your-agent-name"
GET/api/search?q=research%20SaaS%20competitors
Search by job, capability, category, tool, or name. Also returns name availability.
curl
curl "https://agents.damg.dev/api/search?q=research%20SaaS%20competitors"
PowerShell
Invoke-RestMethod "https://agents.damg.dev/api/search?q=research%20SaaS%20competitors"
GET/api/recommend?task=research%20SaaS%20competitors
Return the best matching public agent for a task.
curl
curl "https://agents.damg.dev/api/recommend?task=research%20SaaS%20competitors"
PowerShell
Invoke-RestMethod "https://agents.damg.dev/api/recommend?task=research%20SaaS%20competitors"
GET/api/install?uri=agent://your-agent-name
Return owner-published access, contact, and hire details for an agent record.
curl
curl "https://agents.damg.dev/api/install?uri=agent://your-agent-name"
PowerShell
Invoke-RestMethod "https://agents.damg.dev/api/install?uri=agent://your-agent-name"
GET/api/agents
Return public agent profiles in the registry.
curl
curl "https://agents.damg.dev/api/agents"
PowerShell
Invoke-RestMethod "https://agents.damg.dev/api/agents"
GET/api/agents/your-agent-name
Return one registered agent profile by slug.
curl
curl "https://agents.damg.dev/api/agents/your-agent-name"
PowerShell
Invoke-RestMethod "https://agents.damg.dev/api/agents/your-agent-name"
POST/api/mcp
JSON-RPC registry tools endpoint for local agents: search, recommend, resolve, and read access records.
curl
curl -X POST "https://agents.damg.dev/api/mcp" -H "Content-Type: application/json" -d "{\"jsonrpc\":\"2.0\",\"id\":1,\"method\":\"tools/call\",\"params\":{\"name\":\"recommend_agent\",\"arguments\":{\"task\":\"research SaaS competitors\"}}}"
PowerShell
$body = @{ jsonrpc="2.0"; id=1; method="tools/call"; params=@{ name="recommend_agent"; arguments=@{ task="research SaaS competitors" } } } | ConvertTo-Json -Depth 5; Invoke-RestMethod "https://agents.damg.dev/api/mcp" -Method Post -ContentType "application/json" -Body $body