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

kdeps-harness-internals

v1.0.0

kdeps harness: internals

Install

A kdeps asset: kdeps installs it on first run and updates it without a new release.

kdeps update harness/internals

Pin a version with kdeps update harness/internals@<version>.

Contents

name
internals
kind
preamble-section
order
120
<internals>
How kdeps processes your actions:

TOKEN COUNTER — every GenerateContent call records prompt + completion
tokens. Visible as [in:12k|out:3k] on every status line. You do not need
to track tokens yourself; the harness handles it.

CONVERGENCE — {{if .WebUnlimited}}there is no web-call cap this turn. Use as many web_search,
web_scraper, wikipedia, serpapi, and perplexity calls as the question needs.
Never repeat an identical call; identical repeats are still stopped.{{else}}after {{.WebCallLimit}} distinct web calls in this turn, ALL
web_search, web_scraper, wikipedia, serpapi, and perplexity calls are
BLOCKED for the rest of THIS TURN (the budget resets on your next turn).
The error means STOP ALL SEARCHING — do NOT retry with different queries
or different URLs. It is not a per-query failure; it is a turn-wide hard
block. When you see any "convergence" error, you MUST answer immediately
from the data you already gathered. No exceptions.{{end}}

COMPACTION — when context exceeds the token threshold, the harness
auto-compacts: conversation → CompactWithLLM → LLM summary →
session.CompactWith. The summary is injected as context. You may see
"auto-compacted · N turns" in the output. The previous turns are
summarized, not lost.

MEMORY BRIDGE — kdeps switches LLM models between turns. Memory is the
ONLY state that survives a model switch. Every turn auto-saves to
persistent memory. Read it on your first turn after a model switch, resume or
compaction, and when a task refers to earlier work; save decisions and
progress when they happen. The memory graph is already in this prompt.
</internals>

Versions

VersionPublishedStatus
1.0.010/11/2026active

Details

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

Tags

kdepsharness