Feras AllaouLet’s talk (opens in a new tab)
← Selected work

Case studyA property marketplace (anonymised)

From search filters to search by prompt

Users ignored the search filters, and the team thought smart search meant a rebuild. Instead, I gave an AI agent the search they already had. Working prototype in 2–3 days, live in 2 weeks.

Prototype
2–3 days
Live
2 weeks
Rebuild
None
My role
Idea and build
Split image. Left: a crowded panel of search filter checkboxes, 1,284 results. Right: one typed request, “3-bedroom flat in Lisbon near a good school, under €2,000 a month. We have a dog and need parking.”, with eight filters set automatically and 38 homes that fit.

The problem

The search worked like most big booking and property sites: a location box, a few dropdowns, and a long column of filters on the left.

Most people typed a place, hit search, and scrolled. The filters that would have found them the right home went mostly unused.

The team knew search had to get smarter, but assumed it meant months of work on a new search system.

Before: a form, a wall of filters, and 1,284 results to scroll. Tap to enlarge.

The insight

The search already knew every filter, and every possible value, for each location. That’s how the sidebar was built.

So the AI didn’t need a new search engine. It needed to know which filters exist, and permission to set them. We gave it the existing search functions as tools.

How it works

  1. 1

    Describe it

    The person writes what they want, in their own words.

  2. 2

    Read the options

    The AI asks the existing search which filters exist for that place.

  3. 3

    Set the filters

    It picks the values that match the request and runs the normal search.

  4. 4

    Show the results

    Results appear on the same page, with the filters visible so people can adjust them.

After: one sentence sets eight filters. 38 homes that actually fit. Tap to enlarge.

One sentence, eight filters

“3-bedroom flat in Lisbon near a good school, under €2,000 a month. We have a dog and need parking.”
They saidFilterValue
“Lisbon”LocationLisbon
“a month”TypeRent
“flat”Property typeApartment
“3-bedroom”Bedrooms3
“under €2,000”Max price€2,000 / month
“We have a dog”FeaturesPets allowed
“need parking”FeaturesParking
“near a good school”NearbySchools

From idea to live

  1. Day 1The idea: the filters already exist, so let the AI use them.
  2. Days 2–3Working prototype, connected to the real search.
  3. Week 2Live for users, with the classic filters still there.

Under the hood: The existing search API, which already returned the filters and values for each location, wrapped as tools for a LangChain agent. No new search engine and no data migration.

What I’d tell any team

  • Being AI-ready rarely starts with a rebuild. Often the pieces are already there.
  • Keep the old way working. AI fills in the filters, and people can still change them.
  • Ship a prototype in days, then decide. It’s cheaper than a planning cycle.

Next step: The same tools can be exposed over MCP, so assistants like ChatGPT and Claude can search the platform directly.

Screens are illustrations with a fictional brand. The client is not named.

Feels like a rebuild? It might not be.

Tell me what you want your product to do. In 15 minutes we’ll see if the pieces are already there.

Book a free 15-min call (opens in a new tab)