A stated goal becomes a finished look, so a shopper who cannot phrase a query still gets a usable answer.
Order questions and in-policy returns are settled in the chat, and every case that needs judgment reaches a person with the evidence attached.
WISMO, a post-purchase support agent on the retailer's own site that settles what policy allows and hands everything else to a person.
Resolves order questions and in-policy returns itself, and hands damage claims, delivery disputes and anything outside policy to a person.
Most post-purchase contacts are routine: where is my order, can I return this, it arrived damaged, it never arrived. Each one still needs someone to look up the order and the carrier record, and to apply the return policy correctly.
A chatbot that only answers questions leaves the customer waiting for a person anyway. One that is allowed to grant refunds from the conversation lets the model decide money, which no retailer will accept. The hard part is deciding exactly which outcomes an agent may settle alone, and making sure everything else reaches a person instead of an empty promise.
Three apps: a retailer storefront with the chat widget, an agent API built on Hono and Mastra, and the Escalation Desk, the rep's console. The storefront is a fictional outdoor-gear retailer.
The chat agent runs on Claude and works through tools that look up orders and shipments and request refunds. Who the customer is comes from the server-side session, and every order, amount and carrier fact comes from the order system. The server keeps its own copy of each conversation, so a forged history from the browser changes nothing.
A refund, return or delivery dispute opens a case, which is one run of a Mastra review workflow. The workflow asks a versioned policy document what may happen. Deterministic code evaluates it: restrictions first, then explicit approve or decline rules, and the fallback is always a person. If the policy allows an automatic outcome the case resolves there; otherwise the run suspends, and the suspended runs are the Escalation Desk queue. There is no separate queue database.
A rep can approve, reject, change the amount, ask the customer a question or escalate to support, which resumes the same run. The customer's open chat updates over server-sent events and a stubbed email goes out. A case nobody answers within the response window opens a support ticket automatically.
Money moves through one function, which re-checks the policy and other open cases on the order under a per-order lock. A spending ceiling outside the policy caps automatic approvals, and no policy edit can raise it. Replies are checked so that amounts, dates and case IDs must appear in a tool result or the customer's own words. Orders, payments, carriers and notifications run against local fixtures behind the interfaces a live system would use.
This one is published in full. Read it, run it, fork it. Nothing here is behind a conversation.
This one is the MACH Alliance’s own work. Ask about settling routine post-purchase support without losing the human fallback, and the people who built it will answer.
Not ready to talk to anyone? MACH Insider is the Alliance mailing list. New solutions, program openings, and the research behind them, once a month.
A stated goal becomes a finished look, so a shopper who cannot phrase a query still gets a usable answer.
Shoppers get an answer on the product page in under a second, grounded in documents the brand controls.
Inbound purchase orders are read and routed automatically, with people reviewing only the uncertain ones.
Public code
The implementation is published in full, so anything on this page can be checked against the repository. Anything the repository does not show is not established here.
What this page does not establish
Where this came from
Written from the public repository README and its setup, production-considerations and implementation guides. It is a reference prototype on fictional demo data, not a production deployment.
Put your agentic solution in front of the enterprise leaders who use the Agent Solutions Hub to decide what to build next. Submissions are open to MACH Alliance Members, Collaborators, or Ambassadors.