Wednesday, November 25, 2026
HomeJavaScriptauto-agent-protocol/auto-agent-protocol: The open automotive contract for MCP, A2A and Private Agent Protocol:...

auto-agent-protocol/auto-agent-protocol: The open automotive contract for MCP, A2A and Private Agent Protocol: supplier discovery, stock, proof, pricing and consented inquiries. · GitHub


Auto Agent Protocol 4.0 — automotive skills through MCP, A2A and PAP

Specification
Validate
License

One open automotive contract for MCP, A2A and Private Agent Protocol. Uncover dealerships, search actual stock, confirm automobile details and costs with rebates, and ship customer-approved inquiries. Sellers may also supply trade-in valuation and credit score functions.

Web site · Specification · FAQ · Migration · Full spec for brokers

MCP, A2A and PAP connect buyer agents to one automotive contract and dealership backends

Native in all three interfaces

Interface Native operation Automotive contract
MCP Streamable HTTP instruments; present 2026-07-28 and 2025-11-25 compatibility Typed arguments, full schemas and structured outcomes
A2A 1.0 SendMessage with the required AAP extension The identical payload in DataPart.information
PAP 1.0 Delegated Poppy-Session JWT plus Poppy-Model: 1.0 on each request; native OpenAPI The identical request and response our bodies

A full AAP 4.0 supplier deployment serves its carried out ability subset by way of all three. A purchaser consumer wants solely its chosen binding. AAP doesn’t require a dealer-side language mannequin or a brand new CRM.

A working MCP endpoint is required. The generated mcp.json catalog describes instruments; it’s not a server. See conformance and runtime acceptance.

Discovery begins on the dealership

The dealer domain publishes an Agent Card, Poppy document and llms.txt linking its working MCP, A2A and PAP endpoints

Vendor-domain useful resource What it tells an agent
/.well-known/agent-card.json A2A endpoint, chosen AAP contract, abilities, search capabilities and MCP/PAP hyperlinks
/.well-known/poppy.json PAP 1.0 id, non-compulsory issuer, native API and the AAP extension entry linking the opposite discovery paperwork
/llms.txt Precise service URLs, entry necessities, documentation and stock hyperlinks

The service might run on a supplier’s infrastructure. Each entry level identifies the identical dealership and precise capabilities. Discovery helps appropriate brokers discover a service; it doesn’t assure that each assistant will select it.

Begin from the Agent Card, Poppy doc and supplier llms.txt. These release-pinned templates use fictional sellers: exchange their id, URLs and capabilities earlier than deployment. Discovery necessities →

5 core abilities, two non-compulsory, one automotive journey

A buyer agent discovers a dealer, searches inventory, verifies one vehicle and submits a consented inquiry

Core: Vendor info · Sides · Search · Automobile element · Lead submission

Non-compulsory: Commerce-in valuation (trade_in_submit) · Credit score utility (credit_application_submit)

Five core skills and two optional skills, each declared with its capabilities on every binding

Browse with out shopper contact particulars. Submit a lead solely with express consent, permitted channels and an idempotency key. A acquired inquiry and a confirmed appointment are separate outcomes. A supplier declares an non-compulsory ability solely when it implements it, with the identical capabilities on each binding.

  • PAP 1.0: each request with the delegated Poppy-Session JWT additionally sends Poppy-Model: 1.0; a lacking or incompatible model returns HTTP 400 version_unsupported. Extensions are per-version lists, one non-compulsory duties.endpoint replaces the separate job hyperlinks, Firms settle for ES256 and PS384, and Periods are appeared up by consumer, SID and Person ID.
  • snake_case in all places: ability ids and message sorts drop their dots (lead.submit → lead_submit, lead.submit.request → lead_submit_request, aap.error → aap_error). MCP device names akin to aap_lead_submit are unchanged.
  • Rebates: new automobiles can record rebates[]. Unconditional rebates are already in value; conditional rebates keep separate as potential financial savings.
  • Non-compulsory trade_in_submit: a consented trade-in submission carrying the identical buyer information as a lead; the reply might add a valuation as an quantity or vary, an estimate or a proposal.
  • Non-compulsory credit_application_submit: one utility with credit score consent from every applicant, a delicate or onerous inquiry, and delicate information that’s by no means echoed. Sellers implement it by API, by no means by way of ADF/XML or e mail.
  • Preserved automotive conduct: the 5 core abilities, forex, odometer models, pricing, tools proof, lead consent, MCP, A2A 1.0 and bridge model 1 retain their meanings. lead_submit nonetheless accepts a trade-in and by no means returns a valuation.

Unconditional rebates are already inside the advertised price; conditional rebates stay separate

A credit application: read capabilities, collect data, record each applicant's consent, submit once, read status and decision

This can be a main launch with required PAP consumer migration. Frozen AAP 3.2 retains printed PAP 0.3; its endpoints and artifacts stay unchanged, and a supplier can hyperlink that doc from supported_versions throughout migration. Migration information →

Automotive element, shared throughout automobile sorts

Cars, motorcycles and electric powertrains share listing identity, availability, price and equipment evidence

Equipment is present, absent or unknown; positive and negative claims need source evidence

Recognized costs embrace necessary supplier expenses and unconditional rebates; solely government-required client expenses are excluded. Non-compulsory payment itemization explains the prevailing complete, and conditional rebates are by no means subtracted from it. Unknown tools and costs keep unknown.

Automobile form · Pricing · Consent and conduct · CRM / ADF mapping

Commerce-in valuation and credit score utility submission are non-compulsory abilities. Funds, checkout, reservations and binding buy quotes are exterior AAP’s scope.

Reviewed JSON Schemas produce matching schemas, TypeScript types and runtime validators

npm set up @autoagentprotocol/schemas@4.0.0 @autoagentprotocol/sorts@4.0.0 @autoagentprotocol/validator@4.0.0

Use Node.js 22+ and the pnpm 10 model pinned in package deal.json. Corepack and up to date pnpm launchers choose that model routinely; each CI workflows use the identical pin. Run heavy checks one by one.

pnpm set up --frozen-lockfile
pnpm validate
pnpm check:contract
pnpm typecheck
pnpm construct

Official MCP and A2A shoppers train actual HTTP contract fixtures. PAP checks cowl discovery, id, session schemas and generated OpenAPI. These validate the specification; every manufacturing deployment should additionally confirm stay authentication, stock, consent and CRM conduct.

See all verification instructions, launch preparation and visible era.

Repository map

Path Objective
spec/newest/, docs/ Editable contract and documentation
docs/img/ Reproducible SVG diagrams; pnpm generate:photos
spec/v*/, versioned_docs/ Immutable launch snapshots
releases/v*/ Generated artifacts, provenance and integrity
packages/ Schemas, sorts and validator packages
src/ Web site and interactive explanations
instruments/ Mills, validation and launch checks

/newest machine artifacts comply with the secure registry. /docs/newest is editable documentation and will describe a future launch. Pin the marketed model for an integration.

Contribution information · Safety studies · Code of conduct · Model property

Specification, schemas and code: Apache-2.0. Documentation prose: CC BY 4.0.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments