01
Reducing Cost of LLM Agents with Trajectory Reduction
AgentDiet removes useless, redundant, and expired context from a coding agent's trajectory while it runs.
Result
39.9–59.7% fewer input tokens and 21.1–35.9% lower cost, with the same agent performance.
arXiv:2509.23586