A Decision-Centered Reference Architecture for Trustworthy Agentic Commerce
Abstract
Agentic commerce extends agentic shopping into software agents that interpret policy, prepare checkout, generate transaction-facing language, and act under delegated payment authority. Protocols standardize external exchanges, but merchants still need one authoritative representation of commercial eligibility, actor authority, checkout validity, payment dispatch, generated claims, and evidence. This design-science study presents a protocol-agnostic architecture built around a canonical envelope, protected dependency and result hashes, Ed25519 or HMAC authentication, live-request rebinding, a seven-axis generated-claim gate, execution-time dependency revalidation, and eleven semantic invariants. Evaluation used an open-source JavaScript implementation, eight deterministic ecommerce scenarios, and five controlled ablations. Seven initially valid actions were permitted. After protected state changed, none could proceed without a fresh decision; a hostile-accessor case also remained blocked. Action status was consistent across configured surface-bound envelopes, and each scenario contained the three protected hashes and its targeted dependency reference. Each ablation produced the predicted unsafe regression when one safeguard was bypassed, while the protected path contained the same failure. The hostile accessor was read once, and the suite passed 66/66 tests, schema validation, and committed examples. Results support protected-dependency change detection, bounded outcome derivation, stale-decision prevention, surface-bound status consistency, refusal propagation, and verified-state identity under synthetic fixtures, but do not establish rule completeness, production security, performance, legal compliance, live interoperability, population error rates, or independent replication.
Create a lesson
Metadata
- Categories
- cs.SE, cs.CR, cs.MA
- Comments
- 23 pages, 3 figures. Includes ancillary reproducibility materials
Related papers
Does the Agent's Map Match the Territory? Architectural Claims in AI Agent Context Files and Their Fit with the Code
Shared title terminologycs.SEBachan Ghimire, Daniela Damian
Agentic Harness Engineering Beta: Requirement-Centered Evolution of Agent Harnesses
Shared title terminologycs.SEJiahang Lin, Jiahao Chen, Yiding Wang et al.
Harness Engineering: Anatomy, Architecture, and Evolution of Coding Agents -- A Source-Code Study of Eleven Systems
Shared title terminologycs.SEPaul Barbaste, Tristan Darrigol, Germain Vu et al.
How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches
Shared title terminologycs.SEAakash Goel, Benjamin Steenhoek, Yu Hu
Evaluating More with Less: Black-Box Test Selection for AI Agents
Shared title terminologycs.SEAli Asgari, Mitchell Olsthoorn, Arie van Deursen et al.
SmartLens: Turning AI Agent Changes into Learning, Review, and Risk Signals in the IDE
Shared title terminologycs.SEVahid Etemadi, Gregorio Robles