snap-stanford/memorilla

★801PythonApache-2.0⑂ 62Issue 2Updated Nov 10, 2026

🦍 Memorilla: Latent Semantic Memory for LLMs

Compressing Entire Document Collections into 16 Memory Tokens — Memorilla is a Stanford research system that condenses an entire document collection into a fixed set of query-dependent memory tokens for a frozen LLM. With just 16 tokens, it beats Mem0 and MemoRAG on average and even outperforms feeding every document on FactKG (84.33% vs 80.43%) using 108x fewer tokens, while also boosting an agent's TextWorld success rate from 18.6% to 24.2%.

LLMs & MLcontext-compressioncontinual-learningllmlong-contextmemorypersonalizationreinforcement-learningretrieval-augmented-generation

Metrics

Relative growth (7d)+95%Growth over the last 7 days relative to size
Acceleration+19000%Change in growth pace from the week before
Attention100The three metrics scaled to 0–100 and combined

Retention can be computed 30 days after a repository first trends (it isn't shown until then). See About for how each metric is defined.

Star growth and Trending appearances (last 30 days)

First listed+247★/dayDaily
Oct 13, 2026Nov 11, 2026

Bands mark days on the trending list (darker = higher rank)

Daily trending ranks as a table (1 days)
DateDaily
Nov 10, 2026
python #15 +62

Created Jun 23, 2026 · First on trending Nov 10, 2026

Other notable repositories in the same category (LLMs & ML)

See all LLMs & ML repositories →

Rank within llm

#Repository★
1morluto/rea450,256
2affaan-m/ECC300,847
3NousResearch/hermes-agent262,483
4firecrawl/firecrawl200,574
5DietrichGebert/ponytail188,458
6Significant-Gravitas/AutoGPT187,986
7ollama/ollama186,586
8huggingface/transformers168,755
9langgenius/dify160,905
10open-webui/open-webui158,330
206snap-stanford/memorilla801

See all llm repositories →

Get the weekly digest by email

Every Monday: the repositories that grew most last week, and how the buzz spread between the global and Japanese-language web. Unsubscribe any time. See the privacy and ad policy for how we handle your address.