Agents Coaching Agents
A Claude coach loop that tests a sales agent, reads the lost calls and keeps a change only when the gain is bigger than the noise.
Claude Community × HappyRobot · Madrid
- Hackathon · Claude Community × HappyRobot
- 28 Nov 2026
- Team member · company facts, “when you don’t know” and held-out buyers
- Team 07: Juan, Pablo and me, plus a Claude coach loop
Problem
Nimbus Telecom, a fibre and mobile operator in Spain, has a voice sales agent that calls people who left their number on the website. It does not sell much. The challenge was to build a coach with Claude that improves that agent on its own: run the tests, read the lost calls, find out why, change the agent and check that the change really helped. The hard part is the last step, because the same agent facing the same buyers gives different results on every run.
The build
- A working loop for three people. Each of us changed the agent on our own branch. One coach session read the tests of all three branches, rewrote the best idea in general terms, measured it with three runs per buyer and opened a pull request. We approved it in HappyRobot before anything was merged and deployed.
- My lane: a section of company facts (no commitment on base plans, no other fees, the 12-month price, free portability, 48-hour installation) and a “when you don’t know” rule. It targeted six public buyers who left after a question the agent could not answer, worth 4,156 EUR per pass.
- Ten buyers of my own, written so that the 20 public ones would not be the only judge, with the right answer for each and an estimated ceiling.
- After my facts change, I built an offer-selection step (rule out any plan that misses a stated minimum before quoting). It was deployed when the team asked for my best version. When a market update at 13:45 cut the maximum discount from 15% to 10%, I shipped the hotfix that kept the prompt and the quote tool inside the new policy.
Outcome
The result I trust most is a refusal. My facts change moved the public buyers by −183 EUR per pass and the held-out ones by −248, with a two-run noise of about 1,205 on the public set, so it was inside the noise and I rolled it back. The team’s own numbers got the same treatment: the first read of our best change was +1,481 per pass, and a second baseline pass brought it down to +571 against a noise threshold of 553. A change that looked sensible lost 2,597 per pass and was rolled back too. Built in one Saturday.
Numbers
- 4,886 EUR per pass for the starting agent on the 20 public buyers
- 6,367 EUR per pass for our first merged version, with 30 of 30 orders valid
- +571 re-measured gain of that version, against a noise threshold of 553
- −2,597 EUR per pass for a plausible change that we rolled back
Stack
Claude Code, HappyRobot, MCP, Python, Git branches, GitHub
Links
Projects
Javier Cruz Villarreal · contact@javicruz.dev