cs.LGAug 20, 2026

AgentDecarbonizer: Carbon-Aware Execution for AI Agents

Authors: Leyi Yan, Shuangning Li, Sihang Liu

Organizations: University of Waterloo, Canada · University of Chicago, USA

Abstract

AI agents extend large language models from single prompt-response interactions to long-running, goaldirected workflows that issue many model calls, invoke tools, and interact with external environments. These workflows enable tasks such as software repair, data analysis, and experiment management, but their repeated model invocations can incur substantial carbon emissions. This paper characterizes the carbon emissions of OpenClaw agent workloads using WildClawBench, and shows that emissions depend on token consumption, context cache reuse, and the carbon intensity of the grid. Our characterization identifies deadline flexibility as an opportunity for carbon-aware execution: agent tasks can wait for lower-carbon-intensity periods or shift to lower-carbon grids. However, doing so requires handling uncertain execution time for temporal shifting and cached context recomputation during spatial shifting. We present AgentDecarbonizer, a carbon optimizer for AI agents that runs alongside OpenClaw. Given a task prompt and user-specified deadline, AgentDecarbonizer conservatively estimates task duration and selects deadline-feasible execution schedules, while accounting for cache recomputation overhead during spatial shifting. Evaluated on WildClawBench workloads with 60 agent tasks across four grids, AgentDecarbonizer reduces carbon emissions by up to 57.9 % compared with a carbon-agnostic baseline and by up to 37.5 % compared with a baseline that selects the carbon-optimal grid at task start time.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Carbon-Aware Routing for Function Calling in Edge-Cloud LLM Systems

    Sep 11, 2026Aikaterini Maria Panteleaki, Varatheepan Paramanayakam, Spyros Tragoudas +1LLM RoutingCarbon-Aware Computing

  2. GAR: Carbon-Aware Routing for LLM Inference via Constrained Optimization

    May 12, 2026Disha Sheshanarayana, Rajat Subhra Pal, Manjira Sinha +1LLM Inference EfficiencyConstrained Optimization

  3. AI-CARE: Carbon-Aware Reporting Evaluation Metric for AI Models

    Feb 17, 2026KC Santosh, Srikanth Baride, Rodrigue RizkCarbon-Aware ComputingEnergy-Efficient ML