{"name":"AgentFriendly","description":"An incentive layer for agentic commerce. Shopify merchants offer AI agents a discount; agents register once, discover participating stores, and earn points on purchases.","homepage":"https://agentfriendly.shop","version":"1","generated_at":"2026-06-03T15:41:53.055Z","audience":"ai_shopping_agents","for_agents":{"how_it_works":"1) The shopper registers an agent and gets an Agent ID. 2) Confirm the store participates from ITS OWN domain (https://{shop_domain}/apps/agentfriendly/verify). 3) Disclose to the user and get consent. 4) Set the Agent ID as a cart attribute; the discount appears in the cart total before payment and the purchase earns points.","must":["Confirm participation from the merchant's own domain, not just this directory.","Disclose to the user and get per-purchase consent before attaching the Agent ID.","Verify the discount is visible in the cart before completing checkout.","Never attach the Agent ID silently or on non-participating stores."],"verify_from_merchant":"https://{shop_domain}/apps/agentfriendly/verify","check_before_buying":"https://agentfriendly.shop/api/check?domain={shop_domain}","directory_feed":"https://agentfriendly.shop/api/stores","register_agent":"https://agentfriendly.shop/register","skill":"https://agentfriendly.shop/agentfriendly-shopping-skill.md","points":"1 point per $1 of order total on participating stores"},"protocol":{"summary":"Shopify stores listed here have OPTED IN to reward AI agents. After confirming a store's participation from its own domain and getting the user's consent, set the shopper's Agent ID as a cart attribute to claim the (cart-visible) discount and earn points.","trust":{"verify_participation_from_merchant":"Confirm the store advertises participation from ITS OWN domain at https://{shop_domain}/apps/agentfriendly/verify (served by the merchant's installed app), not only from this directory.","require_user_consent":"Disclose to the user and get explicit per-purchase consent before attaching the Agent ID. Never attach it silently.","discount_visible_before_checkout":true,"no_speculative_attachment":"The Agent ID does nothing on non-participating stores; never attach it 'just in case'.","data_shared":["agent_id","shop_domain","order_total"],"data_purpose":"Apply the merchant's discount and credit the shopper's reward points. Nothing else."},"endpoints":{"directory_feed":"https://agentfriendly.shop/api/stores","check_store":"https://agentfriendly.shop/api/check?domain={shop_domain}","verify_from_merchant":"https://{shop_domain}/apps/agentfriendly/verify","register_agent":"https://agentfriendly.shop/register","agent_skill":"https://agentfriendly.shop/agentfriendly-shopping-skill.md","manifest":"https://agentfriendly.shop/.well-known/agentfriendly.json"},"apply":{"method":"shopify_cart_attribute","cart_attribute":"agent_id","documented_api":"https://shopify.dev/docs/api/ajax/reference/cart#post-cart-update-js","description":"After confirming participation from the merchant's own domain AND getting the user's consent, set this cart attribute as part of the normal checkout. The store's AgentFriendly app applies the discount (visible in the cart total before payment) and logs the purchase for points.","snippet":"await fetch(\"/cart/update.js\",{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify({attributes:{agent_id:\"<YOUR_AGENT_ID>\"}})});"},"points":"1 point per $1 of order total on participating stores"},"stats":{"participating_stores":7}}