kdeps-events-openrouter-rate-limit
v1.0.0kdeps event: openrouter-rate-limit
set events / shelf guardrails
PurposeThresholds the agent loop watches - tokens, rounds, bytes, repeated calls - and the action each runs when crossed.
LLM context: none - kdeps uses it without sending it to the model
Where it runs
Part of the events set, used in workflow and agent mode. Thresholds the agent loop watches - tokens, rounds, bytes, repeated calls - and the action each runs when crossed.
- the agent loop runs a turn
- kdeps measures tokens, rounds and calls
- an event's trigger is metevents/openrouter-rate-limit
- its action runs
- the turn continues
Loaded by: kdeps (agent loop), /update, kdeps run, kdeps konfig export, kdeps konfig import
In the code: kdeps (agent loop)agent.(*REPL).Runagent.eventPatternMatch
Install
A kdeps asset: installed with the first-run profile that includes its set, or the first time a command needs it, and updated without a new release.
Pin a version with kdeps install events/openrouter-rate-limit@<version>.
Contents
- name
- openrouter-rate-limit
patterns:
- rate.?limit
- too many requests
- \b429\b
version: 1.0.0
# Rate-limit signatures from OpenRouter. A rate limit waits or moves to another
# free id instead of failing the turn. Narrower than the transient-error match,
# so a 5xx still retries the same model.
name: openrouter-rate-limit
patterns:
- 'rate.?limit'
- 'too many requests'
- '\b429\b'
Versions
| Version | Published | Status |
|---|---|---|
| 1.0.0 | 10/29/2026 | active |
Details
- Author
- kdeps
- License
- Apache-2.0
- Latest Version
- 1.0.0
- Published
- 10/29/2026