Auto-tuning an AppWorld agent's prompts and tools: 36.6% faster, 34.6% cheaper

VictorSanh · x · 2026-11-13

The author used @withbeaker to autonomously test changes to an agent's prompts and tool definitions. With the model unchanged, the AppWorld agent ran 36.6% faster and cut model cost by 34.6% while keeping a similar goal-completion score.

Changes included fewer repeated lookups, shorter instructions and less unnecessary context. The optimized agent was checked on tasks not used during optimization; the whole run from baseline evaluation to final results took 2h24m. The author wrote up the changes, results and full run.

Related event: Beaker Auto-Tunes Agent Prompts and Tools for 36.6% Speedup, 34.6% Cost Cut Without Changing Models(5 posts)→

Original post →

More from coding & agent

coding & agent channel →