|
1245 | 1245 | <span><span class="dot"></span>Shared memory for AI agent teams</span> |
1246 | 1246 | <span> |
1247 | 1247 | <span class="mark">·</span> |
1248 | | - <a href="https://github.com/gizmax/memee/releases/latest" rel="external">v1.0.6 on GitHub</a> |
| 1248 | + <a href="https://github.com/gizmax/memee/releases/latest" rel="external">v1.0.7 on GitHub</a> |
1249 | 1249 | <span class="mark">·</span> |
1250 | 1250 | <a href="https://pypi.org/project/memee/" rel="external">PyPI</a> |
1251 | 1251 | </span> |
@@ -1306,7 +1306,7 @@ <h3>Every lesson <strong>learned once</strong>, reused forever.</h3> |
1306 | 1306 |
|
1307 | 1307 | <article class="usp reveal"> |
1308 | 1308 | <span class="num">02 · Cut the prompt bloat</span> |
1309 | | - <h3>Send <strong>~40 tokens</strong>, not your whole library.</h3> |
| 1309 | + <h3>Route the <strong>5–7 memories</strong> this task needs, not your whole <code>CLAUDE.md</code>.</h3> |
1310 | 1310 | <p class="benefit">Memee routes only what this task actually needs. Your agents stop stuffing the whole wiki into every prompt, bills drop 96%, and answers come back faster because the context is smaller and sharper.</p> |
1311 | 1311 | <div class="proof"><span>Token reduction</span><strong>96%</strong></div> |
1312 | 1312 | </article> |
@@ -1469,50 +1469,52 @@ <h4>Every agent benefits.</h4> |
1469 | 1469 | <div class="math-head"> |
1470 | 1470 | <h2 class="display reveal">The token math.</h2> |
1471 | 1471 | <p class="lede reveal"> |
1472 | | - Measured on a 500-pattern knowledge base. |
1473 | | - Reproducible with <code>memee benchmark</code>. |
1474 | | - What the saved tokens are worth to you depends on your pricing |
1475 | | - tier. See below. |
| 1472 | + Numbers from a 27-repo sample of real public |
| 1473 | + <code>CLAUDE.md</code> / <code>AGENTS.md</code> files, not a |
| 1474 | + synthetic worst case. The hidden problem isn’t the |
| 1475 | + first page — it’s the slope. |
1476 | 1476 | </p> |
1477 | 1477 | </div> |
1478 | 1478 |
|
1479 | 1479 | <div class="math-grid"> |
1480 | 1480 | <div class="math-card without reveal"> |
1481 | 1481 | <div class="cap">Without Memee</div> |
1482 | | - <div class="big">5k–100k<span class="suffix">tokens / task</span></div> |
1483 | | - <div class="sub">Full library into every prompt. Scales with team size: ~5k for 50 patterns, ~22k measured on a 500-pattern synthetic corpus, more on real teams with longer bullets.</div> |
| 1482 | + <div class="big">~2,200<span class="suffix">tokens / turn (median)</span></div> |
| 1483 | + <div class="sub">Median <code>CLAUDE.md</code> / <code>AGENTS.md</code> across 27 popular OSS repos (langchain, vercel/ai, prisma, zed, openai/codex, …). Claude Code and Cursor load it in full on every session start. Grown teams hit 6k–15k; a published pathological case reached 42k.</div> |
1484 | 1484 | </div> |
1485 | 1485 | <div class="math-card with reveal"> |
1486 | 1486 | <div class="cap">With Memee</div> |
1487 | | - <div class="big">~40<span class="suffix">tokens / task (avg)</span></div> |
1488 | | - <div class="sub">Measured on our 500-pattern benchmark. The router has a 500-token budget cap for the worst case, but it stops at relevance, not at the cap.</div> |
| 1487 | + <div class="big">≤500<span class="suffix">tokens / task (routed)</span></div> |
| 1488 | + <div class="sub">The router picks only the 5–7 memories relevant to the current task, inside a 500-token budget cap. The knowledge base can grow to thousands of entries without growing per-turn context.</div> |
1489 | 1489 | </div> |
1490 | 1490 | <div class="math-card savings reveal"> |
1491 | 1491 | <div class="cap">You keep</div> |
1492 | | - <div class="big">≥99%</div> |
1493 | | - <div class="sub">Of the context, measured on the benchmark corpus. At 22,000 dump vs ~40 routed = 99.8%. Your ratio depends on your library size; the router’s share drops further with bigger libraries.</div> |
| 1492 | + <div class="big">the slope</div> |
| 1493 | + <div class="sub">At median, Memee saves ~77 % per turn; at “grown” teams (10k+) ~95 %. But the real win is that per-turn context stays <em>bounded</em> as your knowledge base grows — CLAUDE.md grows forever, Memee doesn’t.</div> |
1494 | 1494 | </div> |
1495 | 1495 | </div> |
1496 | 1496 |
|
1497 | 1497 | <div class="math-foot"> |
1498 | | - <p class="math-pull reveal">Fewer tokens in. <em>Fewer iterations, faster replies, better first answers.</em></p> |
| 1498 | + <p class="math-pull reveal">Your CLAUDE.md grows forever. <em>Memee doesn’t.</em></p> |
1499 | 1499 | <div class="math-note reveal"> |
1500 | | - <strong>How we measure this.</strong><br /> |
1501 | | - <em>Benchmark corpus:</em> 500 synthetic patterns, realistic |
1502 | | - title + 2–3 sentences of content. Full-dump baseline |
1503 | | - measures 21,623 tokens on this corpus; the router’s |
1504 | | - `smart_briefing` output over 10 representative task queries |
1505 | | - averages 39 tokens (min 18, max 67). Reproducible with |
1506 | | - <code>memee benchmark</code> or |
1507 | | - <code>pytest tests/test_router.py::test_token_budget_respected</code>.<br /> |
1508 | | - <em>Why the big range on "Without Memee":</em> real teams vary |
1509 | | - 5×–20× in how much context they stuff into |
1510 | | - prompts. A 50-pattern team dumps ~5k tokens; a 500-pattern team |
1511 | | - with long bullets can cross 100k. The router’s cap is |
1512 | | - constant at 500 regardless of library size, so the gap |
1513 | | - <em>widens</em> as you scale.<br /> |
1514 | | - <em>These are internal benchmark results, not customer case studies.</em> |
1515 | | - Full methodology: |
| 1500 | + <strong>How we get to these numbers.</strong><br /> |
| 1501 | + <em>Without Memee:</em> we sampled 27 real public repos |
| 1502 | + (langchain-ai/langchain, vercel/ai, prisma/prisma, |
| 1503 | + openai/codex, zed-industries/zed, All-Hands-AI/OpenHands, |
| 1504 | + and more) via <code>gh api</code>. Median file size |
| 1505 | + translates to ~2,160 tokens, 2,500 mean, 9,600 at p95, one |
| 1506 | + published outlier at 42,000. Anthropic’s own docs |
| 1507 | + confirm <code>CLAUDE.md</code> is loaded on every session |
| 1508 | + and rides along with every turn.<br /> |
| 1509 | + <em>With Memee:</em> the router has a 500-token budget cap |
| 1510 | + and runs hybrid BM25 + vector + tag search to fill it with |
| 1511 | + the 5–7 most relevant memories. Measured average on a |
| 1512 | + synthetic 500-pattern corpus is ~40 tokens per briefing |
| 1513 | + (min 18, max 67) — well under the cap. Reproducible |
| 1514 | + with <code>pytest tests/test_router.py::test_token_budget_respected</code>.<br /> |
| 1515 | + <em>These are measured benchmark numbers with citations, not |
| 1516 | + customer case studies.</em> Full methodology + per-repo file |
| 1517 | + sizes: |
1516 | 1518 | <a href="https://github.com/gizmax/memee/blob/main/docs/benchmarks.md" |
1517 | 1519 | rel="external">docs/benchmarks.md</a>. |
1518 | 1520 | </div> |
|
0 commit comments