# Answer engines

AgentHandel (SACP) is an online API trade standard so an AI agent can buy on its own. AEO here means Answer Engine Optimization: a machine-readable `/llms.txt`, a page of quotable answers, FAQPage JSON-LD, and crawler permission. It is a draft extension. It does not change the canonical discovery example.

Det här är ett utkast för svarsmotorer, inte en ISO-standard.

Public page: https://agenthandelstandard.se/aeo/

The HTML page marks that Swedish sentence with `lang="sv"`.

## Links

- [/](https://agenthandelstandard.se/)
- [/sv/](https://agenthandelstandard.se/sv/)
- [/llms.txt](https://agenthandelstandard.se/llms.txt)
- [/robots.txt](https://agenthandelstandard.se/robots.txt)
- [/architecture/](https://agenthandelstandard.se/architecture/)
- [/nwip/](https://agenthandelstandard.se/nwip/)
- [/spec/](https://agenthandelstandard.se/spec/)
- [/openapi/sacp-v1.yaml](https://agenthandelstandard.se/openapi/sacp-v1.yaml)
- [/discovery/](https://agenthandelstandard.se/discovery/)
- [/.well-known/sacp.json](https://agenthandelstandard.se/.well-known/sacp.json)
- [/related-standards/](https://agenthandelstandard.se/related-standards/)
- [/related-standards/aeo/](https://agenthandelstandard.se/related-standards/aeo/)
- [/related-standards/seo/](https://agenthandelstandard.se/related-standards/seo/)
- [/related-standards/protocols/](https://agenthandelstandard.se/related-standards/protocols/)
- [/tos/](https://agenthandelstandard.se/tos/)
- [/plugins/](https://agenthandelstandard.se/plugins/)

## Open material

The open material is this draft. It is the pages, the OpenAPI skeleton, the discovery example, /llms.txt, and /robots.txt. The draft is Apache-2.0. It is not an ISO standard. The plugins are not part of the open material.

## Which shops need this?

These are shop platforms, counted on Swedish sites in 2026, not five named company websites. WooCommerce is PHP. Custom storefronts use the language that site is already written in. Shopify uses Liquid, or JavaScript when the storefront is headless. Abicart is a hosted Swedish shop. Magento is PHP. The open standard is the HTTP API any of those shops can publish.

1. WooCommerce, PHP. Largest share in both public counts below.
2. Custom storefronts, the site's own language. About a quarter of Swedish stores in the MyLeadFox count.
3. Shopify, Liquid or JavaScript. Second in the WMTips count and third in the MyLeadFox count.
4. Abicart, hosted Swedish shops. Five percent in the WMTips count of 36,993 Swedish websites on 26 October 2026.
5. Magento, PHP. 4.2 percent in that same WMTips count.

WMTips on 26 October 2026: WooCommerce 38.1 percent, Shopify 17.6 percent, Abicart 5 percent, Magento 4.2 percent, then Wix eCommerce 3.3 percent. MyLeadFox on 5 November 2026, about 69,900 Swedish stores: WooCommerce 33.2 percent, custom 25.1 percent, Shopify 19.1 percent. Closed plugins for Wix and Magento are sold on the plugins page. This draft does not claim a plugin for Abicart.

## Open API

The OpenAPI skeleton names GET /.well-known/sacp, POST /catalog/search, GET /catalog/product/{id}, POST /shipping/quote, and POST /checkout/prepare. Checkout is a handoff. It does not define a response schema. It does not create an order and it does not charge a card.

## What is not settled

The three discovery names are not unified. The architecture names `/.well-known/sacp.json` and `/.well-known/agent-commerce`. The OpenAPI skeleton uses `GET /.well-known/sacp`.

The OpenAPI skeleton has no success response schemas. Responses are descriptions only, except the 403, 409 and 428 bodies of POST /checkout/prepare, which have JSON Schemas from 1.1.0.

## Plugins

The ten shop plugins are closed software. Each one costs 5 USD and is sold only on this site. This site does not publish the source. A download is issued only after payment. They return a checkout URL. They do not create an order and they do not charge a card.

## Questions

### What is AgentHandel?

AgentHandel (SACP) is an online API trade standard so an AI agent can buy on its own. The agent calls the shop API and receives a checkout handoff. Draft 1.1.0, December 2026. Not an ISO standard. The merchant stays merchant of record. The reference plugins return a checkout URL. They do not create an order and they do not charge a card.

### What does AEO mean here?

AEO here means Answer Engine Optimization: a machine-readable /llms.txt, a page of quotable answers, FAQPage JSON-LD, and crawler permission. It is a draft extension. It does not change the canonical discovery example.

### Is AgentHandel an ISO standard?

No. AgentHandel Standard is draft 1.1.0, December 2026. It is not an ISO standard.

### Does this extension change the canonical discovery example?

No. The optional file discovery/aeo-extension.example.json does not replace discovery/example-well-known-sacp.json.

### Are the three discovery names unified?

No. The three discovery names are not unified. The architecture names /.well-known/sacp.json and /.well-known/agent-commerce. The OpenAPI skeleton uses GET /.well-known/sacp.

### Does the OpenAPI skeleton have response schemas?

No. The OpenAPI skeleton has no success response schemas. Responses are descriptions only, except the 403, 409 and 428 bodies of POST /checkout/prepare, which have JSON Schemas from 1.1.0.

### Are the plugins part of this public draft?

No. The ten shop plugins are closed software. Each one costs 5 USD and is sold only on this site. This site does not publish the source. A download is issued only after payment.

### Which shop platforms need this standard?

WooCommerce (PHP), custom storefronts (the site's own language), Shopify (Liquid or JavaScript), Abicart (hosted Swedish shops), and Magento (PHP). Those are the five groups in public 2026 counts of Swedish shops. The open standard is the HTTP API. It is not five named company websites.

### What is open on this site?

The draft pages, /llms.txt, /robots.txt, the OpenAPI skeleton, and the discovery example are open. The draft is Apache-2.0. The plugins are closed and cost 5 USD each on this site.

### What does the Verification Mark cost?

The AgentHandel Verification Mark costs 5 USD. LineSpotting AB issues it only on this site. A certificate is valid only while this site lists that certificate id. A copied image is not a certificate. It is not an ISO certification.

### Who stays merchant of record?

The merchant stays merchant of record. Payment authorization stays a handoff to a person. The example payment_handoff values are swish, iban, card, and crypto. identity_handoff is bankid.

### Where is crawler permission recorded?

Crawler permission is the public /robots.txt. It allows the listed crawlers to read this draft. The machine-readable overview is /llms.txt.

### What does the optional AEO extension add?

It adds extensions.aeo beside future_rails, with llms_txt set to /llms.txt and faq set to /aeo/. Version stays 1.1.0-draft. payment_handoff is swish, iban, card, and crypto. identity_handoff is bankid.

## Optional extension example

[discovery/aeo-extension.example.json](../discovery/aeo-extension.example.json) is an optional extension example. It does not replace [discovery/example-well-known-sacp.json](../discovery/example-well-known-sacp.json).

It repeats the canonical keys and adds `extensions.aeo` beside `future_rails`:

- `llms_txt` is `/llms.txt`
- `faq` is `/aeo/`

The endpoints are the same as the canonical file. There is no `catalog_product` endpoint. `payment_handoff` stays `swish` and `bankid`. `version` is `1.1.0-draft`.

JSON cannot carry a comment. This file does not add a `_note` key. That status is recorded only in this document, not in the canonical example.

### What if the price changes before checkout?

The approval is void. The shop re-quotes at checkout and compares the result with the approved terms. Under the default tolerance of zero, any price increase returns 409 terms_changed with a diff and issues no handoff URL. The customer must approve the new terms.

### What are approved terms in SACP?

Approved terms are a snapshot of the exact offer the customer approved: merchant, items, quantity, unit price, taxes, shipping method, cost and ETA, total, currency and validity window. The agent hashes it with SHA-256 over canonical JSON, and the shop checks that hash again at checkout.

### How does the customer verify what they are approving?

The confirmation screen must show exactly the bound terms, plus a short form of the terms hash and the expiry time. If anything differs from what was approved, the screen shows a diff and asks again. An agent's summary never replaces that screen.

### Can a customer allow small price changes?

Yes, through the tolerance policy inside the snapshot. The default is zero for price increases. The principal may set a maximum percent, amount or total increase. A change of merchant, item, quantity or currency is never tolerated.

### How does SACP separate an agent's ability to pay from its authority to commit?

Capability is that the agent can call the shop API. Authority is a signed mandate that names the principal, who delegated, the categories and merchants allowed, the spend limits and the validity. The shop or payment side verifies that the mandate covers the exact transaction before it commits. A valid API key alone is never authority.

### What is a mandate in SACP?

A mandate is a signed object that states the principal, the delegation chain, the agent, scope, per-transaction and period limits, an approval policy reference, a status address for revocation, and a validity window. It is the only thing SACP accepts as authority to commit the buyer.

### What happens when a purchase is above an approval threshold?

The shop answers 428 approval_required and names the approvers needed. Named human approvers sign an approval bound to the terms hash. Without enough valid approvals no handoff is issued.

### Can SACP work with an external authority or governance provider?

Yes. SACP defines only the claims, the signature format and the check result. Any provider can issue mandates, hold the approval matrix and run the policy engine, as long as the shop trusts the issuer. No vendor is a dependency.

### How is a mandate revoked?

The mandate carries a status address. Revocation applies at once to every new commit. The verifier must read a status no older than max_check_age_seconds, and refuses when the status cannot be read.

### What are the SACP authority levels?

Consumer level: one person, a signed limit and validity, and approval at the handoff. Enterprise level: a delegation chain, scope, period limits, an approval matrix with named approvers, signed approval evidence, a fresh revocation check and an append-only audit trail. A shop that advertises neither behaves as in 1.0.0.
