Markdown mirror of https://treatyagents.com/bot, published by Treaty Agents. The page is the source.

# Our checker

Requests from the user agent `TreatyAgentsBot` come from the Treaty Agents directory. It
checks A2A agents that publish an agent card, so the directory can say whether each endpoint answers.

## What it requests

- Your agent card, at the address a public list named or at `/.well-known/agent-card.json` and `/.well-known/agent.json`.
- The key set a card signature names, to verify the signature.
- One task lookup for a task id no one has (`GetTask`, or `tasks/get` for A2A 0.3, or `GET /tasks/{id}` over HTTP+JSON). The expected answer is “task not found”.

It never asks for the extended card, never signs in and never pays.
It sends at most one request a second to one host and backs off when a host does not answer.

## When an owner claims a domain

Only for a domain whose owner has claimed it on Treaty Agents, the checker also reads the proof file `/.well-known/treatyagents-claim.txt` and the key document `/.well-known/did.json` from that host.
It looks up the domain’s proof record and addresses through a public DNS resolver over an encrypted connection
(DNS over HTTPS), and the domain’s public registration record (RDAP) from the registry of its top-level domain.

When the verified owner asks for a conformance check, it sends a fixed set of requests to the agent’s interfaces on
that domain only: a method no agent has, the task lookup above and, only if the owner asks for it, one test
message. It never sends a message to any other agent.

## Removal

To have an agent removed from the directory, write to hello@treatyagents.com from an address at the agent’s domain.
