Hacker
Fahad khan
@dezloperr
Elsewhere
Projects
Mr. Smith: Improve your agents experience
Flagsmith Experimentation HackathonNov 2026
Mr. Smith A/B tests your website for AI agents. It handles your agent experience, so your designers can keep handling the humans. The problem: more than half of web traffic is now bots and AI agents (Imperva, 2025). They shop, book and sign up for the people who sent them. When an agent gets stuck on your site, it leaves and tells its person "I couldn't do it on this site". Your analytics only show a visitor who left, so you lose the sale and never learn why. Who would use it: anyone whose site agents use, like shops, travel sites and SaaS sign-ups. How it works: 1. One command (./mr-smith) starts self-hosted Flagsmith in Docker and sends real Claude agents to your site with a task. Half read the page as text (like Claude Code), half look at screenshots (like ChatGPT agent). 2. Your site keeps one URL. Flagsmith puts every agent in the ai_agents segment and gives it version A (your site today) or version B (a change made for agents). Humans always get the normal site. 3. Mr. Smith records each agent's tokens, steps, time and whether it finished as Flagsmith experiment metrics, and asks every agent what slowed it down. 4. When a version wins, Mr. Smith ships it to agents only with a Flagsmith segment override. Humans keep the site your designers made. What we found: - On Booking.com, Airbnb and Agoda, 12 agents did the same booking task. Booking.com was hardest: only 2 of 4 agents found the answer, at about 882,000 tokens per agent. - On our own shop, in a Flagsmith experiment with 120 agents, the agent-ready checkout beat the classic one: 60 of 60 agents finished (vs 55 of 60), with 32% fewer tokens per agent and a more than 99% chance to win, according to Flagsmith. - An earlier Flagsmith experiment with 124 agents, on how the size is picked, cut tokens by 45% at more than 99.99%.