hermes - 💡(How to fix) Fix Agent builds run at 100% CPU, bringing the machine down

Official PRs (…)
ON THIS PAGE

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
RAW_BUFFERClick to expand / collapse

Bug Description

When the Hermes CLI agent actually manages to build something (rare, given #22397), it runs at 100% CPU, making the machine unusable.

Steps to Reproduce

  1. Get an agent to actually write code
  2. Observe CPU usage spike to 100%
  3. Machine becomes unresponsive

Expected Behavior

  • CPU usage should be reasonable
  • Background builds should use nice or CPU limits
  • Agent should not bring the host machine down

Actual Behavior

  • 100% CPU sustained during builds
  • System unresponsive
  • No CPU throttling or priority management

Environment

  • Platform: CLI (macOS)
  • Hermes version: current main (2026-05-09)

Related Issues

  • #22397 — Agent loops indefinitely with read/grep cycles

Additional Context

User reports: When it does build something, it runs at 100% CPU, which brings the machine down. It is absolutely awful. This suggests either missing nice/cpulimit on spawned subprocesses, parallel builds spawning too many workers, or no resource guard in the agent loop.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - 💡(How to fix) Fix Agent builds run at 100% CPU, bringing the machine down