Meta's ABTest Agent: LLM Plans, Deterministic Code Computes Every Number

rohanpaul_ai · x · 2026-11-08

A new Meta paper, Learnings and Pitfalls from AI-Assisted A/B Experimentation at Scale, shares lessons from Meta's ABTest Agent. A/B tests demand trustworthy numbers, but LLMs are nondeterministic and hallucinate — while experiments still involve messy manual work agents can accelerate.

Core fix: don't make the model deterministic; bound where its nondeterminism reaches. The LLM selects and sequences steps, but every reported number is computed by validated tools; report templates block output unless every table traces back to code, and the knowledge base holds only expert-vetted docs.

Surprising findings:

Advice: let code produce every number in analytics agents, and fix success metrics before experiments start so the agent can't help p-hack.

Related event: Meta Paper: LLM in A/B Testing Agent Only Plans, Deterministic Code Produces Numbers(2 posts)→

Original post →

More from coding & agent

coding & agent channel →