Stop mechanisms must live outside the model: Reddit's field-tested layers for reining in runaway agents
Fresh_Spread_9223 · reddit · 2026-12-03
A Reddit synthesis of what actually stops runaway agents: the stop must live outside the model, since prompt-only limits get argued away.
Layers reported working:
- Hard budget cap enforced by platform/proxy — the only real kill switch, works even without loop detection.
- Repetition check in the runner — pause and re-plan when the last N tool calls repeat with no new observation; far better than maxiterations.
- Dedup in the tool server — hash inputs, return cached results marked "settled, don't resubmit" to remove the reason to retry.
- Per-action rules checked before execution — block or human-review writes outside the workspace, installs, and anything that spends money.
Layers 1–3 miss agents making "progress" toward destructive outcomes: one user's agent reinstalled the OS over a config typo while progress detection stayed happy. Only layer 4 catches that, and confining human approval to irreversible actions also fixes approval fatigue. The author (a startup co-founder in this space) leaves open questions on defining irreversibility, where checks should live, and post-hoc agent-permission auditing.
More from coding & agent
- Claude Code, Codex, Gemini CLI grep your files by default — vague note titles hurt agents — dSebastien · 2026-12-03
- New Raycast extension pipes local OpenCode models into Raycast AI with zero config — intellectronica · 2026-12-03
- antirez on hiding targets from AI agents: 'the target is quite implicit already' — antirez · 2026-12-03
- 80M model beats NVIDIA's 4.3B Nemotron: 14 prompt-injection detectors benchmarked on 356k cases — PatronusProtect · 2026-12-03
- Dev warns: posting to Instagram via Browser use gets your account banned — yihui_indie · 2026-12-03
- Your agent has 5 approved tools — what stops it using a 6th? Least privilege in 4 steps — BastionShield · 2026-12-03