Back to browse
GitHub Repository

Cycles budget and action guard for OpenClaw agents

7 starsTypeScript

OpenClaw plugin – hard budget limits for agent tool calls

by amavashev·Mar 15, 2026·1 point·1 comment

AI Analysis

●●SolidNiche Gem

Reserve-before-execute budget protocol prevents agents from burning money unexpectedly.

Strengths
  • Model downgrading when budget is low prevents hard failures mid-execution gracefully.
  • Fail-closed default behavior protects against runaway agent spending by design.
Weaknesses
  • No per-token LLM enforcement yet requires gateway-level integration for full coverage.
  • Tiny audience limited to OpenClaw users, Cycles protocol adoption is still early.
Target Audience

AI agent developers, teams running autonomous agents at scale

Similar To

LangChain Cost Tracking · Helicone · Portkey

Post Description

OpenClaw agents can loop, pick expensive models, and burn budget before anyone notices. This plugin stops that.

Install:

openclaw plugins install @runcycles/openclaw-budget-guard

Add one config block with your tenant and optional model fallbacks (e.g. claude-opus → claude-sonnet when budget is low). The plugin handles the rest: balance checks before model selection, reservations before tool calls, commits after, and cleanup at session end.

Built on the Cycles protocol — reserve budget before execution, commit actual spend after, release the remainder.

Plugin: https://github.com/runcycles/cycles-openclaw-budget-guard

npm: https://www.npmjs.com/package/@runcycles/openclaw-budget-gua...

Similar Projects