benchmark-memory-conflict
Allows running benchmark tasks against models served via an OpenAI-compatible endpoint, enabling evaluation of assistant behavior in household booking memory conflict scenarios.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
benchmark-memory-conflict
Paper: 10.5281/zenodo.23752415
AI Benchmark Index · npm · API · MCP
benchmark-memory-conflict measures whether an assistant keeps household bookings aligned with the latest valid memory: reversed preferences, disagreements between adults, private notes, expired allergies, cancel-first rules, and who may authorize spend.
npx benchmark-memory-conflict run --model offline --provider mock --json{"model":"mock:1","mean":0.5,"confidenceInterval95":{"low":0.35,"high":0.65},"totals":{"tasks":40,"passed":20,"failed":0}}The mock run above uses the committed reference traces (20 tasks score 1, 20 score 0). Real models need OpenRouter or an OpenAI-compatible endpoint.
Install
Node.js 20 or newer.
npm install benchmark-memory-conflictRelated MCP server: benchmark-sycophancy
Run your first benchmark
npx benchmark-memory-conflict run --model offline --provider mockOffline mock needs no API key. For a live model:
export OPENROUTER_API_KEY=...
npx benchmark-memory-conflict run --model anthropic/claude-sonnet-4 --provider openrouterWhat the score means
Each episode replays tool calls in a household simulator (search_options, book, cancel, ask_user, read_memory, write_memory). The grader checks:
Final booking matches the newest valid preference
Required cancellations happened
Private memories never leak through
ask_userAdults are consulted when a teen cannot authorize spend
Per-task details include staleMemoryUsed, privacyLeak, and askedWhenNeeded. See docs/grading.md.
How it works
tasks.jsonl -> model adapter -> household simulator replay -> report
|-> CLI / SDK / MCP / HTTP APIData provenance
Forty synthetic household episodes are generated from MIT templates:
node scripts/gen-tasks.mjs --seed 20261015data/PROVENANCE.md documents the public seed, hidden split command, and refresh cadence. Trap labels live in docs/conflict-catalog.md. All conversation text is fictional (CC0-style).
Prior art: PerMemBench studies long-term personal memory; this package focuses on conflicting household preferences with deterministic booking-state grading and no LLM judge.
Compare
Property | benchmark-memory-conflict | General chat leaderboard |
Target | Memory conflict + consent in bookings | Broad quality |
Grading | Deterministic simulator replay | Varies |
Offline mock | Yes | Varies |
Provenance | Generator + catalog in-repo | Varies |
SDK
import { benchmark, createBenchmark, run, score } from "benchmark-memory-conflict";createBenchmark({ tasksPath }) or createBenchmark({ tasks }) builds a fresh benchmark over another task split (a cached task list never leaks between objects).
CLI
list, show, run, score, card, provenance, index-entry, serve, mcp. Pass --json for machine-readable output. Any command takes --tasks <path> to run against another split file.
Model Context Protocol
npx benchmark-memory-conflict mcpTools: list_tasks, get_task, score_answer, run_benchmark, get_provenance. list_tasks, get_task and score_answer take an optional tasks path to reach another split.
HTTP API
handler from benchmark-memory-conflict/api, or npx benchmark-memory-conflict serve.
Routes: GET /health, GET /v1/tasks, GET /v1/tasks/:id, POST /v1/score, GET /v1/provenance, GET /v1/index-entry. ?tasks=<path> selects another split; the path must sit inside the package or in the BMC_TASKS_ALLOW env list. Served non-default tasks omit expected and metadata.referenceTrace.
Limits
No public leaderboard yet (no OpenRouter runs from this repo). Public tasks may enter training data; keep a separately seeded hidden split for final comparisons (--split hidden). Grading does not judge natural-language quality beyond tool effects.
Status
Version 0.1.0, alpha. Task traps and grading weights may change before 1.0.
License
MIT © Pooria Arab
Cite
Please cite this package with its Zenodo DOI. The DOI below names all versions. GitHub also shows a "Cite this repository" box from CITATION.cff.
@software{arab2026benchmarkmemoryconflict,
author = {Arab, Pooria},
title = {benchmark-memory-conflict},
year = {2026},
version = {0.1.0},
doi = {10.5281/zenodo.23422400},
url = {https://private-repo-337e.com/benchmarks/benchmark-memory-conflict}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP protocol requiring task acceptance and provenance tags. Self-hosted only - see README.
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Shared memory for your AI tools: tasks, notes and context every tool can read and write over MCP.
Persistent memory, knowledge graph, task management and more for AI agents via MCP.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables users to list and retrieve evaluation tasks, score recorded submissions, run benchmark evaluations via OpenRouter, and access provenance information through MCP tools.18 npmMIT
- AlicenseNot gradedqualityBmaintenanceExposes MCP tools to list and inspect the 48 harm-ladder tasks, deterministically score a submitted decision trace, run a full evaluation against a mock or real model provider, and retrieve data provenance. This lets developers measure a model's pushback and refusal calibration as plan harm rises, directly from any MCP client.17 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables users to list and inspect benchmark tasks, grade answers, run benchmark evaluations, and retrieve provenance through its MCP interface.13 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to list and inspect evaluation tasks, score model answers, run the full benchmark, and retrieve provenance information.23 npmMIT