cd /news/ai-agents/your-ai-agent-needs-a-brake-pedal-st… · home › topics › ai-agents › article
[ARTICLE · art-149769] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Your AI agent needs a brake pedal: stopping loops and runaway cost at runtime

Vijay M, a student founder in Bengaluru, has released SteerPlane, an open-source runtime guard for AI agents that enforces cost, step and denied-action limits outside the model. The library wraps agent functions with a guard decorator (e.g. max_cost_usd=5, denied_actions=["delete_*"]) and halts a run when it exceeds budget or attempts a blocked action, addressing failures such as a coding agent that edited 48,218 files in 103 seconds and a production database and backups deleted in 9 seconds.

by read1 min views1 publishedOct 12, 2026

AI agents fail in boring, expensive ways.

They repeat the same step all night. They run up an API bill. They delete something nobody told them to touch. The public incident reports from 2026 are already piling up: a coding agent that edited 48,218 files in 103 seconds, and a production database and its backups gone in 9 seconds.

A prompt that says "be careful" does not fix this. The rule has to live in code, outside the model, where the agent cannot talk its way past it.

SteerPlane runs next to the agent and enforces limits while it runs:

from steerplane import guard

@guard(max_cost_usd=5, denied_actions=["delete_*"])
def run_agent(task):
    ...

If the agent goes over budget or tries a denied action, the run stops. You can also set a step limit with max_steps.

It does not filter content or judge whether an answer is true. It limits what an agent can do and spend.

pip install steerplane

Repo: https://github.com/vijaym2k6/SteerPlane

Site: https://www.steerplane.com

SteerPlane is open source. Patent Published.

I'm Vijay M, a student founder in Bengaluru. I'd like to hear which failure has hurt you most: runaway cost, loops, or bad actions?

The safety layer for the AGI Era.

── more in #ai-agents 4 stories · sorted by recency
── more on @steerplane 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/your-ai-agent-needs-…] indexed:0 read:1min 2026-10-12 · —