Skip to content

Redline: the circuit breaker ​

Stops a runaway Claude agent by itself on:

TripWhen
Loopsame tool, same input, 5 times in a row
Error storm8 failed tool calls within 2 minutes, or 3 API errors within 10 minutes
Ping-pongmore than 15 messages to the same recipient within 10 minutes
Propellanta token limit reached

A working agent gets an Escape (interrupts its turn), shows needs you with a reason starting redline:, and its mail is held (held: redline on <name>) until RESUME (or POST /api/agents/:name/resume) or STOP. Typing into its terminal, a restart or a stop also ends the trip.

Custom agents and engines without hooks never trip; Gemini CLI only on loop and ping-pong. GONOGO_REDLINE=off disables loop, error storm and ping-pong (Propellant limits still apply); default on (Configuration).

MIT License