Nearby
Scan an area, audit each business once, score it against an offer. Nothing is sent until you turn sending on.
What it does
Audit once, score cheaply
Each business is audited once from its public footprint. A small model then scores every offer against that audit, so spend does not multiply with the offers.
Stateless agents on a cron
Every agent reads rows, calls one API and writes rows. A cron tick every fifteen minutes dispatches by status. No agent calls another, and no workflow framework coordinates them.
One real area, scored
One scan of a 3 km area: 206 businesses scanned, audited and scored, and 63 candidates above the threshold. The location is masked.
How a territory is read
The orange path is a real run. Drafting, sending and booking sit behind the sending switch, built and tested.
Core responsibilities
Scan an area
It lists every business in the area once, from public listings.
Audit and score
It audits each business once from its public footprint, then a small model scores every offer against that audit. Audits expire after 90 days.
Draft under a gate
Each draft passes a fixed check for banned words, an 80-word body, a six-word subject and no links in the first touch. A person reads the first fifty of each strategy.
Book the meeting
Replies are classified, and an interested reply books a meeting that a person takes. Sending sits behind a switch, off until you turn it on.
Close out and suppress
An opt-out holds across every campaign. A contact with no reply fourteen days after the sequence ends is closed.
Nearby in figures
- 206businesses scanned, audited and scored in one runread from the run
- 63candidates above the fit thresholdthe same run
- 0emails sent while the switch is offchecked in the code
- 50first drafts per strategy a person reads before any sendthe review gate
Counted in the repository, read from a run or set in the code. No figure is estimated.
NearbyBuilt
Why it is built this way
Choices in the architecture, and what each one saves.
Apply for a seatAbout $0.045 a business
That covers the listing details, one audit and the scoring. With four offers, one audit per business rather than one per offer cuts model spend by about 75%.
A model only where judgement is needed
Scanning, sorting, the threshold check, sending and booking are plain code. A model handles the audit, the fit score, the draft and the reply.
Audits age out
An audit is valid for 90 days. After that, each business that holds a candidate is audited again.
The code behind Nearby
Three files from the repository, shown in turn. Select one to read it.
01audit = Audit(02 business_id=business_id,03 model=config.models()["auditor"],04 prompt_version=PROMPT_VERSION,05 pain_points=payload.get("pain_points", []),06 strengths=payload.get("strengths"),07 estimated_lost_usd_monthly_cents=payload.get("estimated_lost_usd_monthly_cents"),08 confidence_0_1=payload.get("confidence_0_1"),09 raw_output=payload,10 cost_usd_cents=cost_cents,11)01plumber: plumbing02electrician: electrical03hvac_contractor: hvac04roofing_contractor: roofing05general_contractor: general_contractor06painter: painting07locksmith: locksmith01retry:02 backoff_seconds: [60, 300, 1800, 7200, 43200]03 dead_letter_after: 504 05scanner:06 tile_radius_meters: 150007 max_tiles_per_scan: 40008 per_request_sleep_ms: 100Bring the workflow that keeps breaking.
Our engineers work through it with you in a free 45-minute briefing.