How to cut the cost of long AI agent threads (without making the agent dumber) · HackerTrans