知识库

Eye(FR) → Mill(skill) → Library(/app)

← 返回列表
手动添加 · 2026-05-05 · 待补写

GitHub - auto-agent-protocol/auto-agent-protocol: Automotive Agent Protocol · GitHub

结合的源文章

主源
GitHub - auto-agent-protocol/auto-agent-protocol: Automotive Agent Protocol · GitHub
打开原文 ↗

原文快照

展开 / 收起快照
GitHub - auto-agent-protocol/auto-agent-protocol: Automotive Agent Protocol · GitHub
Skip to content

auto-agent-protocol/auto-agent-protocol

Repository files navigation

Auto Agent Protocol (AAP)

Auto Agent Protocol — the A2A v1.0 Automotive Retail Profile

The A2A v1.0 Automotive Retail Profile.

AAP is the open A2A profile that lets AI agents discover dealerships, browse inventory, and submit consented leads through typed automotive messages riding on top of A2A v1.0. A compliant dealer agent is an A2A agent that publishes an agent-card.json with the AAP automotive extension URI (https://autoagentprotocol.org/extensions/a2a-automotive-retail/v0.1) and implements the seven required automotive skills. Buyer agents can use either A2A binding — JSON-RPC 2.0 or HTTP+JSON — to invoke the same skills with identical payloads.

agent-card.json — the contract every AAP dealership exposes, advertising A2A v1.0 compliance, the AAP automotive extension, the seven required skills, and supported bindings

v0.1 Scope

  • Discovery via /.well-known/agent-card.json (A2A-compatible)
  • Inventory: facets, search, vehicle detail
  • Dealership information: name, address, contacts, schedule, capabilities
  • Leads: general inquiry, vehicle-specific, appointment request
  • ADF/XML mapping documented for legacy CRM compatibility

v0.1 does not cover: authentication, payments, financing, RFQ/quote flows, trade-in valuations, or reservations.

How an AI agent buys a car — discover via /.well-known/agent-card.json, browse with inventory.search, inspect with inventory.vehicle, schedule with lead.appointment, and hand off to a CRM via lead.vehicle

Quick links

Packages

AAP SDK — three open-source TypeScript packages: @autoagentprotocol/types, @autoagentprotocol/schemas, and @autoagentprotocol/validator

Package Description
@autoagentprotocol/types TypeScript types generated from JSON Schema
@autoagentprotocol/schemas Raw JSON Schema files as importable modules
@autoagentprotocol/validator Ajv-based validators for all AAP objects

Development

Prerequisites

  • Node.js 22+
  • pnpm 10+

Setup

pnpm install

Commands

pnpm run validate          # Validate schemas and examples
pnpm run generate          # Generate types, OpenAPI, doc tables
pnpm run build             # Build the documentation site
pnpm start                 # Start local dev server

Repository structure

spec/v0.1/schemas/         JSON Schema 2020-12 source of truth (committed)
spec/v0.1/examples/        Example payloads (committed)
spec/v0.1/skills.yaml      Skills manifest (committed)
docs/                      Hand-written documentation pages (committed)
docs/skills/, bindings/    A2A binding + skill reference (committed)
packages/                  npm packages: types, schemas, validator (committed)
tools/                     Generators and validators (committed)
src/components/            FieldCard React component (committed)

generated/v0.1/            Auto-generated: TS types, OpenAPI bundles, MCP manifest, contract manifest sample (NOT committed)
docs/schemas/_partials/    Auto-generated FieldCard MDX (NOT committed)
static/v0.1/, static/latest/  Spec assets mirrored for the docs site (NOT committed)
build/                     Docusaurus production output (NOT committed)

The auto-generated paths above are produced by pnpm run generate && pnpm run copy-static (which runs as part of pnpm run build). They live in .gitignore and are recreated fresh on every CI build, matching A2A's own convention of generating artifacts at build time rather than committing them.

Versioning

Released versions are immutable. The latest URL always points to the highest released version. Each version has its own schema URLs at https://autoagentprotocol.org/v{version}/schemas/.

How AAP relates to other protocols

Layer Protocol Role for AAP
Transport / data model (BASE) A2A v1.0 The base protocol AAP profiles. Every AAP message travels inside Message.parts[].data as a typed DataPart. AAP does not invent a wire format.
Adjacent / complementary ACP (Agentic Commerce), MCP (Model Context Protocol) ACP covers commerce checkout (out of scope for AAP). MCP can expose AAP skills as LLM tools — AAP ships an official MCP manifest in @autoagentprotocol/schemas.
Legacy / target system ADF/XML The 25-year-old dealer-CRM lead format. lead.vehicle is field-by-field mappable to ADF/XML so existing CRMs ingest AAP leads without code changes.

License

Contributing

See Contributing guide for details on proposing changes.

Contributors