Alphakdeps.io is experimental and evolving — the registry and packages may change or reset.
Eventkdeps asset

kdeps-events-side-call-max-tokens

v1.0.0

kdeps event: side-call-max-tokens

set events / shelf context

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.

  1. the agent loop runs a turn
  2. kdeps measures tokens, rounds and calls
  3. an event's trigger is metevents/side-call-max-tokens
  4. its action runs
  5. 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.

kdeps install events/side-call-max-tokens

Also installs what it requires, when missing or older: actions/truncate.

Pin a version with kdeps install events/side-call-max-tokens@<version>.

Contents

name
side-call-max-tokens
run
truncate
requires:
  actions/truncate: ""
on:
  tokens: 512

Versions

VersionPublishedStatus
1.0.010/27/2026active

Details

Author
kdeps
License
Apache-2.0
Latest Version
1.0.0
Published
10/27/2026

Tags

kdepsevent