Back in early May, someone on the team said something like "let's just add web search, shouldn't take more than a day." Three months and roughly twenty-five separate debugging sessions later, that sentence has become a running joke — the kind you bring up at exactly the wrong moment, when someone else is about to say the same thing about a different feature.
Here's the thing nobody tells you about giving an AI agent the ability to search the web: it isn't one feature. It's a thin wrapper around three or four completely different systems that don't trust each other, don't fail the same way twice, and occasionally sabotage each other in ways that only show up when a real person asks a real, slightly awkward question. We built a local AI agent — one that runs entirely on a Mac's own chip, with nothing shipped off to a cloud server — and giving it a working, honest search tool turned out to be one of the hardest, most humbling things we built all year. This is the story of how that happened, told the way it actually happened: bug by bug, false victory by false victory, with a few moments where we found a note we'd written to ourselves weeks earlier and realized, with a sinking feeling, that we already knew exactly what was about to go wrong.







