Matryoshka Reduces Token Costs For Document Analysis

Matryoshka is a document-analysis tool that achieves over 80% token savings by caching and reusing past analysis results, enabling interactive, exploratory examination of large codebases without re-sending file contents. It combines a declarative S-expression query language called Nucleus, pointer-based server-side REPL state to return aggregated answers instead of raw text, and synthesis-from-examples, demonstrated on the anki-connect codebase to reduce token costs and mitigate context-rot during multi-pass workflows.
Scoring Rationale
Practical, directly usable token-saving approach and demonstrated codebase results + limited independent validation and unclear adoption.
Practice interview problems based on real data
1,500+ SQL & Python problems across 15 industry datasets — the exact type of data you work with.
Try 250 free problems

