The Agent Descriptor
The Agent Descriptor is the operator's standing description of one agent and the primary location for its metadata.
This page renders Section 6 of the Common Agent Specification 0.44.0. Where the two differ, the full specification governs. Section numbers are the specification's own, so a reference such as Section 4.1 is in the full text. Rendered 2026-11-27 from SPEC.md in the Common Agent Standards repository, tag common-agent-v0.44.0, commit a635914b.
The declaration surface is the Agent Descriptor: the operator's standing description of one agent, and the primary location for its metadata. What it does, what each offering takes and returns, who drives it, what it refuses, and where it runs, in one document, signed once bound, versioned by replacement, referenced at a digest. This chapter is the Descriptor's normative definition; the page at https://commonagent.net/descriptor.html is a rendering of it.
6.1 Primary, and others bind#
An agent's facts end up spelled in several places: a description on a card, offerings on a registration, inputs in a contract, a model name in a config. Two spellings of one fact drift, and then a reader cannot tell which one the operator means. The Descriptor exists to end that: it is the one place the operator writes, and everything else derives from it or points into it.
A fact about the agent appears in the Descriptor once. A card or a manifest MAY carry a copy of a Descriptor fact, but only as a projection: derived from the Descriptor, never edited independently. A signed document that wants to make a Descriptor fact binding references it at a digest (Section 6.5) rather than restating it. A document that spells a Descriptor fact a second time, in its own words, does not conform to this section.
What the Descriptor is not: it is not a card, because it carries no endpoint and no authentication, which are connection facts, and the Descriptor holds shapes only (Section 6.4). It is not a contract: nothing in it binds anyone until a signed proposal references it. And it is not evidence: nothing issued by a third party after something happened is a member of it. Verdicts, records, and reputation check the Descriptor from outside.
6.2 The document#
A Descriptor is a JSON object. Three members are required in every Descriptor, draft or bound:
| Member | Holds |
|---|---|
format |
Which version of the Agent Descriptor format this document follows. For this specification it MUST be "agent-descriptor-v1". |
agent_version |
Which version of the agent this describes, in the operator's own scheme. Two Descriptors for the same subject are ordered by it. |
does |
One sentence on what the agent does. |
The subject, draft and bound. The subject member holds the agent's key and handle: { "id": <public key>, "handle": <handle> }. A draft leaves subject absent, because a builder describes agents that do not exist yet; the subject is filled at deployment, when the agent receives its identity. Nothing binds to a draft: a signed proposal MUST NOT reference a Descriptor without a subject, and a registry MUST NOT store one as an agent's Descriptor. Once bound, a Descriptor's subject MUST NOT change. A new agent gets a new Descriptor, not an edited one.
Whom it acts for. acts_for says whom the agent represents to the parties it deals with. It is one of three values:
| Value | The agent |
|---|---|
person |
Acts for one person, its owner. It is a personal agent, the same thing Section 7.8 and PACT call a personal agent. |
organization |
Acts for a business or a team. It MAY name the organization in organization_name, a name the organization is publicly known by and never an address or an account identifier (Section 6.4, rule 3). |
anyone |
Is a public service with no principal. It still has an operator who answers for it (Section 2), and it represents no person and no organization to the parties it serves. |
acts_for is REQUIRED in a bound Descriptor, and it is one of the members of the minimal Descriptor below. It is decided at install, by whoever decides who owns the agent, so a draft does not carry it (Section 12.6, rule 4). A Descriptor that lacks it, such as one written before 0.27.0-draft, does not meet the floor (Section 4.9), and a reader still reads it, as not stated, and a reader MUST NOT guess a value from the agent's name, its description, its offerings or its interaction. organization_name appears only beside organization. The consent rules that read this member are Section 6.9's.
The minimal Descriptor. Every agent serves a bound, signed Descriptor (Section 4.9), and these members are the least that one holds. They are what the floor reads: who the agent is, what it does, how it is used, and what it refuses.
| Member | What the floor reads from it |
|---|---|
format |
Which format the document follows, so a reader knows how to read the rest. |
agent_version |
Which version of the agent this describes, so a deployment record, an evaluation and a signed proposal can name the one they mean. |
subject |
Who the agent is (question 1 of Section 4.3): id, the key every claim binds to (Section 4.1), and handle where the agent holds one. |
does |
What the agent does in one sentence: the description of Section 4.2 and question 2. |
acts_for |
Whom the agent acts for (question 1), which every consent rule reads (Section 6.9). |
offerings[] |
What the agent does and how it is used (questions 2 and 3), and by closure what it refuses (question 5, Section 4.6). Each entry carries what this section requires of an offering, its id, name, inputs[] and outputs[] (either list MAY be empty), and the members its scope requires (Section 6.11). An empty list is a statement: the agent takes no work, and a request for any offering is refused not-found. |
signatures |
The subject's descriptor-statement-v1 signature (Section 6.6), so the bytes a stranger reads are the subject's own statement and stay checkable wherever they travel. |
Every other member is optional, and an absent one means not stated (Section 6.4). Where the minimal Descriptor points to no terms, question 4 is answered with the terms that are not stated, which Section 9.6 says a reader MUST NOT fill with a flattering default. A draft holds the three members required of every Descriptor and is never served as an agent's Descriptor: it gains subject, acts_for and signatures when it is bound at install (Section 12.7).
Offerings. offerings[] carries one entry per hireable thing. Each entry has an id, a name, and its inputs and outputs, and SHOULD carry does, one sentence on what the offering does, in the word the Descriptor uses for the agent's own sentence. It MAY carry scope, and the members its scope requires, as Section 6.11 says; an offering without scope is named work with the inputs and outputs below, which is what every offering declared before 0.27.0-draft meant:
inputs[]: each input'sname, itskind(Section 6.3), whether it isrequired, andexternal: truewhen it is reached rather than furnished. An input that is a grant rather than a thing sent MAY carryvia, one or more values from Agent SoW's grant-mechanism vocabulary, naming the mechanisms the operator accepts for making the grant. A caller reads it before deciding whether to engage, which is the point of stating it here. An input MAY carryone_of, a group name: at least one input of the offering naming that group MUST arrive, and no member of the group isrequiredon its own, so an agent that reads any one of five kinds of source says so once instead of marking all five optional and leaving the caller to read an agent that needs nothing. A consumer that does not know the member reads each as optional, the weaker claim, which is the safe direction to fail in. An input MAY carrymax_bytes, the most of it the agent takes: a caller, and anything that hands work on, checks it before sending and, over it, says so and sends nothing, because an agent handed part of an input does part of the work without knowing it. An agent that works inside a process MAY declare an input of kindapplication/vnd.agentmesh.run-context+json, namedrun-context, withfieldsnaming what it reads (for examplefocusandaudience): the run context, the answers the run was started with, which a process runner hands to every step whatever its place in the process. A consumer that does not know either member loses nothing by ignoring it.outputs[]: each deliverable'sname, itskind, andwhen:per_taskfor a deliverable each task produces,standingfor one maintained across tasks. An output MAY carryworking: truewhen it is the agent's working out, filed so a reader can check the deliverable against where it came from, rather than the deliverable itself; a renderer lists the deliverables first and MUST NOT drop the working pieces, because a caller still receives them.
External inputs and the caller's grant. An input marked external: true is the caller's own resource, such as their web analytics property or their records folder: the caller names it in a request, and the agent reaches it where it is. Reaching it takes access that only the caller can give, and the caller gives it once, before their first task that names the resource. An external input MAY say what that access is and how the caller gives it, with three members:
access: what the agent does with the resource, in the vocabulary ofsystems[].access:read,writeortrigger.grant: how the caller gives that access, a single value from the table below.provider: the product the resource lives in, such asgoogle-analytics, in lowercase letters, digits and hyphens. It is a shape. It names a product and never an address, a tenant, a property or an account identifier. A reader carries aproviderit does not know as written.
grant |
What the caller does |
|---|---|
identity |
Adds an identity that the platform shows them to their own resource, such as a Google service account's email added as a Viewer on their property. No key or secret is shared. |
key |
Supplies a secret. The platform keeps it in the caller's own key store or in the platform's secret store, and it never enters the Descriptor. |
oauth |
Reserved for a caller who signs in to the product and approves the access. This version does not define it. |
A reader reads the three members only on an input with external: true, and ignores them on any other input. Each is optional, and an absent one means not stated (Section 6.4): an external input without access has not said what the agent does with the resource, and a reader MUST NOT present it as read only or as needing no access. A value of access or grant that is not listed here, oauth included, is read as not stated, never as the nearest listed value. An external input's access is the offering's declaration of what it does to the caller's resource, so it needs no authority value of Section 6.11, whose system values are for systems[]. Where an input carries both grant and via, via SHOULD include the matching Agent SoW mechanism: seat for identity and api_token for key. Where it does not, a reader reads grant as not stated, and oauth has no match until it is defined.
Rule 3 of Section 6.4 holds for all three: the Descriptor says grant: "identity", and the identity itself, the secret, and the caller's resource are bound for that caller and never written into it. A caller's grant is not an install setting (Section 12.4), and no package carries it: the platform hands it to the run of that caller's task, and to no other run. Each caller's grant is its own: a platform MUST give each caller's grant its own identity or its own secret, so that one caller can never reach another caller's resource through an agent they both use, and an agent working for one caller MUST reach that caller's resource through that caller's grant only, never through another caller's or a credential of its own. A platform SHOULD retire a caller's identity, and delete their secret, when that caller stops using the agent, because a grant the caller made on their side stays open until they remove it.
For example, a web analytics agent reads a property the caller names in each request:
{ "id": "weekly-traffic", "name": "Weekly traffic report",
"does": "Reports a week of a site's traffic from its web analytics.",
"inputs": [
{ "name": "property", "kind": "identifier", "required": true, "external": true,
"access": "read", "grant": "identity", "provider": "google-analytics" }
],
"outputs": [ { "name": "report", "kind": "text/markdown", "when": "per_task" } ] }
When a caller engages it, the platform shows them the identity it made for them, and the caller adds that identity as a Viewer on their own property. Neither the identity nor the property's id appears in the Descriptor.
Revisions. An offering MAY carry revisions, what a change to its delivered work costs (Section 5.7): included, with a count and a window_days after the first delivery, and either steps[], each a step id from the offering's own steps[] (Section 12.3) with a price in the price declaration's shape, or flat, one price for any revision. An offering without revisions does not offer them, and a request that names a prior task is refused as Section 5.7 says. The member is a declaration in the sense of Section 6.10: what it promises is enforced at the responder's node, and a document that promises what its node does not apply is not conformant.
The line between an input and a system: something furnished or named per task is an input, and something bound once at deployment and used across tasks is a system (systems[], below).
Interaction and refusals. interaction answers one question: is a person attending the agent right now. It is "interactive" when one is and "service" when nobody is in the loop, and the caller-side semantics are Section 6.9's. It says nothing about whom the agent acts for, which is acts_for, and nothing about how the agent is built: an agent that acts for a person may run as a service while its person is away, and a business's agent may be attended by a member of staff. refusals is prose: what the agent will not do, in the operator's own words. Refusals gain force elsewhere, as SoW clauses and role contracts; here they are the operator's plain statement.
Extensions. Every member beyond the core is optional, and an absent one means not stated (Section 6.4):
| Member | Holds |
|---|---|
role |
The role held, by its offering name. The role's description stays in Agent Roles. |
interfaces[] |
The interfaces implemented, by name. The definitions stay at the registry. |
fleet |
True when several processes answer as one identity (Section 4.1). It is a fact about the agent's identity and sits beside subject. |
hosted_in[] |
The jurisdictions or regions the runtime sits in. A region, never an address. Distinct from where content is processed and where answers apply, which keep their own documents. |
systems[] |
Standing systems the work is bound to: a name, an access level (read, write, trigger), and needs, what the access is for. The assembled view carries this as its reaches section (Section 9). |
limits |
Per-caller ceilings: requests_per_hour, model_budget_per_day, and past_them, what happens beyond them. Each ceiling is a number, or { "most": <number>, "decided_by": "rule" | "model" }, which also says what holds the agent to it (Section 6.11); a bare number leaves that not stated. |
handling_ref, price_ref, samples_ref |
Pointers to the data-use declaration, the price, and the samples document (Section 7.7), which keep their existing homes. The Descriptor points at them rather than restating them. |
run_config |
What a job may set: the declared settings, the models the author tested, and the author's named run configs (below, and Section 5.8). |
triggers |
What makes the agent act when nobody has sent it a request: the events it watches, the schedules it keeps, whether it may set schedules of its own, and whom it contacts when it acts (below). The assembled view carries it as its triggers section (Section 9). |
The member that names a system is name, and role is its alias for one revision. A reader MUST treat systems[].role and systems[].name as the same member, and MUST prefer name where a document carries both. A writer SHOULD emit name, and the alias is removed at the next revision. The rename is because role already names the standard job an agent holds, the first member in the table above, whose contract is an entry at the roles registry: one word for the job an agent takes on and for the name of a database it reaches makes a document nobody can read without being told which was meant.
Triggers. Most agents act when a request arrives. Some also act when nobody has asked: a ticket is opened in a system they watch, a week comes round, or a reminder they set for themselves comes due. triggers says what makes the agent act without a request, so that a caller and an owner know before they engage it whether it will act on its own, on what, and whom it will contact when it does. It has four members, and each is optional:
events[]: each event the agent watches, withsystem, thenameof the entry ofsystems[]the event comes from;kind, what happens there, in the system's own word, such asticket-opened; anddoes, one sentence on what the agent does when the event arrives. An event'ssystemMUST name an entry ofsystems[], because watching a system is reaching it.kindnames a kind of event, and MUST NOT name a record, a filter value, an address or an account identifier (Section 6.4, rule 3).schedules[]: each schedule the agent keeps, withevery, one ofhour,day,week,month,quarterandyear, anddoes, one sentence on what the agent does each time. The hour or the day a schedule runs is set where the agent is installed and is never declared here.sets_own:truewhen the agent may set a schedule or a reminder of its own while it works, such as checking back tomorrow on a reply it is waiting for, andfalsewhen it may not. What a schedule the agent sets for itself does stays inside its declared offerings and triggers, and a host that keeps an agent's schedules SHOULD refuse one from an agent whosesets_ownis nottrue.contacts[]: whom the agent contacts when it acts on a trigger, from four values:owner, its owner;callers, the parties it holds work for;named, parties its owner names where it is installed, who are never listed here, because a list of them is a binding; andanyone, parties it has not dealt with before. A contact is still made under the rules of the binding it travels on, the other agent's door included (Section 7.1), and declaring one grants nothing.
An absent triggers means not stated (Section 6.4, rule 2), and a reader MUST NOT read it as an agent that acts only when asked. Each member is separately not stated when it is absent. An agent that acts only when asked says so with "triggers": { "events": [], "schedules": [], "sets_own": false }, in which each empty list is a statement. A value of every or of contacts that is not listed here is read as not stated, never as the nearest listed value. Every entry is the operator's word and enters any view at declared strength (Section 6.10, rule 3), and an evaluation record is what moves one past declared (Section 8.4). An interim deliverable that an engagement owes on a schedule is a term of that engagement, quoted in the assembled view's sells section (Section 9.5), and is not repeated here. The word runs the other way from the trigger access of systems[] and the authority triggers-systems (Section 6.11), which say that the agent sets something off in a system, while triggers says what sets the agent off.
"systems": [ { "name": "tickets", "access": "write", "needs": "to reply to the tickets it is sent" } ],
"triggers": {
"events": [ { "system": "tickets", "kind": "ticket-opened", "does": "Reads the new ticket and drafts a first reply for a person to send." } ],
"schedules": [ { "every": "week", "does": "Sends its owner a summary of the week's open tickets." } ],
"sets_own": false,
"contacts": ["owner"]
}
Run configs. run_config declares what a run config may set for this agent (Section 5.8). Only a setting declared here can be set, at any layer.
"run_config": {
"settings": [
{ "name": "model", "kind": "rule", "default": "example/model-a",
"allowed": ["example/model-a", "example/model-b"], "job_may_set": false },
{ "name": "speaker", "kind": "preference", "default": "the deck's author",
"allowed": ["the deck's author", "a narrator"], "job_may_set": true }
],
"tested_models": ["example/model-a"],
"named": [ { "name": "Deck explainer, Oct 6", "settings": { "speaker": "the deck's author" }, "digest": "sha256:…" } ]
}
Each entry in settings[] has a name, unique in the block; a kind, preference or rule, whose resolution Section 5.8 gives; a default; allowed; and job_may_set. allowed lists the values the agent can use. A rule whose values are words MUST carry it, because it is the list a closer layer narrows. A rule whose default is a number is a ceiling, and its default is the highest value any layer may set. A rule whose default is true or false needs no list. On a preference allowed is OPTIONAL, and where it is absent any value of the default's type may be sent, which the agent still uses exactly or refuses. job_may_set is true when a sender who does not own the agent may set the setting for a job, and an absent job_may_set is read as false.
A setting named model is the AI model the agent's work calls, so an organization's rule about which models may be used narrows that setting's allowed. tested_models lists the models the author has tested the agent with. It SHOULD be a subset of the model setting's allowed, and a model that is allowed and not listed is permitted and untested, which a reader is told (Section 9.5). named lists the author's named run configs. Each has a name, unique in the block; settings, giving values only to declared settings, each inside its setting's allowed or under its ceiling; and digest, computed as Section 5.8 says over the entry without digest. replay, OPTIONAL, is true when the agent can replay a saved run's step without calling a model, so a pin move can be checked by comparing outputs (Section 5.8, Moving a pin); absent means it cannot.
A declared setting is a choice made for each job, so it MUST NOT be a credential, a key, an address or an account identifier. What an install binds is an install setting, named in the runtime requirements (Section 12.4), and is never declared here. A run config that an owner, an organization or a person saves is kept with them and is never added to the Descriptor, which differs from its package's draft only as Section 12.6 rule 6 allows. An agent whose Descriptor has no run_config member takes no settings.
A consumer that meets a member it does not recognise MUST ignore it rather than fail: an unknown extension is somebody else's business.
6.3 Kinds#
An input or output kind is a media type where the thing is a file: application/pdf, application/gzip, text/csv. Not every input is a file, so four value kinds sit beside the media types:
| Kind | Means |
|---|---|
text |
A string a person or program supplies inline. |
identifier |
A name for a thing: an agent handle, a record id, a subject key. |
url |
An address to be used as an address. |
document |
A fetchable file whose media type is not fixed. |
A non-file input MUST use a value kind. Forcing an agent handle into a media type misdescribes it, and a consumer checking inputs would check the wrong thing.
6.4 The rules#
- Every fact has one authored spelling. A fact appears in the Descriptor once. Any other document carries a projection or a reference (Sections 6.1 and 6.8).
- An absent member means not stated. A consumer MUST treat an absent member as something the operator has not said, never as a default. An unreadable member is treated as absent, never as the safe-sounding value.
- It carries shapes only. Media types, region names, system names, and product names such as an external input's
providerbelong in a Descriptor. Addresses, credentials, endpoints, and account identifiers MUST NOT appear in one. A document violating this does not conform, whoever wrote it. - Evidence stays outside it. Nothing issued by a third party after something happened is a Descriptor member. A Descriptor states; records and verdicts check.
6.5 Versioning and the digest#
A Descriptor is standing: true until its operator changes it. It is versioned by replacement. There is no partial edit; a new version is a whole new document.
The digest is over the exact bytes served, with no canonicalization. The digest of a Descriptor is the SHA-256 of the byte sequence a consumer fetched, exactly as fetched. This matches how an Agent SoW contract forms on bytes: a reference names an artifact, and the artifact is the bytes.
A reference to a Descriptor carries its digest, and MAY carry a location. A signed proposal that elevates Descriptor members references the Descriptor at its digest, which is why an operator's later edit cannot move what an existing signature meant.
agent_version orders versions of the agent, not edits of the document. Two Descriptors with different digests and the same agent_version are two spellings of the same agent version, and only the digest tells them apart. A Descriptor describing a changed agent MUST carry a new agent_version. A reconfigure (12.7) that changes only members the install decides (12.6, rule 6) has not changed the agent: the package is the same, so the Descriptor it binds keeps the agent_version and differs by digest.
6.6 The signature#
A bound Descriptor MUST carry the operator's signature, made with the subject's identity key, so a copy stays checkable wherever it travels (Section 4.9). A bound Descriptor without one does not meet the floor, and a reader that meets one trusts it only as far as the place it was fetched from.
The signature follows the family convention (Section 8.1). The tag defined here:
descriptor-statement-v1: the operator's statement that this is the subject's standing description.byMUST be the subject's own key, the same key assubject.id.
The digest (Section 6.5) is over the served bytes including signatures: a reference names the exact artifact, signature and all. The signature is over the canonical form without itself: a statement survives reserialization, an artifact does not, and the two jobs are different on purpose.
A draft has no subject and therefore no subject key, so a draft carries no descriptor-statement-v1 signature. Whoever passes a draft around vouches for it themselves.
6.7 Serving and discovery#
The addresses. A subject reachable at a domain SHOULD serve its current Descriptor at https://<domain>/.well-known/agent-descriptor.json, beside the A2A card and the AgentDoc. Most agents are not reachable at a domain, so the general case is a pointer: the subject's registration SHOULD carry the location of its current Descriptor and that version's digest. A consumer who has found the agent has found its Descriptor.
The registry. At registration the subject SHOULD hand the registry the Descriptor itself, not only a pointer. A registry that stores Descriptors MUST serve the current one for a subject, MUST retain and serve every version it has stored by digest, and becomes the reliable place to fetch from when the operator's own serving goes away. Where a registry's stored copy and the operator's served copy disagree, a consumer MUST NOT merge them: the disagreement is reported, the same rule the assembled view follows for drifted projections.
Asking the agent. A subject MUST answer a request for its own current Descriptor, before any agreement exists, answering with the document bytes and their digest. This is entryway exchange 2 (Section 4.4); a consumer on the same network as the agent then needs no other serving at all.
History. A signed reference is only checkable while the version it names can still be fetched. Whoever serves Descriptors for a subject MUST keep serving each version they have served, by digest, for as long as they serve the subject at all. The registry's stored history is the backstop; an operator SHOULD keep their own. A countersigner is well advised to keep their own copy besides, since their signature is the reason the version matters.
Hosted agents. Where a platform hosts the agent, the platform serves the Descriptor on the operator's behalf, and that hosted copy is the authoritative home: the pointer in the registration points at it, and its bytes are the ones a digest names.
Knowing it changed. Replacing a Descriptor SHOULD be announced as an event where the subject is registered, so a consumer who cares can subscribe rather than poll. A consumer without the event compares digests on refetch. Staleness is detectable either way; the event only makes it cheap.
6.8 Projections and consumers#
Four documents consume the Descriptor, each in its own way, and none of them edits its copy:
- The A2A card is generated from it:
doesbecomes the description, offerings become skills, and kinds coarsen to input and output modes. The serving machinery adds the endpoint and authentication, which are connection facts the Descriptor never holds. - The registration manifest carries the pointer and digest and projects
acts_for,interaction,fleetand each offering'sscopewhere it has fields for them. - An Agent SoW standing proposal elevates by reference: it signs Descriptor members at the Descriptor's digest, which is what turns a described input or price into a binding one. It does not restate them.
- An AgentDoc lists the Descriptor as a source, prefers it over any projection of it, records its digest, and reports rather than merges when a projection has drifted (Section 9.4).
A projection that disagrees with its Descriptor is a defect, and every consumer that can see the disagreement MUST report it rather than pick a side silently.
Checking a Descriptor is mechanical: the three required members are present, a bound document holds every member of the minimal Descriptor (Section 6.2) and carries acts_for with one of its three values, format names this specification, every kind is a media type or a defined value kind, every offering's scope and the members it requires pass Section 6.11's checks, every event in triggers names an entry of systems[] (Section 6.2), no Descriptor carries shape (Section 6.12), no member carries an address, credential, or endpoint, a bound document's signature verifies against subject.id, and a draft carries no subject and no subject signature. An agent's behavior against its Descriptor's claims is a separate question, answered by an evaluator's signed record (Section 8.4), and never by this document about itself.
6.9 The wider declaration set#
The declarations below are what a well-described agent states about itself beyond the Descriptor's core members. Each is carried by the Descriptor, by a document it points to, or by the binding's registration projection; each is the operator's word, presented as such.
Standing. One defined value: guest. A guest is an agent a platform provisions and operates on trial terms: temporary tenure, at the platform's expense, for a principal who runs nothing of their own yet. The declaration exists so a counterparty knows what it is dealing with before agreeing to anything, so a platform that hosts guests MUST declare it on every guest it provisions; an agent that is not a guest declares nothing here, and absent means not stated, never resident. Four obligations follow from the declaration, wherever it appears. A guest MUST run under an allowance (Section 7.5) at all times, and every cost the guest incurs is metered against it, including the guest's own model spend where the platform runs the model. A guest buys and never sells: it MUST NOT declare a price or hold offerings, and a registry MUST refuse both from a declared guest. A commitment a guest enters MUST fit inside its remaining allowance at signing, so no counterparty is ever owed money by a party built to expire. And a guest past its tenure refuses mechanically (Sections 4.6 and 4.7), stating that it has lapsed, rather than going silent. The tenure itself, how a guest is funded, how long it lasts, how many one principal may hold, is the platform's policy, stated where the platform binds this specification, never here.
Interaction, the caller's side. service means sending disturbs nobody, and a reply does not wait on human attention; interactive means delivery lands in a live session a human is using, sending may interrupt someone, and a reply arrives when they get to it. Absent means unknown, and a careful caller SHOULD treat unknown as interactive, the cautious reading. This is a statement of fact about how the agent currently runs, not a security boundary: an agent that misdeclares inconveniences callers rather than gaining privilege, and implementations SHOULD derive it from how they actually run rather than asking an operator to assert it. It answers only whether a person is attending the agent right now. Whom the agent acts for is the next declaration, and a caller MUST NOT read one from the other.
Acting for, the caller's side. acts_for (Section 6.2) is what the consent rules read, because each of them protects a particular principal and has to know whether there is one.
- The door. A connection (Section 7.1) is between two people's agents, so an implementation MUST NOT offer a connection from an agent that does not declare
person, and MUST NOT offer one to an agent whose Descriptor declaresorganizationoranyone. Where the other agent'sacts_foris not stated, the person deciding is shown that it is not stated before they offer or accept, and the choice is theirs. The owner who reviews held senders and says yes to an order is, for an agent that acts for a person, that person, and for one that acts for an organization, whoever the organization names. - Grants. The grants of a connection, and a business's PACT grant (Section 7.8), are permission a person gave. Only an agent that declares
personacts on them for a person. A business's agent that serves personal agents through a PACT Provider declaresorganization. An agent that declaresanyoneholds no grant from anybody and acts on no one's account. - Messages for a person. Agent Messaging lets a sender mark a message for the person behind the receiving agent (Agent Messaging, Section 5.7). Only an agent that declares
personhas a person behind it, and that person is its owner. An agent that declaresorganizationoranyone, or whose Descriptor does not stateacts_for, has no person behind it: it MUST NOT say that it keeps those rules, and it refuses a message marked for a person at its door, before anything reads it, as Agent Messaging says. An organization does not name a reader for such messages, because a message written to a person is for that person, and a member of staff reading it for the organization is somebody else. An organization's agent and a person's agent are told apart byacts_foralone.
Modes. The media types an offering accepts and produces, with agent-level defaults as fallback where an offering does not say. Resolution is the offering's own modes, then the agent's defaults, then nothing; and nothing means the agent has not said, which a caller reads as text and MUST NOT read as a refusal of other types. Agents that handle anything beyond text SHOULD declare, because a caller has no other way to learn it before sending: an agent that accepts PDFs and says nothing is indistinguishable from one that does not, and consumers faced with that silence have historically invented an answer on the agent's behalf.
Needs and delivers. What must be in hand before work can start, and what the caller gets. A need is a shared resource with an access level, a file by media type, a credential (a sign-in to a named third-party service the agent does not control, with the narrowest true scope stated), or prose. Delivers states the final deliverable, whether interim checkpoints arrive as task updates, and whether the deliverable lands in a caller-provided resource rather than travelling back. Both are declarations, deliberately loose: the reader at discovery time is usually a model deciding whom to hire, so they must read well to a model, not validate well in a parser. The honesty doctrine applies: an agent that needs a repository and says nothing is indistinguishable from one that needs nothing. A credential need is neither a permission nor a promise about handling, and nothing in the declaration transports a credential; a renderer SHOULD present a credential need more prominently than the other kinds, because it is the one entry a reader can be harmed by missing.
Reporting level. An offering MAY declare the progress-reporting level it offers, on an ordinal vocabulary compared meets-or-exceeds. It is an advertisement, not a clause, it is self-declared and MUST be shown as such, and an unreadable value is dropped at registration, because a declaration that cannot be read declares nothing and MUST NOT be presented as if it did.
Sealing posture. A declared encryption key (Section 7.2) says an agent can be sealed to; the sealing posture says whether anyone should, and what happens to a request that arrives in the clear. required means the agent will not read a cleartext request: a sender MUST seal, and the receiver MUST refuse an unsealed request with a typed sealing-required refusal. preferred means a sender SHOULD seal when it can, and the agent reads both. Absent means the agent has not said, and a sender MUST NOT infer a posture from silence, and MUST NOT seal to an agent that has not asked to be sealed to. A posture REQUIRES the encryption key, and a registry MUST refuse a declaration stating one without the other: a posture is a promise about reading, and an agent with no key cannot keep it. The sealed unit is the request's input and the terminal response's output: the caller's material and the deliverable. Routing, status, errors, and timing stay readable, so a sealing posture protects content, never the fact of the conversation, and an implementation MUST NOT describe it as anonymity or traffic confidentiality.
Data use. What happens to content a buyer hands the agent, declared once, at agent level, deliberately: the pipeline is the operator's, shared by every offering, and a per-offering split posture is a gaming surface. Promises carry only the promises made (no_training, no_third_party_sharing, no_human_reading), each spelled true: false is spelled by omission, because a promise left out is a promise not made, and a reader MUST NOT infer one. Retention states the ceiling in days the operator is prepared to bind. Memory, beside it, says whether what a job was given or learned is kept for later jobs: remembers-across-jobs when it is, and starts-clean-each-job when every job begins with nothing from an earlier one. Absent states nothing, and a reader MUST NOT read silence as a clean start. Memory also says whose jobs the agent learns from, in memory_pool: each-caller when what it keeps from a caller's jobs is used only in that caller's later jobs, and every-caller when what it keeps from every caller's jobs is used together in every caller's later jobs. It is read only beside remembers-across-jobs. Absent states nothing, and a reader MUST NOT read silence as each-caller. It concerns what the agent keeps for later jobs and says nothing about training a model, which is the no_training promise. Processors name the services content passes through, including the model services the agent calls, which is what lets an agent built on an upstream model API make the no-third-party-sharing promise honestly instead of staying silent or lying; an empty processor list is a statement, an omitted one states nothing. Jurisdictions name where content may be processed and stored, as a set tested by subset against a buyer's allowed list; an operator that cannot truthfully pin a jurisdiction declares nothing, and an absent declaration fails any jurisdiction requirement, which is the correct fate for "we don't know where it runs" when the buyer asked. Confident fiction is the failure mode this declaration must not invite. Everything here is self-declared, MUST be shown as such, and an unreadable data-use declaration is dropped whole rather than served in part, because a partially readable privacy claim misleads more than none at all. What binds is the signed engagement's confidentiality clause; where the declaration and the signed document disagree, the signed document wins.
Compliance. The postures an operator claims (SOC 2, ISO 27001, GDPR, HIPAA, PCI-DSS, an open vocabulary of lowercase tokens compared by exact equality), each with a scope in words and an attestation pointer: an auditor's name, a URL a reader can follow, an expiry after which the claim is stale on its face. Everything here is self-declared, including the pointer; nothing fetches the URL, verifies the auditor, or checks the expiry against anything but the calendar. Directories MAY index and filter on the tokens under the same presentation rule: a filter over self-declared claims is a filter over claims, and labeling it otherwise is the platform lying on the operator's behalf.
Access. How a caller presents identity, and who gets in, and they are different questions: the scheme is the lock, the policy is whose key was cut. The admission policy is a closed vocabulary of four values: open (anyone who satisfies a scheme is admitted), allowlist (only parties the operator already added), screened (a knock is evaluated, by policy or a person, and may be refused on grounds the operator does not have to publish), negotiated (admission is arranged out of band before any knock is meaningful). The vocabulary is closed because it feeds a decision, whether it is worth knocking, and an unrecognized value MUST be treated as unstated rather than as open. A scheme over the http transport is also the one statement that an agent on a mesh can be reached from outside it: a platform that brokers outside callers to its agents through a gateway MAY define a scheme for that gateway (a key the caller presents there), and an agent whose registration carries it has been opened to outside callers by its operator, while an agent without it is reachable on its mesh only and its projections (Section 6.8) MUST name no outside endpoint. The choice is the operator's, is made where the agent's door is enforced, and is projected into the declaration rather than typed into it. The membership of an access list is never published: publishing it turns a storefront into a customer roster, and the one reader guaranteed to find it useful is the one probing for accounts to impersonate. Schemes are alternatives, never a conjunction: a caller satisfies any one. Three states, and silence is one of them: schemes declared, schemes declared empty (a real answer: nothing to present), and nothing said, and a reader MUST NOT collapse the third into the second, because an agent that never described its door is not an agent with an open one. Schemes are shapes, never bindings: a member whose value would differ from one caller to the next is a binding and does not belong. An access declaration MUST NOT carry a credential, token, key, secret, account or tenant identifier, or per-caller URL, and a registry that detects one MUST drop the block whole rather than serve it, for a sharper reason than usual: a secret served on a pre-admission page has already leaked by the time anyone notices it was a validation error. Declaring a scheme grants nothing: nothing here issues a credential or promises admission, and what a caller must furnish to do the work once admitted is the offering's needs declaration.
6.10 The declaration doctrine#
Three rules bind every consumer of any declaration:
- Absent means not stated. Never a default, never the flattering value, and printed by name in any assembled view. A requirement stated against a declaration treats silence as not meeting it: fail closed.
- Shapes, never bindings. Declarations carry media types, roles, vocabularies, and regions; never credentials, endpoints, addresses, or account identifiers.
- Declared is a strength, not a verdict. An authored claim enters every view at declared strength and moves only on attestation (Section 8). No consumer may render a self-declaration as verified or enforced.
6.11 Scope and authority#
Before 0.27.0-draft every offering was named work with typed inputs and outputs, and a reader could check a request against an offering by its inputs alone. Some agents take an instruction in words instead: change this repository, look into this question, tidy these files. This section lets such an agent say so plainly. It keeps the rule of Section 4.6, under which there is no default route, and it keeps a reader from taking an agent that will try anything for one that can do anything.
Scope. scope on an offering is one of three values:
| Value | What the offering may be asked | What it MUST declare |
|---|---|---|
task-specific |
The named work its description gives, with the inputs and outputs it declares. | Its inputs and outputs (Section 6.2). |
open-with-focus |
Any instruction within a stated focus. | focus, workspace, authority, its deliverables in outputs[], and ceilings. |
open-ended |
Any instruction. | authority and ceilings, and the agent declares its data use (Section 6.9) with retention, processors and memory. It makes no claim about what it can do. |
An offering without scope is task-specific. Absence has a defined meaning here, unlike almost every other member (Section 6.4, rule 2), because task-specific is what every offering declared before 0.27.0-draft meant, so every existing Descriptor stays valid and means what it meant. A scope the reader does not recognise is read as open-ended, the reading that claims least about what the offering can do.
Scope is declared on each offering and nowhere else. One agent MAY carry offerings of every scope. Wherever the agent's scope is summarized, on a card, in a listing or in an AgentDoc, the summary is derived from its offerings by listing the scopes they carry, and a Descriptor MUST NOT carry an agent-level scope, which would be a second spelling of those facts (Section 6.4, rule 1).
An open offering receives its instruction as an input of kind text that it declares like any other, so Section 4.7.1 applies to it unchanged.
Focus. focus on an open-with-focus offering is one word from a closed vocabulary:
| Value | The instructions it takes |
|---|---|
software |
Work on code, its tests, and the tools that build and run it. |
documents |
Writing, editing, checking and arranging documents. |
data |
Collecting, cleaning, analysing and reporting on data. |
research |
Finding and weighing sources, and reporting what they say. |
operations |
Running and tending systems and routine business processes. |
The offering SHOULD also carry role, a role described in Agent Roles, named by its offering name, because a role describes refusals a reader can check, while a focus word only says where the instructions lie. The offering's does says in words what the focus covers. A focus the reader does not recognise is read as not stated, and an open-with-focus offering without a readable focus is read as open-ended.
Workspace. workspace[] names the shared resources (Section 5.3) the offering works in, as shapes. Each entry carries kind, the resource kind a request's resource entry names (an open vocabulary, in which Agent Messaging reserves git); access, read or read-write; and for, a sentence saying what the work does there. An entry MAY instead name a standing system with system, a name from systems[], whose access is the one declared there. A workspace never carries an address (Section 6.4, rule 3): the address of the repository or folder arrives with each request. An empty workspace is a statement: the offering works only on what a request sends it and returns.
Authority. authority lists what an offering can touch beyond the inputs it is sent and the outputs it returns, from this closed list:
| Value | The offering can | Builds on |
|---|---|---|
reads-files |
Read files and resources in its workspace. | A resource's read access (Section 5.3). |
writes-files |
Create, change and delete files and resources in its workspace. | A resource's read-write access (Section 5.3). |
reads-systems |
Read a standing system. | systems[] access read. |
updates-systems |
Change the records a standing system holds. | systems[] access write. |
triggers-systems |
Set off an action in a standing system. | systems[] access trigger. |
runs-commands |
Run programs on its host or in its workspace. | Nothing earlier: the members above say what is reached and never what is run. |
reaches-network |
Fetch from, or send to, network addresses outside the derived set (Section 12.4). | Nothing earlier: the derived set covers the declared systems, the hosts of the workspace kinds, the network, the registrar and the model, and this value covers everything else. |
sends-messages |
Send messages to parties other than the requester. | The connection grants messages, share and scheduling (Section 7.1). |
spends-money |
Commit money on the requester's or its owner's behalf. | The connection grant errands (Section 7.1), the budget (Section 5.4) and the allowance (Section 7.5). |
An empty list is a statement: the offering touches nothing beyond its inputs and outputs. An absent authority on a task-specific offering states nothing, and a reader MUST NOT read it as empty. A value outside the list makes the whole list unreadable: a registry MUST refuse the declaration, and a reader that meets one reads the offering's authority as not stated and MUST NOT keep the values it did recognise, because a list read in part could hide the one value that mattered. reads-systems, updates-systems and triggers-systems each require a systems[] entry at the matching access, and a Descriptor that declares one without the other does not conform.
authority_decided_by on the offering says what keeps a running job inside its authority: rule when the runtime stops the job from touching anything the list leaves out, and model when the model is told the list and asked to keep to it. Absent, it is not stated.
The network. What an agent can reach on the network is decided by its host, not by its node, so reaches-network is the one value whose rule the agent cannot apply alone. The install derives the destinations every agent needs from what is already declared and bound (Section 12.4), and allows a further destination only for an agent with an offering that declares reaches-network, and only as the owner's instruction names it (Section 12.7). The deployment record says what the host actually provided and what enforces it (Section 8.3, egress). Egress is provided to the agent and not to one offering, so where any offering of an agent declares reaches-network, the further destinations are open to all of its offerings. An authority_decided_by of rule is therefore a claim about the network only where every offering of the agent leaves reaches-network out and the deployment record shows an allowlist with a mechanism that applies it and no entry whose from is instruction or host, and a reader MUST NOT read it as one otherwise. The test reads the record and not the Descriptor, because a version installed alongside can widen the agent's egress without appearing in the offerings the bound Descriptor shows (Section 12.7).
Ceilings. ceilings on an offering bounds one job. Each member is { "most": <value>, "decided_by": "rule" | "model" }, where rule means the agent's node or runtime stops the job at the value and model means the model is told the value and asked to keep to it:
| Member | The most |
|---|---|
job_seconds |
Seconds one job runs. |
cost_per_job |
One job costs the requester, as money in integer micro-units of an ISO 4217 currency (Section 7.6). |
spend_per_job |
One job may commit on the requester's behalf, as money. REQUIRED where authority includes spends-money. |
messages_per_job |
Messages one job sends to parties other than the requester. REQUIRED where authority includes sends-messages. |
An open offering MUST carry job_seconds and cost_per_job. A ceiling without decided_by is not stated as to what applies it, and a renderer MUST NOT present it as enforced. Where a request carries a budget (Section 5.4), the tighter of the budget and cost_per_job decides. An install MAY lower an offering's ceilings and MUST NOT raise them (Section 12.6, rule 6).
{
"id": "change-a-repository",
"name": "Change a repository",
"does": "Makes the change an instruction asks for in one code repository and opens it for review.",
"scope": "open-with-focus",
"focus": "software",
"role": "role-code-writer",
"inputs": [ { "name": "instruction", "kind": "text", "required": true } ],
"outputs": [
{ "name": "change", "kind": "identifier", "when": "per_task" },
{ "name": "summary", "kind": "text/markdown", "when": "per_task" }
],
"workspace": [ { "kind": "git", "access": "read-write", "for": "the repository the change is made in, on a branch of its own" } ],
"authority": ["reads-files", "writes-files", "runs-commands"],
"authority_decided_by": "rule",
"ceilings": {
"job_seconds": { "most": 3600, "decided_by": "rule" },
"cost_per_job": { "most": { "amount_micro": 20000000, "currency": "USD" }, "decided_by": "rule" }
}
}
At the boundary. A request to an offering that declares a workspace or an authority MAY carry authority, the values from the offering's list that the requester allows for this job; the job then runs under that narrower list, and a request without it allows the offering's whole declared list. A request whose allowed authority includes spends-money MUST carry spend_limit, the most the job may commit, as money. The boundary checks, by rule and before anything that thinks sees the request, in the order of Section 4.6: that every resource the request hands over has a kind a workspace entry names and an access no wider than that entry's; that every value in the request's authority is one the offering declares; and that a required spend_limit is present and no higher than the offering's spend_per_job. A request that arrives through a connection and allows spends-money is an order, and it needs the errands grant and its owner's yes as Section 7.1 says. These checks apply to every offering that declares the member checked, whatever its scope.
The refusal is SCOPE_REFUSED. It carries message, a passage for a person; decided_by; offering; reason, one of workspace, authority, spend_limit and focus; and allowed, the workspace entries or authority values the offering declares, where the reason has a list. workspace, authority and spend_limit are decided by rule. focus is decided by the model, always: it is the answer of an open offering whose model judged that an instruction falls outside its focus, and it is given after the boundary's checks have passed.
Testing, by scope. Each scope is tested in the way its claim can be tested, and an evaluation record (Section 8.4) says which way it used.
- A
task-specificoffering is tested case by case, as before 0.27.0-draft: each case asks for the named work and checks what comes back against the declared inputs and outputs. - An
open-with-focusoffering is tested against an evaluation set for its focus: a published, versioned set of instructions within that focus, with the checks each result must pass. A signed evaluation record names the set by name, version and digest, and carries the result. One focus may have many sets, and a reader compares results only between records that name the same set. - An
open-endedoffering is tested only on its limits: cases that probe its ceilings, its authority, its workspace and its data-use promises. An evaluation record MUST NOT carry a capability case for an open-ended offering, and a reader MUST NOT read a pass on its limits as a statement about what it can do.
Every refusal case checks decided_by as well as the reason: a refusal the boundary owes is decided by rule, and one marked rule that a model made fails.
Directories. A directory, a matchmaker, or anything else that searches Descriptors MUST NOT return an open-ended offering as a match for a search by the work wanted, because the offering makes no claim about what work it can do. It MAY list one where a searcher asks for open-ended offerings by scope, or filters by authority, ceilings and data use. An open-with-focus offering MAY be matched by its focus and its role, and a directory that matches it MUST show it as open-with-focus, with its focus, its authority and its ceilings, and MUST NOT present it as able to do any particular piece of work within that focus unless an evaluation record says how it did on a set.
Conformance. A checker verifies these declarations mechanically: every scope, focus and authority value comes from its list; an open-with-focus offering carries focus, workspace, authority, at least one output and ceilings; an open-ended offering carries authority and ceilings and its agent declares data use with retention, processors and memory; every open offering's ceilings include job_seconds and cost_per_job; spend_per_job and messages_per_job are present where the authority needs them; a systems value is backed by a system at the matching access; and no Descriptor carries an agent-level scope. Five cases prove an agent applies them at its boundary, run against every offering that declares a workspace or an authority: a request naming an undeclared offering, refused not-found by rule; a resource of a kind the workspace does not name, refused with reason: workspace; a request allowing an authority value the offering does not declare, refused with reason: authority; a request allowing spends-money with no spend_limit, refused with reason: spend_limit; and a request inside every bound, admitted. Each refusal arrives before any work and carries decided_by: rule. The fixture offering-scope.json, in this specification's conformance folder, pins these cases, the removal of shape (Section 6.12), and the directory rule.
6.12 The former shape#
From 0.6.0-draft to 0.26.0-draft a Descriptor could carry shape, which described the agent's inside. This specification describes an agent from the outside, so 0.27.0-draft took shape apart and gave each fact a caller can rely on a member of its own, and 0.28.0-draft removes shape from the format, as 0.27.0-draft said it would. A writer MUST NOT emit it. A reader treats it as an unknown member and ignores it (Section 6.2), and a checker reports it (Section 6.8). The table says where each former member went, for a writer moving an older Descriptor forward:
| Former member | Where it went |
|---|---|
kind |
Nowhere in the Descriptor. Whether code or a model decides is decided_by on each refusal and limit (Sections 4.7 and 6.11), and what was installed MAY be said, as background, in a deployment record's installed (Section 8.3). |
memory |
Data use, beside retention (Section 6.9): keeps became remembers-across-jobs, and starts_clean became starts-clean-each-job. |
model |
Data use processors (Section 6.9). |
steps |
scope on each offering (Section 6.11), declared offering by offering. |
tools_runtime |
authority on each offering (Section 6.11), declared offering by offering. |
fleet |
fleet, a member at the level of the agent's identity (Section 6.2). |
harness |
Deployment records only, in target (Section 8.3). |
A Descriptor still names no harness. An agent built from a process document is described from the outside like any other agent, and its package says outside the Descriptor that its inside is a process document and which harness reads it: in the manifest and in the runtime requirements (Section 12.5.1).
The trial declaration's shape (Section 7.7) and the build record's shape (Section 8.2) are different members with the same name, and neither changes.
6.13 Members for people, presentation and views#
Optional. This section is not required for conformance (Section 14): a Descriptor that carries none of its members, and a renderer that ignores them, still conform. Where a Descriptor carries its members, they mean what this section says, and its MUST and SHOULD apply. Nothing in it changes a member defined above, and a Descriptor that was valid under 0.37.0-draft stays valid.
The members above describe an agent to a reader that is a program, or a model deciding whom to engage. A person who reaches an agent through a page needs a few facts they do not carry: a name to call it by, a sentence written for them, which offerings they can start themselves, which inputs are theirs to give and which arrive from another agent, and what the agent will not do, said in words a person can act on. The first pages drawn from Descriptors alone, with no hand-written copy, found each of these missing. One agent's does had grown into a history of its changes, thousands of characters long, and named a private individual. Another declared twelve inputs that only other agents produce, and the page drew twelve boxes for a person to type into; the rules for reading those inputs had been filed as refusals. This section proposes the members those pages needed. The Descriptor to user interface binding (DESCRIPTOR-UI.md, a page of its own on commonagent.net) says which part of a page each member drives, and what a page shows when a member is absent.
Every member here is OPTIONAL but one: an offering a person starts declares an example (Section 6.13.8). An absent member means not stated (Section 6.4, rule 2). A renderer that meets none of them still draws a page from the members above, which is the floor the binding requires of every renderer. A consumer that does not know these members ignores them, as Section 6.2 requires of every unknown member.
6.13.1 Words for a person#
| Member | Where | Holds |
|---|---|---|
name |
The Descriptor | The agent's display name, in a few words, such as "Quiz maker". It is a name for a person to call the agent by and never an identifier: a reader MUST NOT resolve it, compare it to find an agent, or show it in place of subject.handle where the handle is what is being checked. |
summary |
The Descriptor | One plain sentence for a person, saying what the agent does for them, of at most 200 characters. |
about |
An input, an output, or a declared setting (Section 6.2) | One sentence for a person, saying what the input, output or setting is. |
label |
A declared setting | The words a page shows for the setting in place of its name. |
value_labels |
A declared setting | An object from each of the setting's allowed values to the words a page shows for it. A key that is not in allowed is ignored. |
summary is separate from does. does is the operator's one sentence for every reader: the description of Section 4.2, the card's description (Section 6.8), and the line a model reads when it decides whom to engage. summary is the sentence a person reads first on a page, and it is written for that person. Where summary is absent, a renderer shows does.
Neither does nor summary is a history. A Descriptor describes the agent as it stands (Section 6.5), so does, summary, an offering's does and every about SHOULD NOT carry version numbers, dates of changes, run or job identifiers, or what an earlier version did; that history belongs in the package's records and changelog (Section 12.3). They MUST NOT name a private individual, whether a person the agent worked for, a person in its material or a member of staff. An organization's public name is not a private individual's, and organization_name (Section 6.2) is where it belongs.
6.13.2 Who starts it, and who gives what#
| Member | Where | Holds |
|---|---|---|
started_by |
An offering | Who starts the offering directly: a list holding person, agent, or both. person means a person starts it from a page. agent means other agents run it as a step in a larger job, such as a step of a process. |
works_as |
An offering | How the offering is used once started: conversation, a turn-by-turn exchange in which each message is answered and the context of Section 5.6 carries the thread, or job, in which the inputs are prepared, the work is run, and the outputs are delivered. |
given_by |
An input | Who supplies the input: person, agent, or either. agent means the input is a piece another agent hands over, such as a page reader's read of a site, and a person does not type it. |
works_as says how the offering is used and says nothing about whether a person attends the agent, which is interaction (Section 6.2), or about whom the agent acts for, which is acts_for; a reader MUST NOT read any of the three from another. Where works_as is absent, a reader MAY treat the chat offering of Section 4.6, one whose only input is of kind text and whose outputs are text, as a conversation, because that is what Section 4.6 defines it to be, and treats every other offering as a job.
Where started_by is absent, a renderer offers the offering to a person like any other and says nothing about whom it is for. Where given_by is absent, a renderer draws the input as one a person may give, by its kind. An input whose given_by is agent is still an input a person may supply, by loading a file another agent delivered: what the member changes is how a page asks for it, as a piece to load or hand over rather than words to type.
An input that is the run context (Section 6.2) is handed by a process runner to every step. A renderer that starts the offering for a person reads its fields as inputs that person gives, and sends them in the run context the agent already reads.
6.13.3 What it will not do, for a person#
will_not[] on the Descriptor is a list of sentences, each one thing the agent will not do, written for a person deciding whether to use it. It is kept apart from two things it is easily confused with. refusals (Section 6.2) stays the operator's prose for every reader, the one an evaluator turns into probes. And what an input must be is said by the input's own members (its kind, required, one_of, max_bytes and about), never as a refusal: "a job with no site read, or one that is not a list of pages" is a rule for reading an input, and a person reading it under "What it won't do" learns nothing about what the agent declines. Where will_not is absent, a renderer shows refusals; where both are absent, it shows that the agent has not said.
6.13.4 Settings a page can draw#
The declared settings of Section 6.2 already carry what a page needs to draw them from the Descriptor alone: each setting's name, its kind (preference or rule), its default, its allowed values, and whether a sender who does not own the agent may set it (job_may_set). This section adds the words of Section 6.13.1, label, about and value_labels, so a page need not show a setting's raw name or values, and two members that say what values a setting takes:
| Member | Holds |
|---|---|
range |
On a setting whose values are numbers: { "min": <number>, "max": <number>, "step": <number> }, the lowest value, the highest value, and the step between values, each OPTIONAL. Every value any layer sets MUST lie within it, and on a rule the ceiling of Section 5.8 narrows within it. |
multiple |
true when the setting's value is a list of several of its allowed values, picked together, rather than one of them. Its default is then a list, and each member of a value MUST be one of allowed. An absent multiple is read as false. |
A setting whose value has a natural set of choices, such as a voice, a tone, a format or a length named in words, MUST declare allowed with a default, and SHOULD give value_labels, so that a page offers the choices rather than a box to type into and a value outside them is refused before the job starts (Section 5.8).
Install settings (Section 12.4) are not declared settings: they are the credentials, keys and values that whoever runs the agent sets at install and may change afterwards (Section 12.4.1), they never appear in a Descriptor, and a page MUST NOT ask a person for one when a job is prepared or run.
6.13.5 Presentation#
presentation on an input or an output says how a person views it, or gives it, so a renderer can bring a viewer or a picker suited to it. It is one value from a small vocabulary:
| Value | A person views or gives |
|---|---|
quiz |
Questions with choices and the answers to them. |
document |
Prose to read, such as a report, a brief or a page of text. |
facts |
A list of statements, each with the words it rests on and where they came from. |
table |
Rows and columns. |
media |
Images or video. |
audio |
Sound, such as a recording or narration. |
package |
A bundle of files kept together, such as an archive or a folder. |
A presentation says how a person meets the thing and never what its bytes are, which is its kind (Section 6.3). The two are separate members and a renderer reads both: the value document here, prose to read, is not the value kind document of Section 6.3, a fetchable file whose media type is not fixed. A renderer that cannot read the bytes in the way a presentation names, such as a facts output whose bytes are not a list it understands, shows the thing as its kind would be shown without a presentation, which is the projection of the binding. A value the reader does not know is read as not stated, never as the nearest known value. A presentation that cannot hold for the kind, such as audio on text/csv, is a defect a checker reports.
6.13.6 Views#
views[] on the Descriptor lists the agent's own views: small programs, written in JavaScript, that draw one of its outputs, or the preparation of one of its offerings, inside a frame the host owns. A view is a convenience above the floor, and showing views is optional: a renderer that shows none conforms in full. Every page that can show a view MUST also be able to show the same thing without it, from the Descriptor's members alone, and falls back to that whenever the view does not work.
Each entry carries:
| Member | Holds |
|---|---|
id |
The view's name, unique among the Descriptor's views. |
for |
What the view draws: { "offering": <id>, "output": <name> } for one output of one offering, or { "offering": <id> } for the preparation of that offering's inputs. |
file |
Where the view is in the agent's package: a relative path with forward slashes and no .. segment, such as views/quiz.html. |
digest |
sha256: followed by 64 lowercase hex characters, the SHA-256 of the file's exact bytes. |
requests |
The requests of the binding's message bridge the view may make, from its closed list: resize, propose-inputs, save-file and copy-text. A view MAY make no request at all. |
A view is referenced by its digest and never by an address. file is a path inside the package, which a host resolves against the package it installed and nothing else, so views[] holds shapes only and stays within rule 3 of Section 6.4. A renderer gets a view's bytes from the installed package, else from the depot that serves the package by digest (Section 12.7), and asks the agent for them only where neither has them, as the binding defines; it uses them only when their SHA-256 equals digest. A view is one self-contained HTML file, its scripts and styles inside it, because it may load nothing from anywhere.
A view runs only inside a frame the host owns, sandboxed, with no credentials, no network and no access to the host's page, and talks to the host only through the binding's message bridge: data in, requests out. The host keeps the frame, the design tokens it hands the view, and every control that acts, such as running a job, replying to a question, accepting an output or publishing one. A view proposes and never acts. Rule 7 of Section 12.6 says nobody runs a package's code but the agent. A view is the one exception: it is run by a renderer, only inside such a frame, never by a depot or an installer, and never with anything the agent's own code is given.
A view is part of the agent's declaration, and what it draws is at declared strength (Section 6.10, rule 3). It is drawn from the output it is handed and from the Descriptor, and nothing issued by a third party enters it: a host MUST NOT hand a view records, ratings or verdicts, and MUST NOT draw a mark of its own inside the frame that a person could take for the host's word about the agent.
6.13.7 Kinds as specific as what the agent takes#
An input or output kind (Section 6.3) SHOULD be as specific as what the agent really takes or produces. For structured data that means a media type of its own, such as a vendor type with a structured syntax suffix (application/vnd.example.page-read+json), rather than application/json; for an output delivered as Markdown, text/markdown rather than text; and document only for an input that really takes any file. An input of kind document that reads some media types and not others MAY carry accepts, the list of media types it reads. A reader treats a document input without accepts as taking any file, as Section 6.3 says, and one with it as taking only those.
The reason is the hand-off between agents. A page, a process editor or a runner that offers to hand one agent's output to another matches them by kind, and a broad kind matches everything that shares it. The first pages that did so offered one agent's list of facts to every agent with any JSON input, nearly twenty of them, most of which would have read it as something else; and a hand-off whose kinds fitted, from an agent that reads web pages to one that makes quizzes, was refused at the far end, because the second agent read only one particular JSON document under its broad kind. A precise kind makes the right hand-off exact and the wrong one impossible, and it costs the operator nothing to state. How a renderer ranks hand-offs by kind is the binding's.
Content handed between agents defaults to Markdown. A piece one agent hands another for a person or a model to read, such as a brief, a draft, a report or notes, SHOULD be Markdown, declared as text/markdown and never as text, unless the receiving agent declares another kind for it. Markdown keeps the headings, lists, tables and links a reader needs, it stays readable to a person who opens the file, and models and most renderers read it as it stands. A piece that a program reads, rather than a person or a model, takes a media type of its own as above. Either way, the kind is as specific as what the receiving agent takes, so a hand-off by kind can be exact.
6.13.8 An example for each offering a person starts#
example on an offering is a sample job that runs. It holds sample inputs, and one sentence saying what a good result looks like. A person sees a filled form before writing their own. Anyone other than the agent's builders can run the offering as a person would, and judge whether the result arrived and can be used.
The members above passed every check on the first pages drawn from Descriptors, and people still could not use some agents. One offering's form was twelve boxes of structured data. Another refused the names people gave their jobs. Another delivered a result nobody could read. Nothing in the Descriptor said what a working request looked like, so nobody outside the builders could tell a person's mistake from the agent's. An example gives every reader the same starting point.
| Member | Holds |
|---|---|
inputs |
An object from an input's name to a sample value for it. |
good_result |
One sentence for a person, saying what a good result of this example looks like. |
Each value in inputs is one of three shapes:
| Shape | For | Holds |
|---|---|---|
| A string | An input of kind text, url or identifier |
The value itself, as a person would type it. |
{ "file", "digest", "media_type", "name" } |
A file the agent's package carries | file is where the file is in the package, a relative path with forward slashes and no .. segment, such as examples/brief.pdf. digest is sha256: followed by 64 lowercase hex characters, the SHA-256 of the file's bytes. media_type is the file's media type. name, OPTIONAL, is the file name it is sent as; without it, the last segment of file. |
{ "url", "media_type", "digest", "name" } |
A file at a public address | url is an https address that answers with no credentials. media_type is the file's media type. digest, OPTIONAL, is the SHA-256 of the bytes the example was made with, so a reader can tell when the file at the address has changed. name is as above. |
An offering whose started_by holds person MUST declare an example. Any other offering MAY declare one. An offering with no started_by is offered to a person (Section 6.13.2), and SHOULD declare one.
An example is a complete request. It gives a value for every required input, and for at least one member of each one_of group. Each value fits its input's kind, and a file's media type is one the input takes, as accepts says where it is present. The declared settings take their defaults, so an example names no setting.
An example is public. Anyone who reads the Descriptor reads it, and anyone may run it. It MUST NOT hold a secret, a credential or anything from install settings. It MUST NOT name a private individual or carry their personal data (Section 6.13.1). It MUST NOT ask for anything the agent's will_not or refusals say it declines.
good_result is at declared strength (Section 6.10, rule 3). It says what the operator expects, in words a person can check against what came back, such as "A quiz of ten questions about the page, each with its answer". It is not a promise about any other request.
A renderer MAY offer to fill a prepared job's form from the example (DESCRIPTOR-UI.md, Section 5.3). It gets a file in the package the way it gets a view's bytes (Section 6.13.6), and uses the bytes only when their SHA-256 equals digest. It fetches a file at a public address with no credentials.
6.13.9 An example#
A quiz maker's Descriptor, with the members above and the floor's members abbreviated:
{
"format": "agent-descriptor-v1",
"agent_version": "1.4.0",
"name": "Quiz maker",
"summary": "Makes a short quiz from a page or a document you give it.",
"does": "Writes a multiple-choice quiz from source material, with the answers and where in the source each one comes from.",
"will_not": [
"It will not make a quiz about a person.",
"It will not invent a question the source does not answer."
],
"offerings": [
{
"id": "make-a-quiz",
"name": "Make a quiz",
"does": "Writes a quiz of up to twenty questions from the source it is given.",
"started_by": ["person", "agent"],
"works_as": "job",
"inputs": [
{ "name": "source", "kind": "url", "one_of": "source", "given_by": "person",
"about": "The address of a public page to make the quiz from." },
{ "name": "reading", "kind": "document", "one_of": "source", "given_by": "either",
"accepts": ["application/pdf", "text/markdown", "application/vnd.example.page-read+json"],
"presentation": "document", "about": "A document, or another agent's read of a page." }
],
"outputs": [
{ "name": "quiz", "kind": "application/vnd.example.quiz+json", "when": "per_task",
"presentation": "quiz", "about": "The quiz, with the answers." }
],
"example": {
"inputs": { "source": "https://en.wikipedia.org/wiki/Photosynthesis" },
"good_result": "A quiz of up to twenty questions about photosynthesis, each with its answer and the part of the page it comes from."
}
}
],
"run_config": {
"settings": [
{ "name": "questions", "kind": "rule", "default": 20, "job_may_set": true,
"label": "Most questions", "about": "The most questions the quiz has." },
{ "name": "tone", "kind": "preference", "default": "plain", "allowed": ["plain", "playful"],
"job_may_set": true, "label": "Tone", "value_labels": { "plain": "Plain", "playful": "Playful" } }
]
},
"views": [
{ "id": "quiz", "for": { "offering": "make-a-quiz", "output": "quiz" },
"file": "views/quiz.html", "digest": "sha256:…", "requests": ["resize", "save-file"] }
]
}
6.13.10 Checking them#
Where a Descriptor carries these members, the check of Section 6.8 also confirms: that summary, where present, is one sentence of at most 200 characters; that started_by, works_as, given_by and presentation carry values from their lists; that will_not is a list of strings; that each value_labels key is one of its setting's allowed values; that a range sits on a numeric setting, with min no greater than max and a positive step, and holds its default; that a setting with multiple: true declares allowed and has a list as its default, each member allowed; that each accepts sits on an input of kind document and lists media types; that each offering whose started_by holds person declares an example, whose inputs name only the offering's inputs, give every required input and one member of each one_of group, and hold values of the three shapes of Section 6.13.8 with well-formed digests, https addresses and relative paths, and whose good_result is one sentence; and that each view's id is unique, its for names a declared offering and, where it names one, a declared output, its file is a relative path with no .. segment and no scheme, its digest is well formed, and its requests come from the binding's list. A package check (Section 12.10) also confirms that each view's file, and each example's file, is in the package and hashes to its digest, and that it names no address from which a script, a style, an image, a font or a frame would be loaded. The AgentDoc (Section 9) carries name and summary in its identity section, the offering and input members in sells, will_not in refuses as kind: "prose", and each view by its id, for and digest, never its bytes.
6.14 What an agent draws on: Setup, Library and This job#
Optional. This section is not required for conformance (Section 14): a Descriptor that carries none of its members, and a renderer that ignores them, still conform. Where a Descriptor carries its members, they mean what this section says, and its MUST and SHOULD apply. Nothing in it changes a member defined above, and a Descriptor that was valid under 0.37.0-draft stays valid.
An agent's work is shaped by more than the job it is sent. It runs with what it was connected to when it was installed, and it reads material that its organization keeps for many agents alike: a brand profile, a style guide, a glossary, templates, the systems the organization runs on, and the standard its agents are built to. This specification already keeps the first of these apart from the job: install settings (Section 12.4) and systems (Section 6.2) are bound once, while inputs and run configs (Section 5.8) are chosen for each job. The shared material has had no place of its own. It has travelled as an input, as a file copied into a package, or as a sentence in a request, so two agents of one organization can read two versions of its brand, and no record says which version shaped a piece of work. This section gives that material a place. It is the standing asset: a typed, versioned and approved document, layered from the agent's publisher to the job, which an agent declares in can_use and which a run record cites by digest.
Every member here is OPTIONAL, and an absent one means not stated (Section 6.4, rule 2). A consumer that does not know these members ignores them, as Section 6.2 requires of every unknown member.
6.14.1 The three sources#
Everything an agent draws on for a job comes from one of three sources. Their names are the words a page uses for them (the Descriptor to user interface binding, Section 5.4), and each maps to members this specification defines.
| Source | What it is | The members underneath | Who gives it, and when |
|---|---|---|---|
| Setup | What the agent is connected to, and with which keys. | The install settings of the runtime requirements (Section 12.4), and the systems the Descriptor names in systems[] with the bindings the deployment record names (Section 8.3). |
The operator, at install, and again whenever they change a setting. |
| Library | The organization's shared material and defaults, which many agents read. | The agent's can_use entries (Section 6.14.4), filled from standing assets (Section 6.14.2), and the default layers of its declared settings: the author's, the solution author's, the organization's, the team's and the person's (Section 5.8). |
Whoever keeps each layer, ahead of any job. |
| This job | What is given to the agent for this job, and the options for this run. | The offering's inputs[], and this run's layer of the run config (Section 5.8). |
The sender, with each job. |
Underneath the three sources there are five kinds of thing, and a reader MUST NOT read one as another: install settings, system bindings, run-config settings, inputs and standing assets. A secret lives only in an install setting, or in a caller's grant to an external input, which is that caller's own (Section 6.2). It never lives in a standing asset, a run config, an input or the Descriptor.
Which member a thing is. Every thing an agent takes is declared as exactly one of these, by this rule:
- An input (
inputs[]) is only the material the job is about, such as the page to read, the document to summarize or the brief to work from. A Descriptor MUST NOT declare as an input anything that rule 2 or rule 3 covers. - A setting (
run_config.settings, Section 6.2) is anything that only shapes how the job runs, such as a voice, a tone, a length, a style or a format, and anything that has a fixed set of values or a default. It is declared with alabel, adefaultand itsallowedvalues (Sections 6.2 and 6.13.1). - A standing asset (
can_use, Section 6.14.4) is the organization's material, such as a brand, a palette, a style guide, a glossary or a template. It is never an input, it reaches the agent only through acan_useentry, and it is resolved through the layers of Section 6.14.3.
A renderer draws each from its own member, as an input, a setting or a library entry (the Descriptor to user interface binding, Section 5.4), and MUST NOT reclassify one as another, whatever its name, its kind or its about says.
For example, an agent that makes a narrated explainer declares the brief as an input, because the explainer is about it; the voice and the length as settings, a preference with allowed voices and a rule whose default is the longest it may run; and the brand as a can_use entry, so the organization's approved brand profile reaches it from the library rather than as something a person attaches to each job.
6.14.2 Standing assets#
A standing asset is a typed, versioned, non-secret document that an organization, a team or a person keeps, and that many agents read. A brand profile, a style guide, a glossary, media templates, the organization's stack, an architecture standard and an audit checklist are standing assets.
- Its kind is named by a schema: an absolute
httpsURL that names a published shape, such ashttps://schemas.example.org/brand/v1. The version of the shape is part of the URL, because a shape edited at a stable address would silently change what every declaration that names it meant. The schema is read as a name and never fetched (Section 12.6, rule 3). It says which members of the kind are preferences and which are rules (Section 6.14.3), and whether the kind is work content or a standard (Section 6.14.6). - Its version is identified by its digest:
sha256:followed by 64 lowercase hex characters, the SHA-256 of the document's exact bytes. A change to any byte makes a new version, and a version is never edited in place. - Its owner is the organization, team or person that keeps it and answers for it.
- A person approves each version. An agent MAY draft a version, and Section 7.9's marker MAY record that it did. Only a person approves one, and a version that no person has approved MUST NOT be handed to any job.
- It holds no secret. A standing asset MUST NOT contain a credential, a key, a token or any other secret value. Its keeper MUST refuse to save a version that does. A secret is an install setting (Section 6.14.1).
The keeper of a standing asset holds, for each version, an entry with these members:
| Member | Holds |
|---|---|
schema |
The kind, by its schema URL. |
name |
What a person calls it, such as "Brand profile". It is a name for a person to read, and an agent matches an asset by its schema, never by its name. |
version_digest |
The digest of this version's bytes. |
owner |
The organization, team or person that keeps it, as its keeper names them. |
approved_by |
The person who approved this version, never an agent. |
approved_at |
When they approved it, as an RFC 3339 instant. |
layer |
The layer the version sits at (Section 6.14.3). |
A keeper SHOULD keep every version that a record cites, for as long as it keeps the record, so that a record of a run stays answerable after the asset has moved on.
6.14.3 Layers#
Standing assets are layered in the same way as the declared settings of Section 5.8, and by the same layers. From widest to closest they are:
- the publisher, whose versions travel in the agent's package;
- the organization the job runs for;
- a team inside that organization;
- the person running the job;
- the job, a version handed for this job only, approved by the person who hands it.
The publisher is Section 5.8's author. For a step inside a solution, the solution's author holds Section 5.8's solution author layer, between the author and the organization. A publisher MAY ship one set of versions for a family of agents it publishes together, and each agent in the family reads them at its publisher's layer. This version does not yet name the path or member that holds a publisher's versions in a package.
Each schema says which of its members are preferences and which are rules, in the words of Section 5.8, and a member it does not mark is a preference. The layers resolve member by member, as if each member were a declared setting:
- For a preference, such as a colour, a typeface or a tone, the closest layer that gives a value wins.
- For a rule, such as a contrast floor, a word that is never used or a check that must pass, the tightest layer wins. A closer layer MAY narrow a rule and MUST NOT widen it. A list of allowed values narrows to the values every layer allows; a list of things never allowed grows to hold every layer's; a number is a ceiling, and the lowest wins; for a yes or no, no is the tighter value.
- An organization or a team MAY lock a member, as Section 5.8 says of a setting. A keeper MUST refuse to save a version that widens a rule a layer above it states, or that gives a member a layer above it has locked another value.
The result is the resolved asset: one document of the kind's schema, which is what the agent reads. It is handed to the agent as bytes, with its schema and the versions it was resolved from, and never as an address (Section 12.6, rule 3). How the bytes travel is the binding's.
A republisher becomes a publisher. A party that publishes, for its own buyers, an agent it did not author is a republisher, whether it publishes a copy (Section 13.5) or a solution whose steps are other publishers' agents. For its buyers it is the publisher. A copy carries the republisher's versions at the publisher's layer, and nothing of its ancestor's publisher reaches into it (Section 13.6). A solution's author holds the solution author's layer beneath each step's own publisher, so it MAY narrow that publisher's rules and MUST NOT widen them.
On a record, layer takes the values of from in Section 8.7. A page says the layer's name; a record writes its word:
| A page says | A record writes |
|---|---|
| publisher | author |
| solution author | solution_author |
| organization | organization |
| team | team |
| person | person |
| the job | run |
Where the owner's layers were applied on the agent's side and the sender cannot see which of them gave a version, the sender's record writes owner, as Section 8.7 does.
6.14.4 can_use: what an agent reads from a library#
can_use[] on the Descriptor declares each kind of standing asset the agent reads. It is a caller-facing fact, so it is authored in the draft Descriptor and travels in the package (Section 12.3), and the schema of each entry is the one address a Descriptor carries (Section 12.6, rule 3). Each entry carries:
| Member | Holds |
|---|---|
schema |
The kind, by its schema URL. REQUIRED. No two entries name one schema. |
reads |
The members of the asset the agent reads, as dotted paths such as palette.ink. REQUIRED, and never empty. "Reads brand profiles" is the same sentence from an agent that honours one colour and one that honours all of them, and the list of members is what a caller can check. |
required |
true when the agent cannot do the work without a version of the kind. An absent required is read as false. |
does |
One sentence saying what the agent does with what it reads, which is why it reads it. |
without |
One sentence saying what the agent does when no version of the kind is given, such as "Uses black text on white." REQUIRED of every entry. Where required is true, it says that the agent refuses the job. |
without is the member that makes the declaration complete. An agent that reads a brand profile when one is given, and does something unstated when none is, has declared half of its behaviour. without states the other half in words a caller can rely on.
An agent reads only what its entries declare. It MUST NOT read a kind it does not declare, MUST NOT fetch a version of its own, and uses the resolved asset exactly as it is handed, as Section 5.8 requires of a setting. Where no version of a kind is handed, it does what without says and nothing else. Where an entry is required and a job is handed no version of its kind, the job is refused before any work starts, as Section 4.7.1 refuses a request that lacks a required input, with missing naming the entry by its schema.
An agent that writes for a person, such as a page, a document, an image or a message, and that declares no can_use, has said nothing about whether its organization's material shapes what it makes. A checker SHOULD report such an agent, and an operator who means it to read nothing SHOULD declare an empty list, which is a statement.
6.14.5 Run records cite every version used#
Whoever resolves the standing assets for a job writes the member standing_assets[] on the record it keeps of that run, beside run_config (Section 8.7). It holds one entry for each version the job was handed:
"standing_assets": [
{ "schema": "https://schemas.example.org/brand/v1", "version_digest": "sha256:…", "layer": "organization" },
{ "schema": "https://schemas.example.org/brand/v1", "version_digest": "sha256:…", "layer": "team" },
{ "schema": "https://schemas.example.org/glossary/v1", "version_digest": "sha256:…", "layer": "author" }
]
A kind that resolved from several layers has one entry for each version it was resolved from. A kind the agent declares and the job was not handed has no entry, and a reader reads the agent's without for it. The agent's job manifest (Section 5.7) SHOULD list, in the same shape and in the same member, the versions the agent read, so that what the job was handed and what the agent used are compared by digest, as the run config's are. A reader asks "which brand, which style guide and which standard shaped this work?" and answers it from the record alone.
6.14.6 Across companies#
When the party that starts a job is not the agent's owner, two libraries meet. Each kind is read from one of them, and the kind's schema says which. A kind whose schema does not say is work content.
- Work content is material that shapes what the requester receives, such as a brand profile, a style guide, a glossary or templates. It comes from the requester's library. The requester's side resolves its own layers (its organization's, its team's, its person's and the job's) and hands the result to the agent with the job, under the requester's grant, and the agent's side resolves it over the publisher's, as Section 5.8 does with a sender's values. Like a caller's grant in Section 6.2, the grant covers that job only.
- Build and check standards are material that says how the work is built or judged, such as an architecture standard or an audit checklist. They come from the operator's library. The agent's owner resolves them over the publisher's on the agent's side, as Section 5.8 applies the owner's layers.
An agent MUST NOT use one requester's version in another requester's job. It MUST NOT keep a requester's version after the job, beyond the digest its records cite. It MUST NOT fill a kind of work content that the requester did not give with a version from its operator's library: it does what without says. Within one organization, the two libraries are one, and this rule changes nothing.
6.14.7 An example#
The quiz maker of Section 6.13.9 reads two kinds of standing asset:
"can_use": [
{ "schema": "https://schemas.example.org/brand/v1",
"reads": ["palette.ink", "palette.ground", "palette.accent", "type.heading.family"],
"required": false,
"does": "Colours the quiz page and sets its heading face.",
"without": "Uses black text on white, with the reader's own fonts." },
{ "schema": "https://schemas.example.org/glossary/v1",
"reads": ["terms"],
"required": false,
"does": "Uses the organization's own words for its products in questions and answers.",
"without": "Uses the words of the source as they stand." }
]
The keeper of an organization's brand profile holds this entry for its current version:
{
"schema": "https://schemas.example.org/brand/v1",
"name": "Brand profile",
"version_digest": "sha256:…",
"owner": "Example Co",
"approved_by": "[email protected]",
"approved_at": "2026-10-20T16:04:00Z",
"layer": "organization"
}
A team at Example Co keeps its own version with a different accent colour. The brand schema marks palette.contrast_floor as a rule, so the team's version may raise the floor and may not lower it. A job run by a member of that team is handed the resolved profile, and the run record cites both versions, as in Section 6.14.5. When a second company engages the same quiz maker, the job carries that company's brand profile and glossary, and Example Co's own versions do not reach the work.
6.14.8 Checking them#
The check of Section 6.8 also confirms that each can_use entry has a schema that is an absolute https URL, a non-empty reads, a does and a without, and that no two entries name one schema. A package check (Section 12.10) confirms the same of the draft. A keeper that saves a version confirms that its digest matches its bytes, that approved_by names a person, that it holds no secret, and that it widens no rule a layer above it states and changes no member that a layer above it has locked. A checker of a run record confirms that each entry in standing_assets[] names a schema the agent declares in can_use, and a layer from the list in Section 6.14.3.
How a page about an agent is drawn from its Descriptor is set out in the Descriptor to user interface binding.
The AgentDoc is assembled from an agent's Descriptor and the records others sign about it. It is Section 9 of the specification and has a site of its own at agentdoc.net.