Skip to main content
Version: 4.0.0

Versions and migration

AAP 4.0.0 adopts PAP 1.0. It is a major release: PAP 1.0 changes required Session headers, discovery shapes and key acceptance, so AAP 3.2 clients and servers must migrate. Automotive payload fields keep their meaning. AAP 4.0 renames skill ids and message types to snake_case, and adds vehicle rebates, horsepower and two optional skills.

Edit and verify the draft, freeze a new release, then publish and switch a verified deploymentOpen full-size diagram

Four independent version numbers​

IdentifierMeaning in AAP 4.0
AAP 4.0.0 / contract v4.0Target automotive schemas, bindings and behavior: five core and two optional skills. Draft authoring still uses 4.0.0
MCP 2026-07-28 + 2025-11-25Current wire protocol and explicit compatibility path
A2A 1.0Agent Card, Message and JSON-RPC protocol. Upstream 1.0.1 is a patch with no contract change
PAP 1.0Stable specification pinned to commit 8c02b4282eda53468a7c09412558bc8b060d95f6; AAP bridge entry stays version: "1"; optional Operations extension version 3

A server's software version is separate. A PAP 0.3 client is not an AAP 4.0 client, a PAP 1.0 client is not automatically an AAP client, and MCP version negotiation does not choose an automotive schema version.

AAP 3.2 to 4.0​

PAP 0.3 to 1.0: version header, extension lists, one tasks endpoint, PS384 and Session lookup by User IDOpen full-size diagram

PAP 1.0 migration​

AAP 4.0 targets PAP 1.0 at commit 8c02b4282eda53468a7c09412558bc8b060d95f6 (spec SHA-256 559a191127cb81d4e77360cd1cfae35233178a89b71b39c0534142a2bab918d6). Frozen AAP 3.2 keeps published PAP 0.3 at commit 6fb46d381ac1b94265795132af13848ec442b6f6. Full rules are in the PAP binding.

SurfaceFrozen AAP 3.2 (PAP 0.3)AAP 4.0 (PAP 1.0)Action
protocol_version"0.3""1.0"; readers accept every 1.x document and ignore unknown fieldsPublish 1.0
Version selectionOne version per documentOptional supported_versions on the same host, same domain and issuer; newest compatible version winsLink the frozen document while both are served
Request headersPoppy-SessionAlso Poppy-Version: 1.0 on every request; Poppy-Extensions (RFC 9651, e.g. "autoagentprotocol.org/aap";v="1") when using extensions; same values per SessionSend them; servers verify Poppy-Version before every skill
Version errorsNoneHTTP 400 version_unsupported; the client refetches poppy.json and chooses again. Only if it chooses another version does it start a new Session and resend once; otherwise it stopsImplement on both sides; no omission leniency
ExtensionsOne object per nameA list with one entry per major version; AAP bridge entry version: "1" with unchanged fieldsWrap the bridge object in a list
Extension errorsNoneHTTP 403 JSON {"error":"extension_required","extension":…}; never for the AAP bridgeHandle it; remove extensions from client metadata
Task coverageexcluded_tasks.url, skill_index, feedback.endpoint in poppy.jsonOne tasks.endpoint; GET with the Session header and no token returns the Session's excluded tasks, skill index and feedback endpointMove them to the tasks response (poppy-tasks)
Signing algorithmsES256 required, PS384 recommendedDealers MUST accept ES256 and PS384 for client assertions and delegations; Session JWTs stay ES256Accept PS384
Client assertionsShort-livedexp at most 5 minutes after iat; 5 minutes or less is never rejectedBound replay stores accordingly
Session lookupclient_id + sidclient_id + sid + User ID; an unknown combination starts a new signed-out SessionChange the lookup key
organization.domainHostHost, plus port when not 443Keep production on 443
Website pagesNever carry the Session headerPages on exactly organization.domain, fetched without a browser, SHOULD carry it, never a tokenClients send it; pages may verify it
Sign-in, if advertisedPKCE, device grantDirect preferred; iss; prompt=consent; PAR; consent lists every scope; RFC 10027 §2; device link host check; same DPoP key at refresh; one sign-in for every resource; invalid_targetRe-test the whole flow
Browser join, if advertisedThree stepsPlus poppy:browser-sign-in for signed-in joins, web.unscoped, web.disabledAdd the scope and flags
Conversations, if advertisedstatusRequired description; four state fields; request IDs; handoff cancel; close returns 202; version_mismatchRe-implement to 1.0
Operations, if advertisedNot coveredVersion 3 approvals for the three write skillsOptional
Native PAP MCP, if advertisedStreamable HTTPPAP accepts MCP 2025-06-18 or later (AAP keeps its two revisions); token resource = the MCP urlRe-test resource metadata

The automotive payloads, consent rules, lead_submit and idempotency semantics carry over. Bind idempotency to the stable verified caller and User, never to a delegated key or sid, and reconcile uncertain writes before switching.

snake_case names​

AAP 4.0 uses one spelling. Skill ids, message types and the two envelope types drop their dots; field names, error codes and MCP tool names were already snake_case. Payload fields keep their meaning.

AAP 4.0 renames dotted skill ids, message types, the error type and PAP paths to snake_case; MCP tool names are unchangedOpen full-size diagram

AAP 3.2 and earlierAAP 4.0MCP tool (unchanged)
dealer.informationdealer_informationaap_dealer_information
inventory.facetsinventory_facetsaap_inventory_facets
inventory.searchinventory_searchaap_inventory_search
inventory.vehicleinventory_vehicleaap_inventory_vehicle
lead.submitlead_submitaap_lead_submit
not availabletrade_in_submitaap_trade_in_submit
not availablecredit_application_submitaap_credit_application_submit
Where the name appearsBeforeIn AAP 4.0
Agent Card skills[].id and AAP params.skills keyslead.submitlead_submit
Payload typelead.submit.request, lead.submit.responselead_submit_request, lead_submit_response
Error and event typeaap.error, aap.eventaap_error, aap_event
Error detail field in details.errors[]instanceLocationinstance_location
Reserved event kindslead.status_changed, appointment.status_changedlead_status_changed, appointment_status_changed
PAP path and x-aap-skill/skills/lead.submit/skills/lead_submit, equal to the operationId
MCP _meta skill and type fieldslead.submit, lead.submit.requestlead_submit, lead_submit_request
UnchangedMCP tool names, PAP operationId, media types such as application/vnd.autoagent.lead-submit-request+json, schema file names, field names, error codes

A 3.x payload with a dotted type is rejected by the 4.0 schemas. Rename in clients and servers together, on the version-pinned 4.0 endpoints only. The older sections of this page describe earlier releases in the current spelling.

Contract additions​

AdditionContract
RebatesOptional rebates[] on the shared Vehicle, new vehicles only. Unconditional programs are already in price; conditional ones never are. Omitted means no information. See pricing
horsepowerOptional Vehicle number, peak total output in hp
Newly typed namesrebates and horsepower were free additional vehicle attributes in 3.2. A feed that used either name with another shape, such as "horsepower": "203 hp", must rename or convert it
trade_in_submitOptional skill: a consented trade-in submission with the same customer data as a lead; the reply may carry a valuation as an amount, a range or both, estimate or offer. See trade-in
credit_application_submitOptional skill: individual or joint application with each applicant's own credit consent (soft or hard inquiry). See credit application
Consent scopeNew trade_in_submission for trade-in contact; lead_submission is unchanged
CapabilitiesBoth optional skills require a capabilities object in the Agent Card params and the same object in the MCP tool _meta
PAP schemaspoppy-tasks replaces poppy-excluded-tasks; new poppy-operation, poppy-approval, poppy-approval-required, poppy-operation-result, poppy-approval-declined
ErrorsNo new AAP error codes

A dealer declares only the skills it implements, identically on all three bindings. Clients must not assume the optional skills exist.

Coexistence​

  1. Keep frozen AAP 3.2 endpoints, Agent Card and Poppy document unchanged while AAP 4.0 is tested.
  2. Publish AAP 4.0 at separate version-pinned Agent Cards and endpoints. One origin has one default well-known card; distribute other card URLs by configuration or a registry, or use separate origins.
  3. For PAP, serve the AAP 4.0 document at /.well-known/poppy.json with supported_versions: {"0.3": "<URL of the frozen document on the same host>"}, keeping the same organization.domain and issuer. PAP 0.3 clients do not read supported_versions; keep them on explicit AAP 3.2 configuration until they migrate.
  4. Never retry an uncertain write through another contract with a new key. Reconcile it with its original key first.
  5. Retire AAP 3.2 by sending Deprecation and Sunset, then removing it from supported_versions, then stopping it.

AAP 3.0 to 3.1​

History: the additive 3.0 → 3.1 transition. Its rules still hold in AAP 4.0.

AreaExisting 3.0 meaningAdditive 3.1 behavior
Vehicle amountsWhole USDOptional currency labels USD or CAD; omission still means USD. It covers price, list_price, msrp and vehicle fees
Vehicle odometerMilesOptional mileage_unit labels mi or km; omission still means mi. Returned numbers remain native
Rooftop fee defaultsWhole USDOptional rooftop currency; omission still means USD. Never infer vehicle currency from it
Search and facetsUSD prices, mi odometer comparisonsOptional top-level currency and mileage_unit; use declared capability defaults, falling back to USD/mi. One currency scopes every matching set; mileage comparisons convert exactly
Facets without searchUSD/mi requests without search capabilitiesAccept explicit USD/CAD and mi/km contexts; omitted contexts remain USD/mi. No search capability declaration is needed
CapabilitiesNo monetary or odometer contextOptional currencies, default_currency, default_mileage_unit; declarations must agree across bindings
Results and cursorsUSD/mi implicitLabel effective nondefault contexts explicitly on search/facet data; bind both contexts into cursor identity. Per-vehicle labels never inherit query context
Geographic and electric rangeExplicit _mi fieldsUnchanged: miles for every country and odometer unit
Leads and trade-insUSD/mi if numeric values are presentPreserve explicit currency and odometer labels with each partial vehicle description

This requires schema, generated tool/OpenAPI metadata and runtime changes together. Documentation alone cannot establish the new fields or comparison behavior. Keep existing 3.0 and approved connector endpoints operating under their original contracts while publishing separate 3.1 discovery and endpoints. See currency and odometer context for exact defaults and comparison rules.

For implementers​

History: the AAP 2.1 → 3.0 major migration. Implementations coming from 2.1 apply it, then the later transitions, ending with AAP 3.2 to 4.0. It made MCP native, added dealer-domain discovery links and search capabilities, and tightened automotive results and lead outcomes. Migrate the implementation and its clients before switching discovery. Keep each supported automotive contract at its own card and endpoint identity.

AreaAAP 2.1AAP 3.0 action
MCPReference manifest/optional adapterImplement native Streamable HTTP for both required revisions, actual tools/list and typed success/error results
Request headersA2A version and extension headers mandatoryAccept omitted A2A headers on contract-pinned endpoints and omitted MCP mirror headers when the body or this client's negotiated session supplies the value. Keep supplied-value conflict checks and all authentication requirements; see the binding pages for this AAP compatibility extension
PAPDraft 0.2 authentication and discoveryAAP 3.0 adopted the earlier draft 0.3 profile. Upgrades apply the published 0.3 migration below, then the PAP 1.0 migration; changing the version label is insufficient
DiscoveryA2A + PAP pairAdd complete AAP params, exact MCP URL, search capabilities, release metadata and dealer /llms.txt
Search filtersEmpty arrays, repeated values and empty queries can validateAdvertise supported keys/sorts; deduplicate arrays and omit empty optional filters. Reject make: [], make: ["Honda", "Honda"], empty/whitespace-only query, unknown keys and unsupported constraints; implement explicit query token rules
FeaturesFree-text attributesAdd features_all (AND), features_any (OR), advertised feature vocabulary and source-backed feature_evidence; unknown is not absent
GeographyLocation context without a radius contractIf advertised, implement near, haversine miles, radius filtering and distance_mi ordering
Coordinate names — breaking for deployed clientsSome deployment extensions accept near.lat / near.lng, including in validation-error hints; these were not AAP 2.1 schema fieldsUse near.latitude / near.longitude. Update handlers, client/tool schemas, examples and error hints together; AAP 3.0 rejects the short keys
PaginationOffset/limit; schema permits pagination.limit up to 1000Maximum falls to 100. Update clients requesting 101–1000 to use at most the advertised max_limit (never above 100) and follow next_cursor; total is exact or null; no silent result caps
Search responsedata.limit is optionalAlways return the effective data.limit, even when the client omitted it, plus next_cursor, applied_filters and effective sort; include query terms and distance/evidence when applicable
Aggregate sellerOpaque dealer_id without a lookupExpose dealer_information with a dealer_id selector; echo the same ID and actual seller profile before consent. Parameterless dealer-scoped requests remain valid
Inventory listingsSome guarantees only in proseRequire eligible status, updated_at and a stable identifier in search/detail responses
Lead retriesOptional key; duplicate is a lead statusRequire idempotency_key; retain atomic deduplication for at least 24 hours. Replay the complete original result with data.replayed: true, preserving received/rejected, appointment details and message. status: "duplicate" is removed
Contact channelsConsent declarationRequire matching contact data and an authorized preferred channel; reject unusable grants before delivery
Appointment outcomeSome conditions only describedEnforce time on confirmed and alternatives on proposed. Any appointment included on a rejected lead must also be rejected
ErrorsExisting automotive vocabulary; retry timing optional and may use secondsAdd DEALER_NOT_FOUND, UNSUPPORTED_FILTER, UNSUPPORTED_SORT, INVALID_CURSOR. RATE_LIMITED requires details.retry_after_ms; multiply seconds by 1,000. retry_after_seconds alone is insufficient. HTTP 429 also requires Retry-After
Error detailsaap_error.details accepts unrestricted JSON, including strings, arrays and nullWhen present, details must be an object. Convert custom diagnostics to details.errors[], where each item requires a JSON Pointer instance_location, a nonempty keyword and a nonempty error; additional detail fields remain allowed

The public DayHours and WeeklyHours TypeScript exports are retained. DayHours remains {open, close} | null; consumers keep their existing imports.

In AAP 3.0, pricing semantics, the five canonical skill IDs, A2A 1.0 wire form and discovery bridge 1 remained, and PAP moved to draft 0.3. Do not weaken authentication to make a client with missing credentials appear compatible.

Release order and version discovery​

  1. Publish the approved version-pinned specification, schemas and artifacts.
  2. Upgrade clients and server handlers, then pass runtime acceptance.
  3. Publish consistent Agent Card, Poppy and llms.txt links to the implemented endpoints.
  4. Switch the default discovery only when that complete contract works.

One A2A card declares exactly one required AAP extension. Several required versions do not express an either/or choice. A2A forbids automatic fallback to an earlier extension version.

For coexistence, retain separate version-specific cards and endpoints. One origin has one default well-known card; distribute other card URLs through explicit configuration or a registry, or use separate origins. For a coordinated cutover, communicate which clients must migrate and when the old endpoint retires. A new URI alone does not make retirement backward compatible.

Do not retry an uncertain lead, trade-in or credit application through an older contract with a new key. Preserve its identity and reconcile the earlier outcome.

PAP 0.3 migration​

History: the AAP 3.1 → 3.2 transition. AAP 4.0 continues with the PAP 1.0 migration.

AAP 3.2 targeted published 0.3 at commit 6fb46d381ac1b94265795132af13848ec442b6f6. Frozen AAP 3.1 pins October 26 commit 86f0c8d8db3c95cf06d7e05370ec4bddf7d25bc7, which used the same upstream 0.3 label but a different authentication model. AAP 3.2.0 made this migration as a minor-release exception and reserved the next major for PAP 1.0. Required authentication fields and meanings changed, so older clients required migration. The release tool permits this minor exception only for the reviewed specification hash and the 3.1.0 → 3.2.0 pair. The release snapshot and package versions identify this transition; frozen earlier releases remain unchanged.

SurfaceFrozen AAP 3.1 profileFrozen AAP 3.2 published PAP 0.3 binding
Signed-out accessOAuth guest JWT grant, two assertions, Session Token and DPoPFresh delegated Poppy-Session JWT on each request; no guest token grant
Company identityRequired auth.issuerDiscover domain protected-resource metadata; optional issuer; domain fallback only after explicit absence, never errors
Existing Company issuerMandatory guest issuerRetain its exact identity; auth.disabled: true disables new sign-in without resetting User IDs or Sessions
Session identityDPoP key thumbprintclient_id + sid; same User/Agent IDs, delegated keys may rotate
DelegationNot definedIdentity-key-signed ES256/PS384 delegation, public ES256 delegated key, at most 24-hour lifetime, no user/company identifiers
Request bindingToken plus DPoPSession JWT method/URL/time; optional token hash and same-client binding; OAuth DPoP remains separate when used
Failure recoveryGuest token/proof OAuth errorsHTTP 400 invalid_session or session_ended; safe optional description; new-SID retry once for ended Session
Issuer grantsJWT bearer and refresh requiredOrdinary OAuth refresh required; account sign-in optional
Discovery fieldsapis[].resource, auth.mediatedResource metadata via RFC 9728; mediated sign-in is an extension; optional auth.disabled, conversation access and skill_index
Account tokenSession-bound guest/sign-in token flowOrdinary Bearer or DPoP access token plus refresh; reduced scopes permitted, scope expansion forbidden
Native PAP MCPMandatory guest-token exchange for non-DPoPSession header and ordinary OAuth where needed; no mandatory legacy exchange
Browser joinDPoP nonce containing code in browser formAgent authorizes code by JSON POST to /authorize with Session header, then browser redeems code with cookie
Generated artifactsGuest/exchange schemas and OpenAPI DPoP schemeDelegation/Session/error/ordinary OAuth schemas and Poppy-Session header security

Keep the existing endpoint/profile while testing a separately configured replacement. Do not change the meaning of a frozen endpoint or replace default discovery before release and deployment approval. Optional account sign-in, browser, conversation and native MCP surfaces require their complete independent acceptance before advertisement.

Update client constructors and generated schemas together. Preserve automotive payload meaning and the bridge extension version; the AAP contract version is a separate decision. Lead idempotency remains bound to stable verified caller/User identity, never to a rotating delegation key or a newly created Session. Reconcile uncertain writes before migration.

PAP 0.2 migration​

History. This heading remains as a historical link. AAP 2.1 used PAP 0.2; its frozen migration record documents the earlier 0.1 → 0.2 transition. AAP 3.2 targeted published 0.3 directly and AAP 4.0 targets PAP 1.0; frozen releases retain their pinned profiles. No intermediate 0.2 deployment is needed. Both the historical 2.0 → 2.1 and the 3.1 → 3.2 minor-release exceptions are pinned to their reviewed specification hashes and do not permit unrelated breaking changes.

Breaking migration checklist​

History: the AAP 1.x → 2.0 checklist.

An upgrade from AAP 1.x must also apply the frozen 2.0 migration: paired PAP discovery and native API, required response contexts, standard A2A error detail arrays, securityRequirements shape, exact extension activation and truthful media types. Direct upgrades must implement the final contract in full; they need not deploy every intermediate version.

Editable work and stable releases​

Source or URLMeaning
spec/latest/, docs/Editable specification and documentation
/docs/latest/Editable documentation with an unreleased banner
spec/v3.2/, /v3.2/, /docs/v3.2/Frozen AAP 3.2 contract, artifacts and documentation
/latest/Artifact alias of the stable release named by releases.json

Draft schema/extension URLs use https://draft.autoagentprotocol.invalid. Release preparation replaces them with immutable production identifiers. Agents pin the selected release rather than relying on a moving /latest/ alias.

SemVer and immutability​

AAP normally follows Semantic Versioning. Optional additive behavior can be minor; removed fields, tighter validation, changed required meanings or new mandatory interfaces normally require a major release. The PAP transitions to AAP 2.1 and 3.2 were minor-release exceptions, with required client migrations documented above. AAP 4.0.0 is a normal major release: PAP 1.0 was the major reserved for it. These decisions do not waive compatibility checks for other changes; the structural report remains conservative and does not replace semantic review.

Contract paths contain major/minor only, so the release tool creates MAJOR.MINOR.0 snapshots. Published snapshots are never edited, including their diagrams. Editorial corrections enter the editable source for a later release.

A release freezes schemas, examples, skills, docs/sidebar/images, generated TypeScript/OpenAPI/MCP artifacts, provenance, a compatibility report and SHA-256 integrity. CI and local checks reject changes under previously released paths. Historical artifacts are copied from their snapshots, never regenerated using newer tooling.

Preparing a release​

Commit reviewed edits to the working sources, then rehearse:

pnpm release:prepare 4.0.0 --dry-run

After reviewing the compatibility report, run without --dry-run from a clean tree. The command validates and freezes the new contract, generates artifacts, records the source commit/hashes and updates registry/package versions. It does not commit, tag, push, publish npm packages or deploy the site. See RELEASING.md.

A2A version handling​

Portable A2A clients send A2A-Version: 1.0 and the exact A2A-Extensions URI. AAP (since 3.0) additionally accepts their omission on a contract-pinned endpoint, using its configured A2A 1.0 interface and AAP contract. Supplied values still take effect: unsupported versions return -32009, and an explicitly empty version means 0.3, not a request for a default. This compatibility extension does not change strict upstream client requirements or permit automatic contract fallback. See request headers.