Feature

Your agent file, without the agent file

Every CLAUDE.md, AGENTS.md and .cursorrules is paid for on every single turn, and past a certain size the model stops following it anyway. MenteDB ingests the file once, turns every rule into an atomic memory, and delivers the right rules at the right moment: by relevance, at the exact tool action they govern, by the activity they describe, and in a review pass against what the agent actually wrote.

Instruction tokens per turn for the whole file versus memory across four real public agent files, with the share of rules followed on each bar

Measured, not promised

Four real public agent files, rules checked by plain string predicates, five trials, and a no instructions control. One file was held out completely and scored 100 percent on the first run. The full method, fixtures and runners are public.

filewhole file in contextMenteDBnothing
OpenAI codex, 22 KB100% at ~5,600 tokens per turn100% at ~1,700 tokens27%
Kiali, 70 KB80% at ~17,500 tokens per turn100% at ~2,200 tokens40%
Temporal, 8 KB89% at ~2,100 tokens per turn100% at ~900 tokens22%
Freerouting, 51 KB, held out100% at ~12,700 tokens per turn100% at ~2,200 tokens22%

How it works

Read the benchmarkDocs