Research
Small contexts, on purpose.
14 papers on context, memory, execution and organizations: why accumulating context drowns an agent's intent, and how compiled contexts, validated memory and many small loops fix it. Every claim is sourced.
01
Paper 0112 min read · 13 refs
Intent drowns as context grows.
What 2023–2026 research says about context rot, and why an agent's intent is the first thing to drown in a growing context.
Read the paper →02
Paper 0210 min read · 16 refs
The KV cache is the wrong memory.
Why holding agent memory in a giant KV cache is inefficient, and why Chad rebuilds context on demand with tools backed by ClickHouse and git history.
Read the paper →Context
Why accumulating context fails agents.
- 01Intent drowns as context grows.What 2023–2026 research says about context rot, and why an agent's intent is the first thing to drown in a growing context.
- 02The KV cache is the wrong memory.Why holding agent memory in a giant KV cache is inefficient, and why Chad rebuilds context on demand with tools backed by ClickHouse and git history.
- 11The economics of small contexts.Cost per task for LLM agents: prefill vs. decode, why re-sending a growing transcript is quadratic in turns, how prompt caching is priced, and why small compiled contexts with a cached stable prefix are cheaper to run and to serve.
Memory
What to remember, where, and what is allowed in.
- 04Memory is a database, not a prompt.Why agent memory should be a durable, structured, queryable event log in a columnar database, rather than a transcript or only a vector store.
- 05Git as ground truth.Decomposing git history into line-level rows linked to intents: blame by intent, provenance for every line, and millisecond retrieval of related work for agents.
- 07Only proven actions enter memory.Why an agent's own unverified outputs should never be fed back as context, and why Chad stores only validated input → output pairs, checked by a human or an AI verifier.
- 08Best practices as a constant prior.Why Chad places one layer of global domain best practices (standards, security rules, playbooks) at the top of every compiled context, and why its position and consistency matter.
Execution
How work gets done and checked.
- 03Many small loops beat one big loop.Why decomposing engineering work into atomic tasks, each run by a short LLM loop with a small compiled context, is more reliable than one long-running agent.
- 10Verification beats generation.Why checking an answer is easier than producing one, what research says about verifiers, repeated sampling and LLM-as-judge, and why Chad dedicates Verifier loops and human review to every change.
- 09Self-healing software.Closing the loop from production signals (Sentry errors, Prometheus alerts, CI failures) to a merged, validated fix: what fifteen years of automated program repair and LLM incident research say, and how Chad wires it into a living system.
Organization
Intents, people and many projects.
- 06From conversations to intents.How to turn noisy Slack threads, meeting transcripts and issues into validated intents with a goal, constraints, acceptance criteria and an owner, and why that step decides what agents build.
- 12Humans in the loop, at any moment.Levels of automation, automation bias, trust calibration and recent agent-oversight studies, and why Chad lets people trigger, steer, correct and approve at any point instead of only at the end.
- 14One brain for the whole organization.Why agent orchestration should span every project and repository of an organization with one shared memory: cross-repository dependencies, shared intents, duplicate work and Conway's law.