An AI search bar that can sell
Systems Thinking with AI← All issuesissue 1

An AI search bar that can sell

A search bar matches words. To sell, it has to do what a good salesperson does.

2,544 words · about 11 minutes

It is Sunday night, a little after ten. Tomorrow is Maya’s first day at a corporate office job. The outfit she planned is on the chair but it lacks that new start energy. She pulls out her phone, navigates to a fashion online shop she likes and types exactly what she is thinking: “something professional for my first day at a corporate office job.”

The store’s semantic search bar answers with 608 items. She scrolls. A fur-trim cardigan. A satin mini. Number seven is a pair of acid-wash denim shorts.

Maya's phone at 22:14: her sentence in the search box, 608 results, a denim mini skirt at number six and acid-wash denim shorts at number seven.

Somewhere in the warehouse a black blazer hangs in stock at forty dollars, and it will not appear on any search result presented to her tonight.

A black blazer with a tag: A$40.00, in stock, shown to Maya: never.

The store’s $99 per month search bar app did nothing wrong. It matched her words. Maya closes the tab, puts the phone down, and wears the outfit on the chair. Nobody at the store will ever know she was there.

Now picture her walking into a shop instead, Saturday afternoon, bag on her shoulder. “I start at an office on Monday. Something professional, not too expensive.” The woman behind the counter looks at her for a second, says “black or navy?”, and walks to a rail at the back. Four minutes later she is holding the blazer against herself in the mirror. She never said the word blazer.

That is the difference between a search bar and a salesperson. A search bar matches. A salesperson listens, knows the shelves, and hands you the thing.

Every shop on the internet has a version of Sunday night, and AI has not fixed it, because most “AI search” still matches, only with better synonyms. This issue is about what it would take for a search bar to sell. The short answer is be more like the person behind the counter.

What “sells” means

That person can be anyone behind a counter. Take a florist. The shop is cold, because flowers like it cold, and it smells of cut stems and wet paper. Buckets on the floor, a radio somewhere, a roll of brown paper on the counter with a pair of secateurs on top. A man walks in on a Tuesday at six, still in his coat. “It’s my wife’s birthday, she likes pink, nothing too big.”

She hears more than he said. She hears the budget he never mentioned, and she hears that “nothing too big” means he is taking it home on the metro at rush hour with one hand free.

She knows her shelves the way the person who stocked them knows them. The peonies by the window are romantic and photograph well, which matters, because the photograph is half the gift. The lilies at the back are for sympathy. Never a birthday. The tall arrangement by the door is the most beautiful thing in the shop and will be a wreck by the third stop of the metro ride.

So she pulls three things, not thirty, and stands them in a row on the counter. She holds up the one she would buy herself, turns it once so he can see the back, and waits. If nothing in the shop fits, she says so. She has said it before and the shop is still open.

She also remembers. What sold last week, what sat there, what wilted in the bucket on Thursday and went out with the stems.

He leaves with the peonies. That is what “sells” means: the person who walked in with a half-formed want walks out with the thing, and comes back. Every step she took to get him there is a step a search bar could take and does not. The woman at the boutique did the same four things for Maya. Any shop owner that is asking for a search bar that sells is really asking for a virtual sales agent. The job is to build that agent.

The problem is everywhere

Flower shops are not special. We spent a summer typing what shoppers type into the search bars of forty-odd well-run online stores. The stores are real. Their names are left off. Start with the simplest case, three ordinary words for a product the shop stocks in three versions:

Search: warm winter hat. Their search bar showed: mini shorts at number three. A search bar that sells shows, in stock the whole time: a faux-fur trapper hat.
Four hundred and sixty-nine results, mini shorts at number three. The trapper hat was in stock the whole time. So were a beanie and a balaclava.

At one store, twelve of fourteen sentences got “no results” while five of five plain keywords worked perfectly. The keywords are fine. The sentences are not. And sentences are how people buy. Sort the sentences that fail and four kinds keep coming back.

Slang. This is the category where understanding intent stops being an improvement and becomes critical. Slang names a feeling, a look or a reference, never a product. No synonym list keeps up with it, because it changes every season and the people who use it are the ones with a card in hand.

A clothing label holds the film licence and prints a character’s most famous line, “I am no man,” across a jumpsuit. Search “i am no man” on its site and the jumpsuit comes back first. Add one word, the way people describe a vibe:

Search: i am no man energy. Their search bar showed: no results found. A search bar that sells shows, in stock the whole time: the I Am No Man jumpsuit.
One extra word emptied the page. The shopper did not change what she wanted. She described it instead of naming it. The same shop finds seven products for “arwen” and none for “eowyn”, whose line it is.
Search: something for a euro summer vibe. Their search bar showed: red glasses and a black belt. A search bar that sells shows, in stock the whole time: a butter yellow midi dress.
Euro summer is a look, not a category. Their search answered it with sunglasses and a belt. The butter yellow midi dress was hanging right there.
Search: i need a festival fit. Their search bar showed: the same basic top in black and in white. A search bar that sells shows, in stock the whole time: a sequin halterneck mini dress.
A festival fit is an outfit idea with no shelf behind it. Their first two results were the same basic top in two colors.
Search: balletcore flats. Their search bar showed: no results found. A search bar that sells shows, in stock the whole time: suede Mary Jane ballet flats.
“Balletcore flats.” No match, said the search bar, above a warehouse holding taupe suede Mary Jane ballet flats at $109.95.

Occasions. Maya’s Sunday night was one.

Search: something professional for my first day at a corporate office job. Their search bar showed: a denim mini skirt and denim shorts. A search bar that sells shows, in stock the whole time: a black blazer.
Maya’s Sunday night, in three columns. The blazer was there the whole time.
Search: something modest to wear to sunday lunch with my grandparents. Their search bar showed: two lace-trim peekaboo mini dresses. A search bar that sells shows, in stock the whole time: a square-neck maxi dress.
Sunday lunch with the grandparents. Their search led with a lace-trim peekaboo mini dress. Grandma would have had views.

Negatives. To a keyword search, “not” is just another word you seem enthusiastic about.

Search: something for a wedding that isn't gold. Their search bar showed: a $5,500 gold diamond band and a $3,800 gold ring. What the AI search bar returned first, in stock the whole time: a $298 pearl necklace.
Something for a wedding that isn’t gold. The first three results were gold, starting at five and a half thousand dollars. The pearls were in stock at $298.

Gifts described by the person. A shopper asked a coffee brand for a present for someone who already owns every coffee gadget there is.

Search: a present for someone who already owns every coffee gadget there is. Their search bar showed: a milk frother and a coffee scoop. What the AI search bar returned third, in stock the whole time: a three-roast coffee bundle.
A milk frother, a scoop, a Chemex and then, conceding defeat, a gift card. The word doing the work in that sentence is “already”.

None of these search bars is broken. Each found products whose words match your words. But “i am no man energy”, “euro summer vibe”, “first day at the office”, “isn’t gold” and “already owns” are not products. They are people telling you what they want, and the shop had the answer in stock every time. Anyone behind a counter would have found it in four minutes.

How you build one

The difference. Old search matches words: your “hat” against a title with “hat” in it. Newer search matches meaning, so “bouquet” and “flowers” land together. That is a real improvement, and still the wrong target, because neither one knows what the person wants. “Gift for my wife” contains no flower. So the search leans on whichever product descriptions happen to say “gift for your wife” and scores them as close. You could try to write every phrase a shopper might use into every description, but at scale nobody can guess and embed every query in advance. Without it, a gift and flower shop answers with chocolates or a bathrobe. One flower shop I know answered with a suitcase.

Search: gift for my wife. With meaning-matching alone: a pralines heart box and a bathrobe for women. What the AI search bar found: red roses.
An illustration using the shop’s real products. The pralines and the bathrobe both say “gift” and “her” in their descriptions. The roses say “roses”.

Understanding intent means reading the sentence the way a salesperson reads the person in front of her: who it is for, what the occasion is, what the budget is, what must be true. Only a model that reasons can do that. And that is where the challenge starts.

First, she has to know the shelves. The flower shop’s product list was written for a warehouse, not for a florist. “Standard (12 roses)”. “Deluxe (24 roses)”. “Arctic White”. Nothing about who it is for, what it says, what occasion it fits. A human salesperson learns that in a month on the floor. Yours gets a weekend. So the first thing to build is not search. It is a pass that reads every product and writes the card a good salesperson keeps in her head: what it is, who it suits, which occasions, what style, what color, roughly what price band, and one sentence worth saying about it. It sorts the shop into shelves that make sense to a shopper rather than to a spreadsheet, and it works out the questions this shop should ask, because a flower shop asks “who is it for” and a ski shop asks “how good are you”. A few hundred products take minutes. Most teams skip this step, then wonder why their clever search keeps recommending the suitcase.

Then the wall. Shelves ready, the obvious version is to hand the query and the shelves to a capable model and ask for the best matches. It works. It understood “anniversary” and “nothing too big” and “around fifty”. It also took twelve seconds. Twelve seconds is not a loading time in e-commerce. It is a goodbye. So you try a fast, small model. It comes back in under a second and recommends the suitcase. Every AI product hits this wall. The brains you want and the speed you need live in different models. You can wait for the next release. Mother’s Day will not.

So you build the virtual sales agent. Look at the florist again. She does not do one clever thing. She does four small ones in a row, and none is hard on its own. Every good clerk does the same four. So that is how you build one, four steps, each done by the cheapest thing that can do it well:

  1. She listens. A small, fast model reads what the shopper typed and writes down what it heard: who it is for, the occasion, the budget, anything that must be true. “Gift for my wife, anniversary, under fifty” becomes a short note. The only clever step, and it is clever about one thing.
  2. She walks to the right shelf. From that note we work out where in the shop to look, in the shop’s own words rather than the shopper’s. The right categories, the right price band.
  3. She pulls a handful. A plain semantic search fetches a few dozen candidates from those shelves. No reasoning here, and it runs in a blink.
  4. She holds up the best one. A second small model looks only at those candidates, puts them in order, and is allowed to say “none of these fit”. This is where the suitcase dies.
Block diagram: the shopper's sentence goes to a classifier that understands intent, then a query built for the intent, then embedded search over enriched product cards, then a reranker that holds up the best. Under each box, the florist's move. Step zero, once per shop, writes the card for every product.
The salesperson as a pipeline. Two small models at the ends, plain code and a vector index in the middle, and step zero done once per shop.

No step can do the whole job. Together they match the smart model at the fast model’s speed.

Then you make her fast. Once the parts exist, the next challenge is getting all four to answer in under two seconds, because a clerk who takes twelve seconds to say “I have just the thing” has already lost the sale. That is a tuning story of its own, with its own tricks, and it gets its own issue.

The proof

A virtual sales agent is only worth the name if it works on shelves it has never seen. So the same pipeline, the same four steps with nothing changed, went into demo shops in three different trades: a flower shop, a ski shop and a padel shop. All of them are open at demo.maestrocommerce.ai, and you can type your own sentences. Here are four of ours.

Flowers: an occasion. Before any of this, my friend’s shop answered “gift for wife anniversary” with a suitcase, a reed diffuser and a shoulder bag. Here is a harder sentence, in the demo flower shop: “sympathy flowers for a funeral”.

Demo flower shop search for "sympathy flowers for a funeral": sympathy flowers to express your condolences, 8 matches, led by Sunset of Life and white roses.

The first line is what the agent heard: sympathy flowers, to express your condolences. Eight matches out of the whole shop. White roses, lilies, soft colors, nothing cheerful. Above the results, the question a shopper asks next, answered before they ask it.

Ski: a job with a catch. “Keep my hands warm without losing grip on the poles.”

Demo ski shop search for "keep my hands warm without losing grip on the poles": gloves and mittens with grip for poles, 8 matches, led by leather ski gloves.

The shopper never said gloves. A search bar that matches words reads “poles” and sells you poles. The agent heard cold hands and a grip problem, and came back with eight pairs of gloves and mittens, led by the leather ones ski patrollers wear.

Padel: how you play. “A control racket for an intermediate player.”

Demo padel shop search for "a control racket for an intermediate player": 15 matches, led by the CourtMaster Control at 99.90 euros.

Fifteen matches, led by a forgiving racket with a huge sweet spot at €99.90.

Same shop, opposite player. “Something with more power for an advanced player.”

Demo padel shop search for "something with more power for an advanced player": 19 matches, led by the Bandit Warhead at 329 euros.

Same shelves, a different answer. Full carbon, aggressive feel, €269 to €329. The top six rackets of the two searches do not share a single one. One catalog, two players, and the agent knew the difference.

Flowers, ski gear and padel rackets have nothing in common except the pipeline. Nobody tuned it per shop. Each shop got its products read once, the way a new hire spends a first month on the floor, and the same four steps did the rest.

For the business. Go back to Maya’s Sunday night. With a salesperson in the search bar, she types her sentence and the first card is the blazer, forty dollars, with a line under it about first days. She buys it. The store knows she came, what she asked for, and what she left with. That last part matters more than the sale: it is how the person behind the counter learns which rail to walk to next time. A search bar that sells is measured in blazers and peonies leaving the building, and in the shoppers who come back because it listened.

The takeaway

AI makes it possible to rethink a tool as ordinary as a search bar around what it is for, selling, instead of what it does, matching. But “rethink” does not mean “hand the query to a model.” The model that understands the shopper is too slow to serve one, and the fast one is too dumb to. The system is the product: find the person who already does the job well, break her work into its small steps, give each step the cheapest thing that does it well, prepare the data she would have in her head before she starts, and keep every step as a knob you can turn. The intelligence is in the arrangement, not in any one part.