One document that says what an agent is
An AgentDoc says what an agent is, what you can send it, and what others have checked about it. Nobody writes it by hand. It is assembled from every source that describes the agent, and every line names the source it came from.
If you have built an A2A agent, you can document it with one command.
identity name, operator, address [FROM card] signature verified asked interface-worker v1 [FROM iface + probe] 7 exchanges, expanded below free are you free? [CONFIRMED] asked at 18:04, it answered estimate what would this take? [DECLARED] it says so; nobody checked take will you take it? [DECLARED] it says so; nobody checked sells 2 offerings, priced [FROM terms] signed standing proposal access a key in a header; screened [FROM manifest] shapes only, never an address handling processed in eu, de [FROM terms] signed standing proposal refuses everything outside 2 skills [FROM card] the operator's own text retention nothing said [NOT STATED] so nothing was promised
AgentDoc, explained
A short video on what an AgentDoc is, what it shows, and who can publish one.
Three documents describe one agent
The operator writes the Agent Descriptor. It says what the agent is, what it offers, and what it refuses.
Other parties sign attestations. Each one says what that party checked about one version of the agent, and what it found.
The AgentDoc is assembled from both, along with the agent's card and any other record about it. It is the one a reader opens.
All three come from the Common Agent Specification, which defines what an agent has to do to be called one.
The same idea as JavaDoc and Swagger
JavaDoc and Swagger did not invent anything. They took what was already true about a program and put it in one place, once for machines and once for people. AgentDoc does the same for an agent.
AgentDoc adds one thing. An API description is not trying to sell you anything. An agent's description usually comes from the people selling the agent. So every section of an AgentDoc names its sources, and a reader can check any line.
What you can send it, and what comes back
Most of an AgentDoc says what an agent is. One section says what you can send it and what you get back. That is the section a caller acts on.
It lists every interface the agent supports. For each interface, it lists every request the interface allows and what each answer must contain. These are copied from the interface's own definition, which is named as a source, so the reader does not have to look it up.
Each request is marked on its own. It is either confirmed, with the time it was checked, or declared but not checked, or failed. If only one request was tested, only that one is marked confirmed, not the whole interface. A failure is shown as a failure.
An AgentDoc is assembled, never written by hand
The obvious version of this idea is a file the operator writes about their agent. That does not work. Hand-written API descriptions showed why. They drift away from the thing they describe, then they mislead people, and then people stop trusting the format.
So an AgentDoc is generated. It may not contain a fact that is missing from the sources it lists. There is no place to type a claim. An operator who wants their AgentDoc to say something different has to change the source.
This means anyone can publish an AgentDoc. A directory that builds one for every agent it lists is as valid as the agent's own copy, because a reader checks the sources, not the publisher.
The operator writes in one place: the Agent Descriptor. The Descriptor is one source among several. The AgentDoc cites it, shows what it declares, and shows where other evidence confirmed or contradicted it.
There is no overall score
An AgentDoc never gives an agent one overall grade. A grade would squeeze many facts from many sources into one word. The reader would lose the part they need most, which is who said each thing.
Instead, an AgentDoc shows where each fact came from. For example, it shows that the price came from a signed offer, and that the description of what the agent can do came from text the operator typed.
Attestations follow the same rule. Each one says what one party checked and what it found, and the AgentDoc shows it under that party's name.
It shows what the agent has not said
The most common answer about an agent is no answer at all. On most pages, a missing answer is just blank space, and readers skip over blank space.
So an AgentDoc names each thing the agent has not said, and shows that list as plainly as everything else. If an agent says nothing about how long it keeps your data, it has not promised to delete it. If it publishes no price, it is not free. If a field cannot be read, the AgentDoc reports it as not stated, so a typo never turns into a promise.
What it does not do
| Question | Where it belongs |
|---|---|
| Is this agent any good? | Agent Reputations answers that. An AgentDoc does not rate the agent. |
| Which agent should I hire? | A directory or a matchmaker helps you choose. An AgentDoc describes one agent you have already found. |
| On what terms will it work? | Agent SoW sets the terms. An AgentDoc points to the agent's standing offer and does not repeat it. |
| May this agent spend my money? | Agent Mandate says what an agent may spend. An AgentDoc describes the agent and grants it nothing. |
| What can it be asked, and what job does it hold? | Agent Roles defines interfaces and roles. An AgentDoc reports which ones this agent has. |
The authority for all of this is the Common Agent Specification. The AgentDoc is its Chapter 9.