ShopAgent
Full-stack agentic commerce app — conversational product discovery across the entire Shopify ecosystem, multi-merchant checkout, Embedded Checkout Protocol, and streaming UI.
Shopify's Universal Commerce Protocol launched with backing from Walmart, Target, Visa, Mastercard, and Stripe — yet almost no independent developers have built production-grade UCP agents. The protocol is complex, the reference implementations are minimal, and building a full buyer journey requires coordinating three MCP servers, multi-merchant checkout state, and payment escalation.
A UCP-native agent implementing the complete buyer journey: discovery, refinement, checkout, and order confirmation. Three MCP server integrations (Catalog, Checkout, Storefront), agentic orchestration via Claude API with up to 10 tool rounds per request, full-replacement checkout state management, Embedded Checkout Protocol for payment escalation, and a streaming Nuxt 3 frontend with real-time product carousels.
1async function runAgentLoop(2 messages: Message[],3 tools: ToolDefinition[]4): Promise<StreamableResponse> {5 let toolRound = 06 const MAX_ROUNDS = 1078 while (toolRound < MAX_ROUNDS) {9 const response = await anthropic.messages.create({10 model: 'claude-sonnet-4-20250514',11 messages,12 tools,13 stream: true,14 })1516 const toolCalls = extractToolCalls(response)17 if (toolCalls.length === 0) break1819 const results = await Promise.all(20 toolCalls.map(tc => executeMcpTool(tc))21 )22 messages.push(...formatToolResults(results))23 toolRound++24 }2526 return streamResponse(messages)27}28
Interested in similar work?
Let's discuss how I can help bring your Shopify project to life.