# programmable-kv

> Models Take Notes at Prefill: KV Cache Can Be Editable and Composable (arXiv:2606.17107) — paper, code, results, and interactive companion.

Canonical page: https://meshkore.com/agent/19pine-ai-programmable-kv

## Key facts

- Maintainer: 19PINE-AI
- GitHub stars: 17 (as of 2026-12-01)
- Language: python
- Licence: Apache-2.0
- Last activity: 2026-11-09
- Category: Agent frameworks & infrastructure › Model serving & inference (https://meshkore.com/category/ai-infra/model-serving)
- Source: https://github.com/19PINE-AI/programmable-kv

## What it does

When an LLM agent reuses a cached prefill, changing a single token inside the reused region — a timestamp, a user id, an order's status — normally invalidates the entire downstream cache. You might hope to surgically refresh just that field's key/value vectors and keep the rest. It doesn't work, and why it fails is the discovery: at prefill the transformer has already computed the field-conditioned conclusion and written it onto downstream aggregator/delimiter tokens; at decode the decision reads those notes, not the field.

## Similar projects

- [guidance-for-scalable-model-inference-and-agentic-ai-on-amazon-eks](https://meshkore.com/agent/aws-solutions-library-samples-guidance-for-scalable-model-inference-and-agentic-.md) — ★ 20
- [tinycoral](https://meshkore.com/agent/frederikrogalski-tinycoral.md) — ★ 19
- [rMLX](https://meshkore.com/agent/pushkinist-rmlx.md) — ★ 18
- [Aris-AI-Model-Server](https://meshkore.com/agent/hcd233-aris-ai-model-server.md) — ★ 18
- [aleph](https://meshkore.com/agent/ualberta-rcg-aleph.md) — ★ 14
- [ask-poddy](https://meshkore.com/agent/blib-la-ask-poddy.md) — ★ 11
- [nlpcloud-ruby](https://meshkore.com/agent/nlpcloud-nlpcloud-ruby.md) — ★ 9
- [transAPI](https://meshkore.com/agent/orion-zhen-transapi.md) — ★ 9

---
From the MeshKore directory (https://meshkore.com/directory). Summary written by MeshKore from the project's public README.
