Hacker
Depak S
@depak7
Elsewhere
Projects
PromptSmith
Flagsmith Experimentation HackathonNov 2026
We built experiment reporting for PromptSmith, a self-hosted gateway that sits between a voice bot and its language model. It solves a common problem: teams change a voice bot's prompt or model all the time, and nobody knows if the change made calls better or worse until customers complain. Every request goes through PromptSmith. It picks the prompt version for each caller, keeps the caller on that version for the whole call, and grades every finished call with automatic checks and an AI reviewer. Flagsmith is the mechanism. Each agent is a multivariate flag, each version is a variation, and the split of callers and rollouts live in the flag. We added reporting into Flagsmith Experimentation: an exposure when a caller reaches a version, and call_passed or call_failed when the call ends, with the same caller ID. Flagsmith's statistics then decide which version wins. In our test of the existing model against a stronger one (140 calls), there was no clear winner (77% chance to win, interval −13% to +28%), so the existing model stays. A rushed prompt change, released to 20% of callers, passed 1 in 10 calls and was rolled back automatically through the flag.
BlackPearl@dheenatracker