Deciding what the model gets to see
The company's user-facing AI assistant: the first thing you see on the site, and available to chat with on every page. It answers from the company's own data and cites where the answer came from, keeps track of what was settled earlier in a conversation, and takes actions in the product on the user's behalf. It handles tens of thousands of questions a month.
I did most of the early research and a large share of the build. The architecture and the product direction belonged to the team, and other engineers built substantial parts of it.
The first question was how to put the data in front of a model at all. It lives behind many internal APIs, several of which overlap. Some questions need more than one; some need calls in sequence, each supplying the parameters for the next. And a single endpoint, exposed with every option it has, makes a schema no model uses reliably.
There were other routes. A copy of the data in the warehouse lagged the source and didn't carry the rules for who can see what. A general-purpose query layer existed, but it was poorly documented and rarely used.
I proposed going the other way: each important endpoint as its own tool, cut down to the options that mattered, with a clear description, and the rules for choosing between tools written into the system message. I built the proof of concept that showed a model would pick the right tool and build a correct call, overlaps and dependencies included. The team went with it, and I built several of the harder tools.
I also proposed and built the main research loop, with one rule in it: the first pass gets only our own data. Outside tools, web search among them, open up only when that isn't enough, because we want the answer to cite our data.
Live in production since February 2025