AI context management
I lead design for HubSpot’s Context team, which decides what HubSpot’s AI agents know about a customer’s business and who controls that knowledge. The product is public at hubspot.com/products/artificial-intelligence/context-home. The design work behind it is internal, so this page stays at a high level.
The problem
The hard parts of this product don’t show up in a static frame. What happens to an agent when someone changes a field type? Who can read a given piece of context, and does a customer-facing agent see the same thing as an internal one? I needed something people could click, break, and argue with.
My approach
The main design artifact is a coded prototype in the same design system and toolchain our engineers ship. It’s about 100 commits and 30,000 lines of TypeScript. About a dozen variants live side by side behind a settings panel, so the team can compare approaches in one place instead of across Figma pages.
Next to the code is a written spec. It states a design thesis, takes a position on each open question (and names the alternative the prototype deliberately doesn’t show), and maps 16 user stories to screens. When a stance needs research, the spec says so.
I built most of it with AI agents, under rules I set. Each change got a headless browser screenshot. A separate verifier agent graded the work against a rubric, ten rounds on one variant alone. The prototype also has a research mode with a task panel, so a researcher can run usability sessions on the same build engineers read.
Where it stands
Engineers on the team build from the prototype. The full version, with screens and numbers, is on a private page. Ask me for access.
