CATALOG INDEXING AS A SERVICE
Bring your own catalog
Your products can live anywhere — a Postgres table, a Sanity CMS, a Shopify store, this JSON file right here. Drop <CoalAgentPublisher> into your page and they’re indexed on 0G for agent discovery. One component. Zero migration.
Catalog idle
Your local products
What just happened
<CoalAgentPublisher>POSTed these products to/api/coal/publish-catalogon this site’s server.- That route called
publishCoalCatalog()fromcoal-react/serverwith the server-side API key. - Coal upserted the products into its index (keyed by
externalId, so republishes are idempotent). - Coal re-published the merchant profile to 0G Storage (immutable Log layer) and mirrored it to 0G KV (live agent discovery layer).
- Any AI agent hitting
api.usecoal.xyz/api/agent/discovernow finds these products.