BAGEN: LLM Agents Waste 44% of Tokens on Tasks They'll Fail

· Dev.to