AI Agents Optimize Tool Use and Cut Costs with New Frameworks