Shopping research agent

쇼핑 조사 에이전트

Ask for buying constraints, compare options, and build a selection guide.

···
html
<div class="scene shopper"><div class="label">SHOPPING RESEARCH · EXAMPLE</div><div class="constraints"><span>SMALL DESK</span><span id="budget">BUDGET?</span></div><div class="products"><div><b>ARC</b><small>$42 · compact</small></div><div><b>BEAM</b><small>$68 · wide</small></div><div><b>DOT</b><small>$39 · compact</small></div></div><div class="recommendation" id="pick">Comparing fit and trade-offs…</div><button id="refine">Add budget →</button></div>
css
.scene{width:min(92%,680px);max-height:94%;font:700 clamp(10px,max(1.7vmin,1vw),15px)/1.3 sans-serif;color:var(--fg)}.label{font:900 clamp(10px,max(1.3vmin,1vw),12px)/1 sans-serif;letter-spacing:.12em;color:var(--accent)}.panel{background:var(--surface);border:1px solid var(--line);padding:clamp(8px,2vmin,18px)}.muted{color:var(--muted)}.accent{color:var(--accent)}.row{display:flex;align-items:center;gap:clamp(5px,1.2vmin,10px)}.pill{display:inline-block;padding:.35em .6em;border:1px solid var(--line);border-radius:30px}button{cursor:pointer;font:inherit}@media(min-width:700px){.scene{transform:scale(1.5)}}.shopper{max-width:590px}.constraints{display:flex;gap:5px;margin:clamp(8px,2vmin,17px) 0}.constraints span{border:1px solid var(--accent);color:var(--accent);padding:.4em .7em;font-size:clamp(10px,max(1.2vmin,1vw),12px)}.products{display:flex;gap:5px}.products div{flex:1;min-width:0;display:grid;gap:4px;padding:clamp(7px,1.5vmin,13px);border:1px solid var(--line);background:var(--surface);transition:opacity .35s,transform .35s}.products b{font-size:clamp(12px,2.1vmin,18px)}.products small{color:var(--muted);font-size:clamp(10px,max(1.2vmin,1vw),12px)}.products .dim{opacity:.3;transform:scale(.96)}.products .pick{border-color:var(--accent);box-shadow:3px 3px 0 var(--accent)}.recommendation{margin:clamp(8px,2vmin,18px) 0;font-size:clamp(10px,max(1.5vmin,1vw),13px);font-weight:900}.shopper button{background:var(--fg);color:var(--bg);border:0;padding:.5em .8em;font-size:clamp(10px,max(1.3vmin,1vw),12px)}
js
const products=[...document.querySelectorAll('.products div')],budget=document.querySelector('#budget'),pick=document.querySelector('#pick'),button=document.querySelector('#refine');let refined=false,timer;function show(){refined=!refined;budget.textContent=refined?'UNDER $50':'BUDGET?';products.forEach((p,i)=>{p.classList.toggle('dim',refined&&i===1);p.classList.toggle('pick',refined&&i===2)});pick.textContent=refined?'DOT fits the budget; smaller beam is the trade-off.':'Comparing fit and trade-offs…'}button.addEventListener('click',()=>{clearInterval(timer);show()});timer=setInterval(show,3000);setTimeout(show,700);

A shopping research agent asks about buying constraints and compares product information to support a choice. OpenAI introduced ChatGPT shopping research for this kind of guided exploration in 2025.

In the demo, budget and space constraints change which of three fictional products remain candidates. The final card shows both fit and trade-off.

Prices and stock can change. Confirm current details with the merchant before buying, and do not treat a research answer as a completed purchase.

When to use

Use it to plan product attributes and comparison evidence for conversational discovery.

Open as page ↗