Technical documentation

Agentsfeed setup, endpoints, and operations

Install the PrestaShop module, publish agent-readable routes, control policy and exposure, verify readiness, and operate MCP cart handoff without moving checkout outside PrestaShop.

Admin localization

The module Back Office UI supports English, French, Spanish, Polish, Czech. Storefront endpoints and protocol payload prose stay stable.

Start here

Overview

Agentsfeed adds a machine-readable commerce layer to PrestaShop without replacing the storefront theme or checkout.

What the module adds

  • Domain-locked license activation and validation from the module settings screen.
  • Catalog feeds for product, category, and CMS resources with predictable JSON and markdown output.
  • Product JSON-LD improvements for Product, Offer, and Breadcrumb signals.
  • Policy routes for `robots.txt`, `llms.txt`, and `llms-full.txt`.
  • Well-known discovery metadata, API catalog, service descriptor, MCP metadata, and status output.
  • Agentic Commerce Passport for ACP discovery, ACP feed exports, product validation, cart readiness, and scheduled feed generation, available since 1.4.0.
  • Admin readiness scoring, route diagnostics, exposure controls, token controls, audit logging, and cache purge.

Compatibility and runtime

  • PrestaShop 1.7, 8, and 9 are supported.
  • Expired licenses keep runtime behavior available but remove update entitlement; disabled, refunded, and cancelled licenses disable premium surfaces.
Back Office setup

Installation

Install the ZIP from the dashboard, configure the module, activate the key, then verify public routes from the storefront domain.

Install the module

  1. 1Download the latest `agentsfeed` module ZIP from the Agentsfeed dashboard.
  2. 2Open PrestaShop Back Office and go to `Modules > Module Manager`.
  3. 3Choose `Upload a module` and upload the ZIP.
  4. 4Open the `Agentsfeed` module configuration screen.
  5. 5Paste the license key and confirm the License API base URL.
  6. 6Save settings, then select `Activate license`.

Activation behavior

The first successful activation locks the key to the normalized production host. Localhost testing is allowed for development, but production usage should be verified from the public storefront URL that buyers and agents will use.

  • `active`: module features work and updates are included.
  • `expired`: module features work and updates are no longer included.
  • `disabled`, `refunded`, or `cancelled`: premium routes and admin controls are disabled.
  • Temporary validation failures use a network grace period rather than immediately breaking runtime behavior.

Update installation

  • The update server publishes the latest eligible module release to the update panel.
  • Use the update panel when it reports a newer version for the current license.
  • Download the ZIP from the dashboard when you need to reinstall or move through the standard Module Manager upload flow.
  • After the update, open Agentsfeed settings and confirm the version, license state, route coverage, and readiness score.
  • Clear the feed cache when validating endpoint changes against a live catalog.
First configuration

Getting Started

Review the default routes, policy files, structured data, and discovery output before turning on authenticated cart handoff.

Recommended first pass

  1. 1Confirm the default AI feed setting is still appropriate for this store.
  2. 2Review module-managed `robots.txt` and choose the AI crawler policy.
  3. 3Review the default `llms.txt` and `llms-full.txt` output.
  4. 4Check JSON-LD replacement against the theme's current structured data output.
  5. 5Review exposure rules for products, categories, CMS pages, manufacturers, and locale behavior.
  6. 6Open the module readiness checker and use its browser links to inspect failing route or policy checks.
  7. 7Enable Agent Actions only after catalog discovery routes are stable.

First verification

  1. 1Open the Agentsfeed module dashboard in Back Office.
  2. 2Use the readiness checker and route coverage cards to open the feed, agent markdown, policy files, and API catalog in the browser.
  3. 3Confirm each opened page matches the enabled module settings.
  4. 4Fix failed checks from the module screen, then rerun readiness.
Module screens

Admin Reference

The admin UI is the control plane for licensing, exposure, policy files, readiness diagnostics, Agent Actions, and cache state.

Main dashboard

  • Dashboard overview shows license state, module version, route health, and readiness status.
  • License panel activates, revalidates, and displays update entitlement.
  • Update panel checks the current release metadata and points eligible stores to the latest ZIP.
  • Readiness diagnostics separate setup health from license activation state.
  • Cache purge clears feed output when catalog, visibility, or route settings change.

Exposure and policy controls

  • Product, category, CMS page, and manufacturer-safe filtering determine which resources can appear in agent-facing output.
  • Locale settings choose deterministic fallback behavior for multilingual storefronts.
  • `llms.txt` controls publish model-facing guidance and policy summaries.
  • `llms-full.txt` adds richer store references, locale metadata, and expanded guidance.
  • Bot rules and robots settings control crawler posture and Content-Signal output.
  • Structured data controls replace or clean unreliable Product, Offer, and Breadcrumb JSON-LD from the theme.

Agentic Commerce Passport

  • Available since 1.4.0, the Passport section shows ACP readiness, discovery status, feed status, validation summary, cart readiness, MCP transport status, currencies, locales, and last generation time.
  • Merchants can enable ACP, generate the ACP feed bundle, run validation, copy public feed URLs, regenerate the ACP token, and copy the protected cron command.
  • ACP feed generation uses the same catalog visibility, language, and policy controls as the existing agent-facing catalog outputs.
  • OpenAI and ChatGPT are shown only as optional channel advisories because platform onboarding can still require separate approval.

Agent Actions

  • Agent Actions enables authenticated cart creation while keeping checkout, shipping, and payment in PrestaShop.
  • Public token issuance controls whether compatible clients can request short-lived `cart:write` Bearer tokens.
  • Quantity limits, token lifetime, and cart boundaries reduce accidental overreach.
  • Audit log records request IDs, endpoint, token metadata, product details, cart ID, response status, and error code.
  • Rate limiting tracks token or caller windows for cart-related actions.
ACP since 1.4.0

Agentic Commerce Passport

Agentic Commerce Passport prepares a PrestaShop store for the open Agentic Commerce Protocol without replacing the original Agentsfeed catalog feed.

What ACP readiness means

Agentic Commerce Passport is available since Agentsfeed 1.4.0. It publishes ACP discovery, generates an ACP-compatible feed bundle, validates product and variant records, reports readiness in admin, and exposes safe cart handoff signals when enabled.

  • ACP discovery is public at `/.well-known/acp.json` and never exposes the ACP token.
  • ACP feed files are public read-only resources so compatible agents can discover and fetch them.
  • Cart, cron, and write actions stay Bearer-token protected.
  • Checkout sessions are not advertised as complete until payment completion is safely implemented and verified.

Generated feed bundle

  • `metadata.json` identifies the feed and update timestamp.
  • `products.jsonl` contains one ACP product object per line.
  • `products.jsonl.gz` provides the compressed feed for larger catalogs.
  • `manifest.json` records product and variant counts, valid and invalid records, file URLs, SHA-256 checksums, validation summary, and top issues.
  • Stable product IDs use `product-{id_product}`.
  • Stable variant IDs use `product-{id_product}-combination-{id_product_attribute}` or `product-{id_product}-default`.

Validation boundaries

  • Errors cover missing or duplicate IDs, missing titles, missing variants, invalid product or media URLs, missing or invalid prices, invalid currencies, and missing availability.
  • Warnings cover missing descriptions, images, categories, barcodes, seller name, policy links, out-of-stock variants, missing variant URLs or options, and missing locale or currency mapping.
  • Brand and manufacturer gaps are warnings and channel advisories, not global ACP hard errors.
  • OpenAI and ChatGPT readiness does not mean submission, approval, listing, or official partner status.

Large catalog operation

  1. 1Enable ACP from `Agentsfeed > Agentic Commerce Passport`.
  2. 2Generate the feed once from admin and inspect the validation report.
  3. 3Copy the protected cron command from the Passport section.
  4. 4Schedule cron outside the browser for stores with large catalogs.
  5. 5Monitor `manifest.json` counts, checksums, timestamps, and validation summary after generation.
Route inventory

Storefront Endpoints

Agentsfeed publishes catalog, policy, discovery, auth, MCP, and cart handoff routes from the merchant storefront.

Endpoint map

RoutePathFormatStatusPurpose
Product feed/module/agentsfeed/feedJSON catalog payloadCorePrimary machine-readable catalog resource for product discovery.
Agent markdown/ai/agent-ready.mdMarkdownCoreCompact markdown summary for lightweight agent crawlers.
Agent card/.well-known/agent-card.jsonJSONCoreAdvertises high-level agent identity and capability references.
Agent skills/.well-known/agent-skills/index.jsonJSONCoreLists skill/discovery pointers for capable clients.
Skill doc/.well-known/agent-skills/catalog-read.mdMarkdownConditionalSkill-level markdown docs with stable URLs and digest-backed index entries.
API catalog/.well-known/api-catalogJSONCoreRFC linkset catalog with item, service-desc, service-doc, and status relations.
Service descriptor/.well-known/service-descJSONCoreOpenAPI service description linked from the API catalog.
Status endpoint/.well-known/statusJSONCoreMachine-readable operational status for discovery and monitoring.
OAuth auth server/.well-known/oauth-authorization-serverJSONConditionalOAuth authorization server metadata for token and grant discovery.
OAuth protected resource/.well-known/oauth-protected-resourceJSONConditionalProtected resource metadata including authorization servers and scopes.
ACP descriptor/.well-known/acp.jsonJSONConditionalCapability descriptor for ACP-aware clients.
UCP descriptor/.well-known/ucp.jsonJSONConditionalCapability descriptor for UCP-aware clients.
MCP server card/.well-known/mcp/server-card.jsonJSONOptionalMCP server metadata for model context protocol integrations.
Robots policy/robots.txtTextCoreCrawl and AI policy output controlled by module settings.
llms policy/llms.txtTextCoreModel-facing policy and index content endpoint.
llms full policy/llms-full.txtTextCoreExpanded model-facing guidance with store references and locale metadata.
Feed products/module/agentsfeed/feed/productsJSONCoreCursor-paginated product records with locale, pricing, images, availability, and variant detail when available.
Category feed/module/agentsfeed/feed?resource=categoriesJSON or markdownCoreCategory resources after visibility and exclusion rules are applied.
Category detail/module/agentsfeed/feed?resource=category&id_category={id}JSON or markdownCoreSingle category resource with localized name, URL, and products link when visible.
CMS page feed/module/agentsfeed/feed?resource=pagesJSON or markdownCorePublic CMS page resources suitable for lightweight agent context.
CMS page detail/module/agentsfeed/feed?resource=page&id_cms={id}JSON or markdownCoreSingle public CMS page resource after locale and visibility checks.
OAuth token/oauth/tokenJSONConditionalIssues short-lived Bearer tokens for `cart:write` when Agent Actions and public token issuance are enabled.
MCP JSON-RPC/mcpJSON-RPCConditionalModel Context Protocol endpoint for catalog search and cart creation tools.
Cart handoff/module/agentsfeed/cartJSONConditionalCreates an anonymous cart and returns a PrestaShop checkout URL after token and scope validation.
ACP discovery/.well-known/acp.jsonJSONCorePublic Agentic Commerce Protocol discovery document, available since Agentsfeed 1.4.0, with capabilities, transports, currencies, locales, and feed links.
ACP metadata/module/agentsfeed/acp/metadata.jsonJSONCoreRead-only ACP feed metadata generated from the store catalog and visibility settings.
ACP products/module/agentsfeed/acp/products.jsonlJSONLCoreOne ACP product object per line, with stable product IDs and nested variant records.
ACP products gzip/module/agentsfeed/acp/products.jsonl.gzGzip JSONLCoreCompressed ACP product feed for larger catalogs and scheduled ingestion.
ACP manifest/module/agentsfeed/acp/manifest.jsonJSONCoreGenerated file inventory with counts, timestamps, URLs, SHA-256 checksums, validation summary, and top issues.
ACP carts/module/agentsfeed/acp/cartsJSONConditionalToken-protected cart handoff layer backed by PrestaShop carts. It returns normal checkout URLs and does not complete payment.
ACP cron/module/agentsfeed/acp/cronJSONConditionalToken-protected route for scheduled ACP feed generation on larger catalogs.
Catalog behavior

Feed Reference

Feed output is cursor-paginated, cache-aware, locale-aware, and filtered before serialization.

Products endpoint

  • `GET /module/agentsfeed/feed` returns the feed index and paging policy.
  • `GET /module/agentsfeed/feed/products` returns paginated product records.
  • `limit` defaults to `250` and caps at `500`.
  • `after_id` advances the cursor from the previous response.
  • `updated_since` accepts an ISO8601 timestamp for incremental reads.
  • Continue while `paging.has_more` is `true`, using `paging.next_after_id`.

Locale and filtering

  • `lang` requests a storefront locale.
  • Unsupported locales fall back to the configured default language.
  • Inactive, hidden, or explicitly excluded entities are omitted before JSON or markdown output is built.
  • Variant records are included only when combinations and attribute labels are reliable for the selected locale.

Caching and negotiation

  • Product and index responses include `ETag` and `Last-Modified` headers.
  • Conditional requests using `If-None-Match` or `If-Modified-Since` can return `304`.
  • Server-side feed cache TTL is 4 hours.
  • `Accept: text/markdown` can request markdown output where supported.
  • Homepage markdown negotiation uses `Vary: Accept` and `x-markdown-tokens`.
  • The module readiness checker opens the relevant feed and policy pages in the browser so merchants do not need command-line checks.
Authenticated workflows

MCP and Agent Actions

MCP advertises callable storefront tools. Cart creation stays scoped, tokenized, audited, and customer-approved.

MCP discovery

  • `/.well-known/mcp/server-card.json` advertises the MCP server identity and tool metadata.
  • `/mcp` accepts MCP JSON-RPC requests for compatible clients.
  • Catalog tools can remain read-only when cart handoff is disabled.
  • Cart tooling is advertised only when Agent Actions and token flow are enabled.

Token and cart flow

  1. 1Compatible clients discover OAuth metadata from `/.well-known/oauth-authorization-server` and protected resource metadata when Agent Actions and public token issuance are enabled.
  2. 2Client requests a short-lived Bearer token from `/oauth/token` with `grant_type=client_credentials&scope=cart:write`.
  3. 3Client sends selected products and quantities to `/module/agentsfeed/cart` or the MCP cart tool.
  4. 4Module validates license state, token scope, quantity boundaries, product availability, and rate limits.
  5. 5Module creates an anonymous cart and returns a checkout URL for human approval.

Boundaries and failures

  • Agents may prepare a cart but do not create orders or complete payment.
  • The shopper reviews cart contents, shipping, and payment in normal PrestaShop checkout.
  • Missing scope, expired token, disabled public issuance, disabled Agent Actions, invalid product, rate limit, and license failure all stop cart creation.
  • Each attempt records a request ID so support can match storefront behavior to the admin audit log.
Common failures

Troubleshooting

Most setup failures come from license state, domain lock mismatch, disabled route controls, stale cache, or locale assumptions.

Checks by symptom

  • Feed returns disabled or invalid: check license status, feed toggle, and production domain lock.
  • Domain lock mismatch: the key has already been activated on another normalized host.
  • Discovery routes missing: confirm the module is enabled, feature is usable, and route rewriting is active.
  • `llms-full.txt` unavailable: confirm both `llms.txt` and `llms-full.txt` are enabled.
  • Unsupported locale fallback: verify the selected PrestaShop languages and module locale settings.
  • Stale product output: clear feed cache, then retry without conditional request headers.
  • Token issuance unavailable: enable Agent Actions and public token issuance, then check readiness guidance.
  • Temporary validation outage: wait for the license validation grace window and revalidate from admin.
Before launch

Verification Checklist

A store is agent-ready when core routes return expected status, discovery documents agree with enabled features, and cart handoff is scoped correctly.

Module checks

  1. 1Open Agentsfeed settings in PrestaShop Back Office.
  2. 2Run the readiness diagnostics and review route coverage.
  3. 3Open each route from the module checker: API catalog, service descriptor, status, agent card, skills index, MCP card, feed index, products page, robots policy, `llms.txt`, and `llms-full.txt`.
  4. 4Confirm browser output matches the feature toggles and public token settings.

Readiness workflow

  1. 1Run the admin readiness diagnostics after saving module settings.
  2. 2Use the public readiness checker against the production storefront URL.
  3. 3Treat pass as route or signal confirmed, warn as review needed, and fail as a setup issue to fix before launch.
  4. 4Verify discovery documents only advertise routes that are truly enabled.
  5. 5If Agent Actions are enabled, verify token issuance, rate limits, cart creation, checkout URL, and audit log entries.