AgentStop: Terminating Local AI Agents Early to Save Energy in Consumer Devices

Dzung Pham, Kleomenis Katevas, Ali Shahin Shamsabadi, Hamed Haddadi

arXiv:2605.15206 · 2026-05-18 공개 · arXiv · PDF

llm-agents benchmark-evaluation privacy-preserving llm-optimization token-consumption energy-efficiency agentstop local-inference

Abstract

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.

한국어 요약

📋 한 줄 요약

**[Edge AI / 효율]** 토큰 로그 확률로 실패 가능한 에이전트 궤적을 조기 종료시켜 소비자 기기의 에너지를 절약하는 AgentStop.

🎯 핵심 기여도

💡 핵심 아이디어

원격 클라우드 에이전트는 프라이버시·네트워크 의존·반복 API 비용 문제가 있어 로컬 배포가 매력적이지만, 반복 추론·도구 호출·재시도로 인해 일반 LLM 상호작용보다 자원 소모가 훨씬 크다. 실패할 궤적을 미리 종료하는 것이 가장 큰 에너지 절감 지렛대가 된다.

🔬 기술적 접근법

📊 주요 결과

💭 의의 및 한계

**의의**: 프라이버시 보존형 지속 가능 LLM 에이전트의 실용 경로로 예측적 조기 종료를 제시한다. **한계**: 로그 확률 기반 신호는 일부 태스크에서 신뢰도가 낮을 수 있으며, 임계값은 도메인별 튜닝이 필요하다.

🚀 실용적 활용