Product Design & Engineering
Daily news on a family's schools and neighborhoods.
A watchlist for the schools and neighborhoods a family cares about, checked every day for news for about a cent a place. One search per place, shared by every family watching it, sorted by a low-cost model and checked so it can't invent a story or a source.
Product Design · AI Engineering

Families saved schools and neighborhoods, then had to keep checking each one for news themselves.
I designed and built all three.
Check every watched place every day for news a parent would care about, and keep the cost flat as more families sign up.
A monitor runs every day for as long as it's on, so a cost per family would grow with every signup.
01 · Design
A family on Motley Pro turns monitoring on from a pill on any school or neighborhood page, or with the switch beside a place on their dashboard. The Monitoring panel puts the watchlist on the left and one news reader on the right. On a phone it shows one at a time.

02 · Engineering
Three services do the work. Inngest runs the job: it starts it once a day and runs each place on its own, three at a time, so one slow search doesn't hold up the rest. Exa does the news search. MiniMax, a low-cost model, sorts what the search finds. Then code checks the model's work against the search.
Once a day
InngestA family switching a place on sends the same event straight away, so the first news doesn't wait a day.
For each place
InngestChecked today?
PostgresIf the place was checked in the last 20 hours, the run stops here.
Search
ExaOne news search over the last 120 days. Eight results, with up to 3,000 characters from each.
The search for Park Slope
"Park Slope" Brooklyn NYC neighborhood news development safety schools
Sort
MiniMaxThe model reads the eight results, files each story under one of five kinds of news, and writes a headline and a short summary. Anything off-topic, older than about six months, or a listing is dropped.
Check
CodeDrops any kind that isn't on the list, and any link the search didn't return, so the model can't add a story or a source.
Save
PostgresSaved once for the place, kept for 90 days, and shown to every family watching it.
If the search or the model fails, nothing is saved and the place is tried again on the next run. The family sees “Nothing new yet — we check daily.”
The five kinds of news the model sorts into
Schools
Neighborhoods
03 · Cost
A monitor runs every day it's on, so small costs add up.
Headlines are saved against the place and shown to every family watching it. Fifty families watching P.S. 321 share one search a day.
The daily run and a family switching a place on can ask for the same check. A place checked in the last 20 hours is skipped before any search is paid for.
The search returns up to 3,000 characters from each of eight results, and the model sorts from those. Fetching every article in full would roughly double the cost of each search.
Sorting eight short pieces is an easy job, so it goes to MiniMax, not a top-tier model. Exa and MiniMax were chosen in the Motley study.
Outcomes
~1¢
per watched place, per day
One search and one sort, however many families watch the place.
1
search a day per place
Fifty families watching P.S. 321 cost the same as one.
~50%
less search cost per check
From sorting the search's highlights instead of fetching every article in full.
93%
less per search with Exa
$0.007 a call against Tavily's $0.100, from Motley's call log.
Source: the cost model in Motley's monitoring guide, and Motley's AI call log for the search prices.