bioagents

loading config…
Run
Agent DAG
KV cache
How to read this
What does the BRCA2 gene do? Top genes associated with Parkinson disease Recent papers on CRISPR base editing in the liver Compare KCNJ11 and TCF7L2 in type 2 diabetes

Loading…

Each step sends the system prompt, the tool schemas and the whole history so far. While nothing earlier is rewritten, every step is a strict prefix extension of the last, so the engine reuses the KV blocks it already holds and prefills only the new tail. That is why cached should climb across steps while new stays small.

Anything that rewrites history, summarising, dropping a tool result, reordering, invalidates the cache from the first changed token onward. You see it as a step whose cached share collapses and whose latency jumps. That is the trade this rig exists to make visible.

A hosted API reports one number, cached_tokens, and only sometimes. Hit rate, KV utilisation, queue depth and eviction need your own engine. Point BIOAGENTS_BASE_URL at a local vLLM or SGLang and the KV tab fills in.