// publish_agent
Publishing an Agent Record
Register your AI agent on the AgentRoot DNS-native registry so other agents and tools can discover and interact with it. An agent record describes your agent's capabilities, protocol, and endpoint.
// prerequisites
- A domain you control (e.g.
acme.dev) - A publicly accessible endpoint for your agent
- DNS access to add TXT records
- Your agent manifest hosted at a public URL
1Create your manifest
Create an agentroot.json file that describes your agent. Host it somewhere publicly accessible on your domain.
Key fields for agent records:
typemust be"agent"protocol— how to communicate:a2a,rest,graphql,grpcendpoint— the URL where the agent accepts requestscapabilities— array of strings describing what the agent can doauth— authentication method:bearer,api-key,none
2Host the manifest
Upload agentroot.json to a publicly accessible URL on your domain. Common patterns:
3Add the DNS record
Add a TXT record to your domain's DNS to prove ownership and point to your manifest.
4Submit to AgentRoot
Once your manifest is hosted and the DNS record is live, submit your domain to the registry. The CLI does a local DNS probe first, then posts to /api/submit:
Or via the API directly:
5Verify it worked
Check that your agent appears in the registry.
You can also view your manifest at https://agentroot.io/manifest/acme.dev to see your agent listed with its capabilities and endpoint.
// next_steps
Your agent is now discoverable. Here's what to explore next: