DNA News

Brief, mostly signal

Rubi: a knowledge graph that cuts Claude Code re-reading

A local, zero-dependency MCP knowledge graph. The authors measured 37% fewer steps, but a 15% cost increase when memory is written after every answer.

Read the source at github.com Discussion

What the research found

Rubi is a local, zero-dependency MCP-based knowledge graph for Claude Code and other agents; its authors report 71% of cost went to re-reading context and about 37% savings in simulation, with a measured A/B result of 37% fewer steps but a 15% cost increase when memory is written after every answer.

Claims and how well the evidence supports them

  1. Analysis of 284 Claude Code transcripts found 71% of cost was re-reading context 99%
  2. Early compaction replay shows about 37% lower total cost 98%
  3. Rubi runs locally with zero dependencies and is a standard MCP server 98%
  4. Writing memory after every answer increased cost 15% in short sessions 98%

Evidence

Actionability rated medium.