# Product catalog

Things bought or wanted from any store, each with its pictures, price, store, page, details and reviews.

**What it is.** Things bought or wanted from any store, each with its pictures, price, store, page, details and reviews, made by an AI agent such as Claude Code or Codex in Artifacts (tryartifacts.com), the office for AI agents. **Ask for it** in plain words: “Make an Artifacts product catalog of 20 office chairs under $500, with photos, prices and ratings.” It stays a live item at its own link in the space, and the space’s owner can [publish](/docs/publishing) it as a web page anyone can open. See one an agent made: [Boston office kit](/p/northwind-office-kit), 20 real products with prices, photos and ratings.

> Agents read this guide with the `guide` tool, topic `catalog`, before they first make a product catalog. It is shown here word for word, so people and their agents work from the same method.

| | |
| --- | --- |
| Guide topic | `catalog` |
| Tools | [4 tools](/docs/reference/products) |

A product catalog holds the products a person or a team bought, wants or keeps track of, from any store: a shopping
history, a wish list, gift ideas, the kit for a new office, what a project ordered. People see it as a
store's grid of cards — each with its picture, title, store, rating, price and status — with a search, a
Filter button (status, store and category: people tick several and untick them), a sort, and the totals.
Clicking a card opens the product's own page: its pictures on the left (the main one large, the others as
thumbnails), and on the right its store, title, brand, rating, price (with the saving when there is a list
price), the button to its page, where it stands (status, the day, the order number, how many), "About this
item", its details table, the reviews of it elsewhere and the pages worth keeping (manual, warranty); under
it, a row of its related products. They comment on a product from its page.

The tools: `create_catalog` (title, subtitle, products), `read_catalog` (every product with its id and
fields, and the totals), `update_catalog` (add, change, remove, reorder products), `render_catalog` (a
screenshot of the grid, or of one product's page).

## A product catalog, a comparison or a database?

A product catalog is for products the person has or is after, one card each, with the pictures and the store
page that make it look like the store. A comparison is for deciding between a few options on the same
criteria. A database is for records that are not products (companies, deals, tasks), or a tracker that
needs its own typed fields and links between tables.

## Order of work

1. **Find each product's page.** The person gives you links, an order history, receipts or emails, or names
   what they want. For each product, read its page at the store (the product page, not a search result).
2. **Take what the page says**: the title as the store lists it, the brand, the price (and the list price
   when it is discounted), the rating and how many ratings, the main points ("About this item") and the
   details table, and the addresses of its pictures. Take the order date, order number, quantity and price
   paid from the order or receipt when there is one: what the person paid, not today's price.
3. **Reviews**: search for the product's reviews by testers people trust (magazines, specialist testers,
   video reviewers, a forum thread with real use), read each, and keep the two to five best — the headline,
   the address, who published it, its verdict as it gives it, and a sentence quoted from it.
4. **Related products**: from its page ("Frequently bought together", accessories, the model up or down) and
   from the reviews (the alternative they recommend), read each one's own page for its title, picture, price
   and rating. Say how each relates.
5. **Links**: the manual, the warranty, the return policy, support — the pages the person will want later.
6. `create_catalog` with them (or `update_catalog` with `add_products` on a catalog that exists).
7. `render_catalog`, and once with `product` to see one product's page. Fix what the checks name and every
   picture that does not show.
8. Give the person the URL, what you added, and what you could not find.

When you cannot read a store's page (some stores do not show it to other sites), give the url and what the
person told you; Artifacts tries the page's preview and schema.org product data (title, pictures, store,
brand, price, rating) and fills only what is missing. Never make up a price, a rating, a picture, a review
or a link: only pages you read.

## Fields

| Field | Holds |
|---|---|
| `title` | its name as the store lists it |
| `url` | its page at the store; its button goes there |
| `images` | its pictures, the main one first: the full-size image addresses on its page (up to 12) |
| `brand`, `store` | who makes it; where it is from ("Amazon", "IKEA") |
| `price`, `list_price`, `currency` | what it cost; the price before a discount; an ISO code (default USD) |
| `quantity` | how many; totals use price × quantity |
| `status` | where it stands: "Wishlist", "Ordered", "Delivered", "Returned" |
| `category` | what kind of thing: "Electronics", "Kitchen" |
| `date`, `order_id` | the day it was bought or added (YYYY-MM-DD); the order number |
| `rating`, `rating_count` | its rating at the store out of 5; how many ratings |
| `summary` | a paragraph on what it is |
| `features` | "About this item": short points, up to 15 |
| `specs` | its details table: `{ "label": "Capacity", "value": "24,000 mAh" }` |
| `reviews` | reviews of it elsewhere, up to 12: `{ title, url, source, score, excerpt, author, date }` |
| `related` | products that go with it or instead of it, up to 12: `{ title, url, image, price, currency, store, rating, rating_count, relation }` |
| `links` | pages worth keeping, up to 12: `{ label, url }` — "User manual", "Warranty", "Return policy" |

- **Pictures**: the product's own photos, full size, from its page — not a thumbnail, a banner or a logo.
  The first is the one on its card. A picture from the store's image server shows as it is; one the store
  does not let other sites show, store it with `add_asset` (its url) and give the address it returns.
- **What people filter by**: every `status`, `store` and `category` you give becomes a choice in the catalog's
  Filter button, with how many products have it. Pick a few words for each and use them the same way on every
  product ("Delivered", not "delivered" on one and "Arrived" on another); a wish list may need no status.
- **Dates**: the day it was ordered for a shopping history, the day it was added for a wish list. The grid
  sorts by it.
- **The same product twice** is one product with a quantity, unless it was bought on different days.

## Reviews, related products and links

- **Reviews** are links to reviews published elsewhere, not the store's star rating (that is `rating` and
  `rating_count`). The most trusted first. `source` names the publisher ("Wirecutter", "RTINGS",
  "YouTube · MKBHD"); `score` is the verdict in the review's own terms, a few characters ("8/10", "4.5/5",
  "Our pick"); `excerpt` is quoted, not written by you. A shopper's own review on the store page is not one.
- **Related products** show as a row of small cards under the product's page, each with its picture, title,
  store, rating and price, and `relation` as its tag: "Accessory", "Cheaper alternative", "The model up",
  "Bought together", "Replacement part". Each needs its own `url` and `image` from its own page. When a
  related product is also in this catalog (the same `url`), its card opens it in the catalog.
- **Links** are the product's own pages beyond the store page: the manual (often a PDF on the maker's site),
  the warranty terms, the store's return policy, support, a size guide. Label each by what it is.
- All three are whole lists in `change_products`: read the product first and send the full list.

An example (made-up products and addresses):

```json
{
  "title": "Shopping history",
  "subtitle": "Orders for the studio, autumn 2026",
  "products": [
    {
      "title": "Northwind 20K Power Bank, 65 W",
      "url": "https://shop.example.com/p/northwind-20k",
      "images": ["https://shop.example.com/img/northwind-20k-front.jpg", "https://shop.example.com/img/northwind-20k-side.jpg"],
      "brand": "Northwind", "store": "Example Shop",
      "price": 59.99, "list_price": 79.99, "currency": "USD", "quantity": 2,
      "status": "Delivered", "category": "Electronics", "date": "2026-10-03", "order_id": "ORD-10442",
      "rating": 4.5, "rating_count": 1280,
      "features": ["20,000 mAh: charges a phone about four times", "65 W out: charges a laptop"],
      "specs": [{ "label": "Capacity", "value": "20,000 mAh" }, { "label": "Weight", "value": "410 g" }],
      "reviews": [
        { "title": "The best power bank for laptops", "url": "https://reviews.example.com/best-power-banks", "source": "Example Reviews", "score": "Our pick", "excerpt": "It charged a 14-inch laptop from empty to 80% in a single go.", "date": "2026-08-14" }
      ],
      "related": [
        { "title": "Northwind 100 W USB-C cable, 2 m", "url": "https://shop.example.com/p/northwind-cable-2m", "image": "https://shop.example.com/img/northwind-cable.jpg", "price": 14.99, "rating": 4.7, "rating_count": 3020, "relation": "Accessory" },
        { "title": "Contoso 10K Slim", "url": "https://shop.example.com/p/contoso-10k", "image": "https://shop.example.com/img/contoso-10k.jpg", "price": 29.99, "relation": "Cheaper alternative" }
      ],
      "links": [
        { "label": "User manual", "url": "https://northwind.example.com/manuals/20k.pdf" },
        { "label": "Warranty", "url": "https://northwind.example.com/warranty" }
      ]
    }
  ]
}
```

## Changing it

People add, edit, reorder and delete products while you work: `read_catalog` first, then
`update_catalog` with `change_products` (by id; the fields you give replace those fields — `images`,
`features`, `specs`, `reviews`, `related` and `links` as whole lists; "" or [] clears one), `add_products`,
`remove_products`, `order_products`.

## Comments

People comment on a product from its page. Read the thread, fix the product with `update_catalog`,
`reply_comment`, resolve. To start one, `comment` with `product` (its id from `read_catalog`).

## See it in use

- **Examples:** [24 pages agents made for a sample company](/examples)
