Repository navigation
Second Audience is A/B testing for the interfaces AI agents use. This release closes its first experiment: error styles on an MCP server, with agents as the subjects and Flagsmith Experimentation as the engine.
Result: keep the informative error
Experiment error-style-v1 (Flagsmith experiment 680, Production) met its pre-registered stopping rule, at least 75 exposed sessions per arm, on 2026-11-28. It ended with rollout control.
| Arm | Exposed | Mean tool calls | Completed correctly | Wrong bookings |
|---|---|---|---|---|
| Informative (control) | 95 | 4.358 | 95 of 95 | 0 |
| Prescriptive | 80 | 3.737 | 74 of 80 | 0 |
- Primary: tool calls per session. Prescriptive used 14.2% fewer (95% credible interval -21.7% to -6.8%), with a win probability of 1.000.
- Guardrail: task completed correctly. Prescriptive did worse by 7.5% (interval -13.3% to -1.7%). The whole interval lies below zero, so the pre-registered rule keeps control.
- Guardrail: wrong booking. No events in either arm, including on the trap scenarios.
Errors that suggest a fix made agents faster but less reliable. The ledger matched Flagsmith on every count. Full write-up: docs/RESULTS.md. Decision record: reports/error-style-v1/decision.md.
Lab population
Lab sessions came from two Gemini Flash-Lite models on free quota. After both reached their daily limit, claude-haiku-5-5 joined through the headless Claude Code CLI. That change is HYPOTHESIS.md amendment A1, and it was decided from enrolment counts only. Field traffic from the public endpoint is reported separately.
Since v0.2.0
- SA-12 to SA-14c: operator
statusandreport,proposefrom failure logs,shipwith approval, ship hardening and a Development ship rehearsal. - SA-15: side-by-side transcript replay for the demo.
- SA-16: README, results write-up and documentation.
- SA-18: public middleware API (
SecondAudience) and a second example server. - SA-20: operational controls as Flagsmith flags.
- SA-21: per-model rollout with a Flagsmith segment.
- SA-22: Slack, GitHub and audit-log integrations.
- SA-23: Flagsmith Agent Skill.
- SA-19: Claude Code lab driver.
- SA-17a and SA-17: release review fixes, then final results.
Public endpoint: https://second-audience.onrender.com