Profiles / Ecosystem and market exp Edit on GitHubMarkdown

Cookwala Ecosystem and Marketplace

Status: experimental profile. Not part of Cookwala Core. See CORE.md section 10 for what is normative today.

Cookwala is a protocol, not a store. It gives every participant in the food-to-table lifecycle a defined place, a standard way to be discovered, and a standard way to plug in their own requirements, flows and standards.

Schema: [market.schema.json](../schemas/market.schema.json) (Provider, Offer, OfferFeed, QuoteRequest, Quote). Examples: [examples/market/](../examples/market).

1. The lifecycle and where everyone fits #

 Sourcing ─► Planning ─► Buying ─► Storing ─► Prepping ─► Cooking ─► Serving ─► Leftovers ─► Feedback
   │            │           │          │          │           │           │            │            │
 farms,      recipe       grocers,   fridge/    robots,     robots,     restaurants, storage      reports,
 suppliers,  publishers,  butchers,  pantry     cookware,   appliances, caterers,    advice,      reviews,
 certifiers  chefs,       meal kits, makers,    knife/tool  energy      delivery     transform-   certifiers,
             nutrition-   delivery,  container  makers      providers,  services     ations       auditors
             ists, AI &   UCP/ACP    makers                 hub & AI
             advisor      merchants                         vendors
             vendors
ParticipantPublishesConsumesTypical integration
Grocers / supermarkets / butchers / fishmongers / farmsProvider + OfferFeed: products mapped to cw.ing ids (+ GTIN), pack sizes, prices, availability, delivery areas, halal/organic credentialsQuoteRequests, OrderIntents (via UCP/ACP)Offer feed + UCP/ACP checkout endpoint
Ingredient suppliers / wholesalersBulk offers, quotes for caterers and schoolsQuoteRequests from feed plansQuote endpoint
Restaurants / cloud kitchens / caterersReady meals mapped to recipeIds; their own (possibly private) recipe catalogs; capacityOrders; Cookwala sessions to run their own robot kitchensOffers + private catalog + hub
Meal-kit companiesKits mapped to recipes (cook-it-yourself option in advice)Kitchen capability matchesOffers with recipeIds
Robot makers / appliance makersProducts with capability manifests; conformance credentials; rental and service offers; vendor extensions and bindingsRecipes, sessions, advice, eventsExecutor/adapter + offers + x-vendor namespace
Cookware / container makersCookware items (capacity, material, induction, oven/freezer/microwave safety, robot-graspable handles)Storage and planning needsOffers with cookware objects
Chefs / recipe publishers / cooking schoolsCatalogs (free, paid or private), recipe packs, classesExecution reports (how their recipes perform on robots)Catalog + offers (recipe_pack, cooking_class)
Nutritionists / dietitiansPolicy packs, nutrition targets, flowsClient profiles (with consent)Extensions + flows
Certifiers (halal, kosher, organic), auditors, labsVerifiable Credentials for providers, products, recipes and devicesAudit dataCredential.vc (W3C VC)
Delivery servicesDelivery offers, ETA events, robot_receive handoffOrderIntentsUCP/ACP + events
Energy providersTariff/time-of-use data, energy plansKitchen energy use (opt-in)Offers (energy_plan) + kitchen profile prices
Extension / AI model / hub vendorsExtensions, models, advisors, hubs (free or paid)Hook callsextension.schema.json + offers
Catalog hosts / marketplace operatorsHosted catalogs, registries, curated marketplacesProvider feedsRegistry + discovery
Repair / maintenance servicesRobot and appliance service offersdevice.fault events (with consent)Offers + A2A agent

2. How trade flows through the protocol #

  1. Discovery: providers publish /.well-known/cookwala.json (roles include provider) with a link to their Provider document and offer feed. Registries list them. Hubs and advisors search offers by ingredientId, recipeIds, deviceClasses, area, credentials and price.
  2. Planning uses offers: cook_from with allowShopping, feed and shopping_optimize read offers to price plans, compare cook vs meal kit vs ready meal, and build the cheapest basket that meets diet, halal and allergen credentials.
  3. Quotes: for bigger needs (catering for 80, 5 kg halal lamb, a robot for an event), the hub broadcasts a QuoteRequest. It carries no personal data, just needs, area, date and budget. Providers answer with signed Quotes.
  4. Checkout: happens in the provider's own system or through UCP/ACP. Payment authorization uses the provider's flow or AP2 mandates. Cookwala never carries card data or credentials. The hub records the OrderIntent → externalOrderRef.
  5. Fulfillment: delivery events (cookwala.order.*), robot_receive handoff, and inventory updated automatically.
  6. Feedback: opt-in execution reports and order outcomes build reputation (delivery reliability, product quality vs listing, recipe success on robots).

3. Fairness and neutrality rules #

  • Paid placement must be disclosed (offer.sponsored = true). Indexes must label it, and must not rank sponsored offers above safety- or constraint-failing alternatives.
  • Credentials are verified, not trusted: verified is set by the index or hub after checking the VC.
  • No lock-in: any marketplace operator can run on the protocol, and providers can list in many registries.
  • Privacy: QuoteRequests and offer searches don't include client profiles. Only an approved order shares delivery details with the chosen provider, through their checkout.
  • Dietary integrity: offers claiming halal/kosher/organic without a verifiable credential are labelled "unverified" and excluded when the active policy requires certification.

4. Bringing your own standards #

Participants often have standards of their own. Cookwala bridges them instead of replacing them:

Their standardBridge
GS1 GTIN / Digital Linkoffer.gtin, ingredient.gtin; vocab entries can list GTIN examples
schema.org Recipe / Product / Offercookwala convert --to/--from schema-org; JSON-LD @context
Matter, Home Connect, SmartThings, vendor appliance APIsBindings + adapters (bindings/, x-vendor)
ROS 2, VDA 5050, Open-RMFExecutor/fleet adapters (INTEROP §3)
UCP, ACP, AP2Commerce adapters (order.schema.json)
HACCP plans, ISO 22000, local food codesPolicy packs + CCPs; export of CCP logs
Halal/kosher certification schemesCredentials + dietary policy packs
Internal company formatsx- fields + fields contributions; flows for their processes

Each participant declares the standards they follow in Provider.standards, so integrators know which bridges apply.

5. Business models the protocol supports (not requires) #

  • Free and open recipes (cookwala.ai public catalog).
  • Paid or private recipe catalogs (chefs, brands, restaurants).
  • Commercial extensions, AI models and hubs (with pricing).
  • Grocery, meal-kit, ready-meal and catering sales through providers' own checkouts.
  • Robot sales, rental and service; certification and auditing services.
  • Optional marketplace operators (including, possibly, cookwala.ai) running curated registries with clear disclosure rules.

The protocol itself, the reference index and the core knowledge stay free (see the licenses and the patent pledge).