Skip to content

v4.2.0 — Top of LongMemEval-S (99.1% R@5)

Choose a tag to compare

@antoinepinelli antoinepinelli released this 17 May 19:59
· 400 commits to main since this release

Highlights

  • 99.1% R@5 on LongMemEval-S (470 questions, ICLR 2025) — tops the public leaderboard, ahead of MemPalace (98.4%), agentmemory (95.2%), Mem0 (94.4%), and Zep / Graphiti (63.8%).
  • 94.9% MRR, 96.0% NDCG@10 in adaptive cross-encoder mode (jina-v2-multilingual). Default fast mode hits 98.7% R@5 at ~28 ms per query.
  • French / multilingual deterministic benchmark (`--benchmark-fr`): 62.4% R@5, ±1pp variance across runs, the canonical regression test for any retrieval change.
  • Cold-start eliminated: `open_at_warm` hydrates the ANN index synchronously, dropping concurrency p95 latency 3939 ms → 229 ms (-94%) under 4-client load.
  • Steady-state RAM trimmed: pool sizing capped at 4 embed sessions, RSS 8.4 GB → 7 GB (-17%) on the concurrency bench.
  • RerankPool (tunable via `MEMORYPILOT_RERANK_POOL_SIZE`): rerank p50 -21% / p95 -38% under 4-client load when bumped to 2.
  • Tunable confidence gate (`MEMORYPILOT_GATE_RATIO`, default 0.25): skip rerank when top-1 is already clearly ahead.

Install

One-liner

```bash
curl -fsSL https://raw.githubusercontent.com/Soflutionltd/MemoryPilot/main/install.sh | bash
```

The installer detects your platform, fetches this pre-built binary, and auto-configures every supported IDE / agent (Cursor, Claude Desktop, Claude Code, Codex CLI, Gemini CLI, Windsurf, VS Code, OpenCode, Cline, Roo Code).

Or via Cargo

```bash
cargo install --git https://github.com/Soflutionltd/MemoryPilot --tag v4.2.0 --features http --bin MemoryPilot
```

Pre-built binary

This release ships macOS arm64 (`MemoryPilot-aarch64-apple-darwin.tar.gz`, 11 MB compressed, 35 MB unpacked). Other platforms can use `cargo install` above or build from source.

SHA-256: `ffb1a39c6a67fb4c2febecf417db14f34cb268d01cc2ca5d891f34c631567e14`

Verify

```bash
MemoryPilot --version

→ memorypilot 4.2.0

MemoryPilot --benchmark-fr | tail -20

→ R@5 ≈ 62%, MRR ≈ 60%, avg search ≈ 410 ms (adaptive)

```

What changed since v4.1

  • Adaptive cross-encoder reranking with jina-v2-multilingual
  • ANN bypass for vector scan over 5k+ memories
  • Deterministic FR benchmark (109 queries, ±1pp variance)
  • 10 agents auto-wired by `install.sh` (was 6)
  • New banner + benchmark chart + install / docs quick-link cards
  • Full market comparison vs MemPalace, agentmemory, Mem0, mcp-memory-service, Zep
  • Tunable `MEMORYPILOT_GATE_RATIO` env var

Full diff: edba59d...v4.2.0