Every big name in commerce and AI has picked a side this year, and it's the same side.

Google and partners shipped the Universal Commerce Protocol (UCP), now on its fourth version of the year. OpenAI and Stripe shipped the Agentic Commerce Protocol (ACP). Google's Agent Payments Protocol (AP2) put mandates and consent proofs on the table. A2A hit 1.0. MCP got a new era with 2026-07-28. There's an HTTP Payment auth scheme (MPP) for machine payments, and Web Bot Auth so agents can prove who they are.

The message to merchants is loud: agents are going to shop for people, so be ready.

And then you look at what a real merchant actually runs.

The stack nobody is going to rewrite

A real retailer doesn't have "an e-commerce backend". It has:

  • a POS in every store that was certified years ago and does exactly one thing well,
  • an omnichannel layer stitching stores, warehouses and the website together,
  • a catalog that three teams own,
  • a promo engine with rules nobody fully remembers but everyone depends on,
  • tax from a vendor, geo rules from legal, payments through a PSP contract that took a year to sign,
  • a checkout that works, makes money, and that nobody wants to touch.

These systems are API-first already. They work. Physical stores still need every one of them, today and next year. The POS can't flex to speak five agent protocols, and it shouldn't have to.

So what's the advice going around? "Go agentic-first." Rebuild around agents. Re-platform. Add protocol support to each system, one vendor at a time, and keep it current as the specs move every few months.

That's a multi-year program for every merchant on earth, chasing specs that change faster than the program can ship. Most won't do it. The ones who try will break the things that already make them money.

The other option: leave it all where it is

Here's the idea in one picture:

Architecture: shopping assistants, agent platforms, your own agents and any client speak UCP, ACP, A2A, AP2, MCP, MPP and RFC 9421 to the Commerce Orchestrator (cart, checkout, order; state machine, idempotent), which calls catalog, pricing, tax, geo, payment, receipt and optional fulfillment over plain HTTP with your auth

Agents talk to the orchestrator. The orchestrator talks to your systems. Your systems never learn what an agent is.

That's Commerce Orchestrator (https://github.com/AncientiCe/commerce-orchestrator-api): open-source middleware, written in Rust, dual-licensed MIT/Apache-2.0. You deploy it, point six base URLs at the APIs you already have, and you're reachable by agents speaking every major agentic commerce protocol. No fork. No rewrite. No vendor asked to add "agent support" to a POS.

Your API-first architecture was the right call. This is the piece that lets you keep it.

What problem it actually solves

"Expose your APIs to agents" sounds like a gateway job. It isn't, and that's the whole reason this project exists.

An agent buying something isn't one call. It's a conversation that spans minutes: create a cart, add items, try a promo code, pick shipping or store pickup, start checkout, pay, get a receipt, maybe refund later. Across that conversation, things go wrong in ways a proxy can't handle:

  • the agent retries a checkout because its network blipped, and you charge twice,
  • the cart total changes between "here's your price" and "pay now", and the payment intent no longer matches,
  • the destination is blocked, but the check happened three steps ago,
  • the PSP times out and you don't know if the money moved,
  • a webhook to the platform gets lost when a replica restarts,
  • the agent says it's agent-x and you have no way to verify it.

Each protocol has its own answer to some of these, in its own shape. Your backends have answers to none of them, because they were built for humans clicking buttons on your own site.

The orchestrator owns that whole conversation, so your systems don't have to.

Six things that go wrong in an agent purchase, each paired with how the orchestrator handles it: idempotency, the integrity gate (AMOUNT_MISMATCH), the last-moment geo check (GEO_BLOCKED), safe retries with a stable Idempotency-Key, the transactional outbox, and RFC 9421 request signatures

How it solves it

One domain, many protocols

Every protocol request, whether UCP REST, an ACP checkout session, an A2A SendMessage, or an MCP tools/call, is normalised into the same domain commands and runs through the same state machine, the same auth and tenancy checks, the same policies. There is one cart, one checkout, one order model.

That means a cart created by a Claude agent over MCP and a checkout session opened by ChatGPT over ACP get identical pricing, tax, geo and payment behaviour. Adding a protocol is adding a translation layer, not a second commerce engine.

The MCP side alone is seventeen tools covering the full lifecycle (create_cart, add_item, apply_adjustment, set_fulfillment_selection, start_checkout, execute_checkout, get_order, ...), so an agent can buy something with tool calls and nothing else.

Your six contracts, nothing more

Southbound, the orchestrator needs six small HTTP contracts: catalog, pricing, tax, geo, payment, receipt. Optional ones add fulfillment rates, payment delegation and identity linking.

If your promo engine already resolves codes, the orchestrator asks it (POST /discounts/resolve) and puts the result into the cart. If your stores offer pickup, the fulfillment flow quotes it as a business_location destination next to shipping. Your rules stay the source of truth. The orchestrator never invents a price.

Each provider gets its own outbound auth (bearer, API key, OAuth2 client credentials with token caching, or mTLS) and its own circuit breaker, so a slow tax vendor can't take checkout down with it.

Money that is correct, or no money at all

This is where "just proxy it" falls apart, so the orchestrator is strict about it:

  • Idempotency with in-flight deduplication. A retried checkout returns the original result. Two identical requests racing each other produce one charge.
  • An integrity gate at checkout. Right before payment, the cart is re-priced and re-taxed. If the payment intent doesn't match the real total, checkout fails with AMOUNT_MISMATCH. The agent can't pay a stale price, and neither can a buggy client.
  • Geo is re-checked at the last moment. A blocked destination blocks the checkout with GEO_BLOCKED, even if it was fine three steps earlier.
  • Retries that can't double-charge. Only 408, 429 and 5xx are retried, Retry-After is honoured, backoff is jittered, and payment calls forward a stable Idempotency-Key to your PSP.
  • AP2 mandates. In strict mode, checkout verifies the user's consent proof and amount/currency constraints before anything is charged.
  • Machine payments. With MPP on, a checkout without a credential gets a 402 challenge bound to that exact request body. The credential is single-use and answered with a Payment-Receipt.

Reliability you'd otherwise build yourself

Every state change goes into an event store and a transactional outbox on PostgreSQL. Delivery is claim-then-acknowledge, so a replica dying mid-delivery costs a retry, not an event. Failures back off, then land in a dead-letter queue you can inspect and replay. A reconciliation endpoint catches anything that drifted.

Webhooks to agent platforms are signed with RFC 9421 HTTP Message Signatures, verifiable against the keys published in /.well-known/ucp, as UCP requires. A delivery that can't be signed is retried, never sent unsigned.

Trust in both directions

Inbound, agents can be required to sign their requests (RFC 9421, Ed25519 or ES256, keys from their published JWK Set), and Web Bot Auth identity is available as an opt-in. Outbound, every response is signed with your key, with kid-based rotation so old keys stay verifiable while you roll.

Production mode refuses to start without real key material. That's a feature.

Discovery that doesn't lie

/.well-known/ucp, /.well-known/acp.json and the A2A Agent Card advertise only what is actually configured. No payment delegation provider? Delegate payment isn't advertised, and the endpoint answers 501 NOT_CONFIGURED. No signing keys? Signatures aren't claimed.

An agent should never discover a capability, try it, and find out it was marketing.

You can see all of it

Every protocol, tool call, provider call, signature check, webhook delivery and outbox drain is counted and timed in Prometheus, with error kinds as labels. There's a starter Grafana dashboard in the repo. When a platform says "your checkout failed", you can see which provider, which step, and why.

Ready to run where you run things

A Docker image and Kubernetes manifests: Deployment, Service, migration Job, HPA, PDB, NetworkPolicy, ServiceMonitor. Two replicas by default, migrations behind an advisory lock so replicas can't race, read-only root filesystem.

To kick the tyres locally:

git clone https://github.com/AncientiCe/commerce-orchestrator-api cd commerce-orchestrator-api cargo run -p happy_path # full cart-to-checkout against mock providers cargo run -p orchestrator-server # the HTTP server in stub mode 

How it stays up to date

This is the part that matters most, and the part a rewrite can never win.

The protocols are moving fast. UCP alone has shipped 2026-01-11, 2026-01-23, 2026-04-08 and 2026-08-25 this year. A2A went from 0.3 to 1.0. MCP introduced a whole new handshake. If every merchant tracks all of that inside every system, every merchant is permanently behind.

With an orchestrator, the spec churn happens in one place:

Spec churn happens in one place: UCP 2026-01-11, 2026-01-23, 2026-04-08 and 2026-08-25, A2A 0.3 and 1.0, and MCP legacy initialize plus the 2026-07-28 era all go into the orchestrator, while catalog, pricing, tax, geo, payment and receipt stay unchanged

  • Version negotiation is built in. The current UCP profile is served by default, and older profiles stay reachable through supported_versions, so platforms on last spring's version keep working while new ones get the latest. A2A accepts both 1.0 and 0.3. MCP speaks the 2026-07-28 era and the legacy initialize handshake side by side.
  • Conformance is tested against the official schemas. The UCP JSON Schemas are vendored unmodified, and CI validates discovery, cart, checkout, fulfillment and order bodies against them. A2A, ACP, AP2, MCP and signature conformance run in CI too. If the orchestrator drifts from the spec, the build goes red.
  • There's a public conformance matrix. Every protocol, every requirement, its status, and the test that proves it. Including the rows that say not_supported_yet.
  • It ships. v0.1.0 landed in March 2026. v0.12.0 landed in November. Fourteen tags in between, each with a changelog that says what changed on the wire and how to upgrade.
  • The changelog tells you when it was wrong. When the old signature scheme turned out not to match what UCP actually specifies, the release said so, in those words, and replaced it with RFC 9421. When discounts were advertised before they were priced, the release said that too. You should be able to trust middleware that sits in front of your money, and that starts with it being honest about itself.

When the next version of UCP or ACP lands, you upgrade one container. Your POS doesn't notice.

What it doesn't do (today)

Being straight about it, because you'll find these in the conformance matrix anyway: UCP's own MCP and A2A bindings, UCP-Agent profile negotiation, 3DS2 actions[], split payments, the ACP Feed API and ACP's MCP binding are not implemented. A2A streaming and push notifications aren't offered. Each one is listed, with the reason, in the matrix (https://github.com/AncientiCe/commerce-orchestrator-api/blob/main/docs/standards/conformance-matrix.md).

Why this is better for everyone

For merchants: you get agent-ready without a re-platform. Your stores, your POS, your promo rules and your PSP contract stay exactly where they are. You decide which capabilities to turn on, and you can see every agent order in the same metrics as the rest of your business.

For platform and agent builders: every merchant behind an orchestrator looks the same. Same protocols, same signatures, same honest discovery, same error codes. You stop writing one-off integrations per retailer.

For the people actually buying things: the price the agent shows is the price that gets charged. A retry doesn't charge twice. A blocked destination is blocked. The consent they gave is checked before money moves.

For the protocols themselves: a standard only wins if merchants can adopt it. Every merchant who can say "yes" this quarter, instead of "after the re-platform", is adoption the specs wouldn't otherwise get.

For the ecosystem: it's open source under MIT/Apache-2.0. No per-transaction fee, no lock-in, nothing between you and your own checkout. Read the code that touches your money. Run it in your own cluster.

The point

Agentic commerce is the direction. Nobody serious disputes that anymore.

But "the direction" doesn't mean every retailer has to tear out the systems that run their stores to get there. You don't make your POS agentic. You put something agentic in front of it.

Agents of the world talk to the orchestrator. The orchestrator talks to your systems, as they are. And suddenly anyone with a catalog, a price, a tax rule and a payment provider can take part in agentic commerce. Not in two years. Now.

You keep your infrastructure. You get the agents.

You're welcome.

Repo: github.com/AncientiCe/commerce-orchestrator-api
Conformance matrix: docs/standards/conformance-matrix.md (https://github.com/AncientiCe/commerce-orchestrator-api/blob/main/docs/standards/conformance-matrix.md)
Plug and deploy guide: docs/plug-and-deploy.md (https://github.com/AncientiCe/commerce-orchestrator-api/blob/main/docs/plug-and-deploy.md)

iCe