AgentStop: Terminating Local AI Agents Early to Save Energy in Consumer Devices
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Autonomous agents powered by large language models (LLMs) are increasingly used to automate complex, multi-step tasks such as coding or web-based question answering. While remote, cloud-based agents offer scalability and ease of deployment, they raise privacy concerns, depend on network connectivity, and incur recurring API costs. Deploying agents locally on user devices mitigates these issues by preserving data privacy and eliminating usage-based fees. However, agentic workflows are far more resource-intensive than typical LLM interactions. Iterative reasoning, tool use, and failure retries substantially increase token consumption, often expending significant compute without successfully completing tasks. In this work, we investigate the time, token, and energy overhead of locally deployed LLM-based agents on consumer hardware. Our measurements show that agentic execution increases GPU power draw, temperature, and battery drain compared to single-inference workloads. To address this inefficiency, we introduce AgentStop, a lightweight efficiency supervisor that predicts and preemptively terminates trajectories unlikely to succeed. Leveraging low-cost execution signals, such as token-level log probabilities, AgentStop can reduce wasted energy by 15-20% with minimal impact on task performance (<5% utility drop) for challenging web-based question answering and coding benchmarks. These findings position predictive early termination as a practical mechanism for enabling sustainable, privacy-preserving LLM agents on user devices. Our project code and data are available at https://github.com/brave-experiments/AgentStop.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 16 of its 37 references that are in the map. First posted on arXiv 1 May 2026.
Builds on
16 of 37 references.
References · 16
- 2025Qwen3 Technical Reportcited by 8,195
- 2016XGBoost: A Scalable Tree Boosting Systemcited by 5,120
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
- 2025Small Language Models are the Future of Agentic AIcited by 254
- 2023When Do Neural Nets Outperform Boosted Trees on Tabular Data?cited by 218
- 2024Fact, Fetch, and Reason: A Unified Evaluation of Retrieval-Augmented Generationcited by 158
- 2023Large Language Model Cascades with Mixture of Thoughts Representations for Cost-efficient Reasoningcited by 140
- 2024Language Model Cascades: Token-level uncertainty and beyondcited by 115
- 2025The Cost of Dynamic Reasoning: Demystifying AI Agents and Test-Time Scaling from an AI Infrastructure Perspectivecited by 38
- 2024MELTing point: Mobile Evaluation of Language Transformerscited by 35
- 2022A Simple Hash-Based Early Exiting Approach For Language Understanding and Generationcited by 32
4 more
- 2025Measuring the environmental impact of delivering AI at Google Scalecited by 31
- 2025Runaway is Ashamed, But Helpful: On the Early-Exit Behavior of Large Language Model-based Agents in Embodied Environmentscited by 11
- 2024PalmBench: A Comprehensive Benchmark of Compressed Large Language Models on Mobile Platformscited by 7
- 2018Typical Phone Use Habits: Intense Use Does Not Predict Negative Well-Beingcited by 3
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026Doomed from the Start: Early Abort of LLM Agent Episodes via a Recall-Controlled Probe Cascadecited by 4
- 2026EarlyEval: Cheaper Agent Evaluation via Early Outcome Predictioncited by 2
- 2026Before the Rollout Ends: Early Terminal Reward Prediction for Long-horizon Coding Agentscited by 0
- 2026Long-Horizon Scaling: How Model Capabilities Shape the Returns to Computationcited by 0
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agentscited by 0
- 2026What Can Component-Replacement Evidence Establish? A Critical Scoping Review of Local Decisions in LLM Agents30 Sep 2026
- 2026Long-Horizon Scaling: How Model Capabilities Shape the Returns to Computation28 Sep 2026
- 2026Before the Rollout Ends: Early Terminal Reward Prediction for Long-horizon Coding Agents25 Sep 2026
- 2026EarlyEval: Cheaper Agent Evaluation via Early Outcome Prediction2 Sep 2026
- 2026Doomed from the Start: Early Abort of LLM Agent Episodes via a Recall-Controlled Probe Cascade7 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2026Agent-X: Full Pipeline Acceleration of On-device AI Agents
- 2026AgBench: Agentic AI Benchmarks for Personal AI Devices
- 2025Towards Understanding, Analyzing, and Optimizing Agentic AI Execution: A CPU-Centric Perspective
- 2026AgentPerfBench: A Benchmarking and Evaluation Suite for Inference Performance of Agentic LLMs
- 2026Not All AI Agents Are Equal: Characterizing Resource and Performance Dynamics
- 2026From LLM Inference to Agentic Workloads: Characterization and Implications for Serving Systems
- 2026SAGA: Workflow-Atomic Scheduling for AI Agent Inference on GPU Clusters
- 2026Networking-Aware Energy Efficiency in Agentic AI Inference: A Survey