AutoTTS (May 8, 2026) replaces hand-crafted test-time scaling heuristics with an environment-driven search over width/depth scaling controllers formulated as synthesis over pre-collected reasoning trajectories. Beta parameterization makes the search tractable; execution trace feedback lets the agent diagnose why a candidate TTS program fails. On mathematical reasoning benchmarks, discovered strategies improve the accuracy-cost tradeoff over strong manually designed baselines, generalize to held-out benchmarks and model scales, and the entire discovery run costs $39.9 and 160 minutes.