4 cumulative citations
View corpus contextAgentic bug-fixing frameworks burn through far more energy than they produce in value when paired with small language models; framework architecture drives energy use but limited SLM reasoning yields near-zero success, making current designs unsuitable for low-resource deployments.
Citation observations
Cumulative provider counts captured on specific dates; providers are never combined.
Context. LLM-based autonomous agents in software engineering rely on large, proprietary models, limiting local deployment. This has spurred interest in Small Language Models (SLMs), but their practical effectiveness and efficiency within complex agentic frameworks for automated issue resolution remain poorly understood. Goal. We investigate the performance, energy efficiency, and resource consumption of four leading agentic issue resolution frameworks when deliberately constrained to using SLMs. We aim to assess the viability of these systems for this task in resource-limited settings and characterize the resulting trade-offs. Method. We conduct a controlled evaluation of four leading agentic frameworks (SWE-Agent, OpenHands, Mini SWE Agent, AutoCodeRover) using two SLMs (Gemma-3 4B, Qwen-3 1.7B) on the SWE-bench Verified Mini benchmark. On fixed hardware, we measure energy, duration, token usage, and memory over 150 runs per configuration. Results. We find that framework architecture is the primary driver of energy consumption. The most energy-intensive framework, AutoCodeRover (Gemma), consumed 9.4x more energy on average than the least energy-intensive, OpenHands (Gemma). However, this energy is largely wasted. Task resolution rates were near-zero, demonstrating that current frameworks, when paired with SLMs, consume significant energy on unproductive reasoning loops. The SLM's limited reasoning was the bottleneck for success, but the framework's design was the bottleneck for efficiency. Conclusions. Current agentic frameworks, designed for powerful LLMs, fail to operate efficiently with SLMs. We find that framework architecture is the primary driver of energy consumption, but this energy is largely wasted due to the SLMs' limited reasoning. Viable low-energy solutions require shifting from passive orchestration to architectures that actively manage SLM weaknesses.
Summary
Main Finding
When constrained to Small Language Models (SLMs) on local hardware, state-of-the-art agentic issue-resolution frameworks consume substantial energy while achieving near-zero task resolution. Framework architecture—not just the SLM—drives most of the energy cost, and much of that energy is effectively wasted on unproductive multi-turn reasoning loops. The study finds a severe trade-off: the only non-zero success (AutoCodeRover + Qwen-3 1.7B, ~4% resolution) came with the highest energy consumption (~208–216 kJ/run), while the most energy-efficient framework (OpenHands) resolved 0% of tasks and used ~23 kJ/run (≈9.4× less than AutoCodeRover with Gemma).
Key Points
- Frameworks evaluated: AutoCodeRover, SWE-Agent, OpenHands, Mini SWE Agent.
- SLMs evaluated: Gemma-3 4B and Qwen-3 1.7B (both run locally, FP16).
- Benchmark: SWE-bench Verified Mini (50 tasks); experiments: 1,200 runs total (3 repetitions × 50 tasks × 4 frameworks × 2 models).
- Metrics measured: total energy (CPU+GPU via RAPL and NVML), wall-clock time, token usage, LLM call count, peak RAM/VRAM, cost (per-token pricing), and resolution status (SWE-bench pass/fail).
- Core quantitative findings:
- Energy: AutoCodeRover mean ≈ 208–216 kJ/run; OpenHands mean ≈ 23 kJ/run. AutoCodeRover used up to ~9.4× the energy of OpenHands (Gemma).
- Effectiveness: nearly all framework+SLM configurations had 0% resolution; only AutoCodeRover+Qwen resolved 2/50 tasks on average (~4%).
- Correlations: total energy strongly correlated with wall-clock time (R≈0.89) and output tokens (R≈0.88), indicating “chatty” multi-turn behavior drives energy.
- Failure modes: ReAct-style agents suffered repetitive step loops and context-loss; deliberative pipelines (AutoCodeRover) still looped and timed out but were more likely to occasionally succeed—at high cost.
- Key diagnosis: limited SLM reasoning capacity is the bottleneck for success; framework orchestration and design determine how much energy that limited reasoning burns.
Data & Methods
- Hardware: Intel Xeon w3-2435 CPU, 32 GB RAM, NVIDIA RTX A2000 16 GB GPU. Idle draw measured and subtracted (51.69 W CPU, 2.70 W GPU).
- Model loading: FP16, 32K context window; peak VRAM observed ~11–12 GB (Gemma) and ~8–9 GB (Qwen).
- Experimental controls:
- Isolation per run, 30-minute wall-clock timeout, consistent software harness (SWE-bench evaluation).
- Instrumentation: RAPL for CPU energy, NVML for GPU energy, OS counters for memory, token counters for LLM usage.
- Repetition: 3 full repetitions per task/configuration → 150 runs per condition.
- Qualitative log analysis on a subset (200 runs) to categorize failure modes using an existing taxonomy (MAST).
- Outputs provided: raw logs, JSON metrics, and replication package (paper repository).
Implications for AI Economics
- Cost-effectiveness and ROI
- Very low success rates combined with substantial energy use imply very poor cost-per-success for SLM-driven agentic workflows as currently architected. Resource-limited deployments (edge/consumer hardware) will see low ROI unless frameworks and models are adapted.
- Energy is a direct operational cost and an environmental externality. High per-run energy with near-zero resolution multiplies both financial and carbon costs for any attempted automation scale-up.
- Infrastructure trade-offs: local versus cloud
- SLMs enable local inference and lower absolute per-inference compute requirements, but framework-induced multi-turn overhead can negate those savings. In many cases, cloud-hosted LLMs (or hybrid strategies) may still be economically preferable if they reduce iterations or improve success probability.
- Investment priorities
- Investing solely in smaller models is insufficient. Greater economic value is likely realized by redesigning orchestration architectures to reduce redundant calls, token churn, and reasoning loops—i.e., engineering effort in the agent stack may outweigh marginal gains from model improvements alone.
- Cost-aware tooling (early stopping, action pruning, verification shortcuts, caching, selective model escalation) should be prioritized in product roadmaps to achieve acceptable economic returns.
- Policy and procurement
- Procurement and sustainability assessments for AI tooling should include joint measures of effectiveness and energy (energy-per-success) rather than raw compute or model size.
- When evaluating autonomous developer tooling, buyers should request energy-aware benchmarks and failure-mode analyses, not just aggregated accuracy metrics.
- Research & product directions with economic impact
- Design low-overhead frameworks that actively manage SLM limitations (adaptive orchestration, task decomposition with specialized micro-models, hybrid SLM+LLM escalation policies).
- Develop energy-aware objective functions and monitoring (optimize for cost-per-resolved-issue).
- Explore hardware-aware scheduling (e.g., batch verification steps, token-budget constraints) to reduce runtime and token emissions.
- Consider mixed deployments: use cheap local SLMs for lightweight tasks and fall back to stronger cloud LLMs only when local agents signal uncertainty—this conditional-cost model can preserve local responsiveness while controlling expected costs.
- High-level takeaway for AI economics: sustainable, cost-effective autonomous developer agents require co-design of models and orchestration. Without architectural changes that limit unproductive multi-turn reasoning, switching to SLMs alone does not guarantee economic or environmental benefits.
If you want, I can: - compute approximate cost-per-run and cost-per-success using the per-token pricing and token counts from the runs, - propose a prioritized list of concrete engineering changes to minimize energy waste in agent frameworks, or - draft an experiment plan to evaluate hybrid escalation (SLM local + cloud LLM fallback) for a cost-benefit analysis.
Assessment
Claims (8)
| Claim | Direction | Outcome | Confidence & Evidence | Details |
|---|---|---|---|---|
| We conducted a controlled evaluation of four agentic frameworks (SWE-Agent, OpenHands, Mini SWE Agent, AutoCodeRover) using two SLMs (Gemma-3 4B, Qwen-3 1.7B) on the SWE-bench Verified Mini benchmark, measuring energy, duration, token usage, and memory on fixed hardware over 150 runs per configuration. Other | null_result | energy, duration, token usage, memory |
Reading fidelity
high
Study strength
high
|
n=150
|
| Framework architecture is the primary driver of energy consumption across the evaluated agentic systems. Organizational Efficiency | negative | energy consumption |
Reading fidelity
high
Study strength
medium
|
n=150
|
| The most energy-intensive framework, AutoCodeRover (using Gemma-3 4B), consumed 9.4x more energy on average than the least energy-intensive framework, OpenHands (using Gemma-3 4B). Organizational Efficiency | negative | energy consumption |
Reading fidelity
high
Study strength
high
|
n=150
9.4x more energy
|
| Task resolution rates were near-zero when these agentic frameworks were constrained to using SLMs. Developer Productivity | negative | task resolution rate (success rate of issue resolution) |
Reading fidelity
high
Study strength
high
|
n=150
|
| A large portion of the energy consumed by agentic frameworks when using SLMs is wasted on unproductive reasoning loops (i.e., energy is largely wasted). Organizational Efficiency | negative | energy efficiency / wasted energy |
Reading fidelity
high
Study strength
medium
|
n=150
|
| The SLMs' limited reasoning ability is the primary bottleneck for task success (i.e., success rates), while framework design is the primary bottleneck for efficiency (energy/resource usage). Developer Productivity | mixed | task success (resolution rate) and energy consumption |
Reading fidelity
high
Study strength
medium
|
n=150
|
| Current agentic frameworks, which were designed for powerful LLMs, fail to operate efficiently with Small Language Models (SLMs). Adoption Rate | negative | operational efficiency / viability |
Reading fidelity
high
Study strength
high
|
n=150
|
| Viable low-energy solutions will require shifting from passive orchestration architectures to architectures that actively manage SLM weaknesses. Organizational Efficiency | positive | design effectiveness for low-energy operation |
Reading fidelity
high
Study strength
speculative
|
not reported
|