Changelog
Breaking changes to the draft are listed here with what an owner or a caller has to change.
1.0 Draft, October 23, 2026, link the door from pages agents read
Nothing breaks. Callers still try /agent.txt first and ignore the homepage when that file is a valid door.
- Owners should add
<link rel="agent" href="https://{domain}/agent.txt">on the homepage even when the root file is valid. The sameLinkheader means the same thing. Agents that are reading the page find the door there. - Owners should add one line to
llms.txtthat points at/agent.txtand says to ask there. - Owners may list the file in
/.well-known/ai-catalog.jsonwithtypetext/plain. A site that publishes/.well-known/ard.jsonlists the same entry there.
1.0 Draft, October 23, 2026, finding the file
A host that cannot serve a file at the root can still publish a door. Nothing breaks for a site that already serves /agent.txt.
- A redirect from
/agent.txtmay go to any https URL. The company's domain is vouching for the target. - When
/agent.txtis missing, an HTML page, or has noCAPline, a caller reads the homepage. It followsLink: <url>; rel="agent"or<link rel="agent" href="url">in the head, then fetches that file once. - The door belongs to the domain the caller asked. The host that served the file does not.
- A valid
/agent.txtstill wins. Callers do not look at the homepage.
1.0 Draft, October 19, 2026, hosted caller card
Spec now points at one hosted card. Nothing breaks: a door with its own card still works.
- Owners should set
Spec: https://conciergeprotocol.org/cap.txtinstead of copying the card to their domain. The hosted card covers every CAP 1.x door. - A caller may skip fetching the card when it already knows CAP.
- The reference server writes the hosted
Specline by default.agent.specstill overrides it.
1.0 Draft, October 16, 2026, access scope
Logins can now ask to make changes. Nothing breaks: a login without scope reads, as before.
- A caller may send
scope=writewith either login. Owners that offer it listscopes_supported: ["read", "write"]. - The person can allow changes, allow read only, or deny. The token response's
scopesays what was granted, and a renewed token keeps it. - Owners may give write tokens a shorter lifetime and should have the person confirm actions that are hard to undo.
- A held action comes back as
confirmationon adonemessage, with aurlfor the person and asummary. The caller pollsGET /cap/v1/confirmations/{id}until it isdone,failed,denied, orexpired. The owner runs an approved action once. - The reference server implements both:
oauth.write,oauth.write_access_token_seconds,scopefor the handler,confirmfrom the handler,boot({ act }), and a confirm page at/oauth/confirm. The store example adds gift wrap with a write login and a cancel that waits for the person's OK. - New guide for owners: Add login to your agent.
1.0 Draft, October 16, 2026, code login
A visiting agent can now log in with only HTTP. Owners with an OAuth line must support it. Callers no longer need a client document.
- The code login is the OAuth device authorization grant (RFC 8628). Metadata lists
device_authorization_endpoint. The caller postsclient_id=agent:{id}, tells the person theverification_uri_completeanduser_code, and polls the token endpoint. - The token is bound to that
CAP-From. The owner shows the agent's name as not verified unless theclient_idis a client document URL. - The redirect login (PKCE with a client document) is now optional for owners.
- The reference server adds
/oauth/deviceand anoauth.device_intervaloption.
1.0 Draft, October 16, 2026
Account login is now fully defined. Owners that answered account questions with tokens issued some other way need to adopt this flow. Callers need a client document.
- The
OAuthline is the authorization server's issuer. Callers read its metadata (RFC 8414). - Login is OAuth 2.1 with PKCE (
S256). The visiting agent'sclient_idis a URL to its own client document, withclient_name,redirect_uris, andcap_from. There is no registration step. - The owner binds each token to the document's
cap_from. AnotherCAP-Fromwith that token is403. - Refresh tokens rotate. Revocation follows RFC 7009. DPoP is optional.
- A redirect from
example.comtowww.example.comis followed when findingagent.txt. - The reference server replaces its
demo_oauthroutes with a real authorization server, configured with anoauthblock.
1.0 Draft
First public draft.
- One file,
agent.txtat the root of the company's domain. The first line isProtocol: CAP/1.0. - One object, the message, with the statuses
working,done, andfailed. - Two endpoints:
POST /cap/v1/messagesandGET /cap/v1/messages/{id}. - Follow-ups with
previous_message_id. The owner rebuilds the thread from its own records. - Account questions with an OAuth bearer token.
login_requiredwhen no grant was sent.
CAP