Unattended agent retry loops: full-history resend without caching makes every failure costlier
shoumikgoswami · reddit · 2026-11-17
A Reddit post examines the cost risk of unattended agents: a failed task can still succeed at the next API call — a dangerous combination when nobody's watching. Citing Andrey Altrouter's simulation, a loop that appends tool results and retries with full history resent each time and no prompt caching gets progressively more expensive per attempt, while a harness that summarizes history can keep going past the context limit. The author argues runs should stop visibly at step/spend limits and report what's unfinished, not quietly return partial answers — and asks how long people would leave agents running unattended.
More from coding & agent
- Extrapolated horizons don't prove agents can finish real 4-hour tasks — AIFlow_ML · 2026-11-17
- Bria open-sources RMBG 3.0 background removal model, ships MCP server and Claude skill — victormustar · 2026-11-17
- 6 AI Agents Design an Apartment's Full MEP: 4,871 Layouts, 11 Clashes Fixed — minchoi · 2026-11-17
- Quick-start guides in 2026: just show me the prompt, not npm install — MxMnr · 2026-11-17
- W&B Sweeps adds Optuna and Ax: pick your HPO engine with one line of YAML — coreweavedevs · 2026-11-17
- How do you find which step blew your LLM budget? Devs discuss per-step cost tracking — Youthify · 2026-11-17