Agent Memory Benchmark (AMB)
Reproducibly evaluate agent memory systems on accuracy, speed, and token cost.
- Source repo
- vectorize-io/agent-memory-benchmark
- Stars
- ★ 170
- Last updated
- today
- FARS reviewed
- Nov 08, 2026
- Primary language
- Python
- FA score
- 46/100 · Major gaps
At a glance
- How it runs
- Works with
- Portable with changes
- Cost
- Free software; you pay for model usage
- Setup effort
- Medium · a few setup steps
- You'll need
- Typical use
- Memory-system developers comparing providers on answer accuracy, speed, and token cost over the same dataset.
- Not a fit if
- Teams that need to run evaluations without an API key
- Teams evaluating MemBench without access to its local data directory
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-23
- Source review
- 46/100 · Major gaps
What does this agent do, and when should you use it?
Agent Memory Benchmark (AMB) is a benchmark suite for agent memory systems, publishing its datasets, prompts, scoring logic, and results. Its CLI, invoked with uv run amb, provides commands to inspect datasets and providers, run evaluations, view dataset statistics, and browse results. In the standard flow, dataset documents are ingested into a memory provider, the provider retrieves context for each query, Gemini generates an answer, and a second Gemini call scores it against gold answers. AMB tracks retrieval and generation time separately and records ingestion time; results are saved under outputs/{dataset}/{memory}/{mode}/{domain}.json and can be browsed with uv run amb view. PrecisionMemBench uses --mode retrieval to score whether returned belief-ID sets satisfy per-case assertions, without an answer LLM or judge call.
AMB loads documents from a selected dataset into a chosen memory provider, asks that provider to retrieve relevant context for each query, and, in the standard mode, calls Gemini to generate an answer and Gemini again to score it against gold answers. It records retrieval, generation, and ingestion time and saves evaluation results, including accuracy, speed, and token-cost measurements. The --oracle option ingests only gold documents to evaluate generation quality in isolation; dataset-stats reports dataset statistics. For PrecisionMemBench, --mode retrieval checks the returned belief-ID set against each case's required and forbidden assertions directly.
- Memory-system developers comparing providers on answer accuracy, speed, and token cost over the same dataset.
- Researchers using
--oracleto isolate generation quality and distinguish generation issues from retrieval-context issues. - Agent teams evaluating how preferences accumulated across interactions affect multi-step decisions with datasets such as PersonaMem.
- Memory-provider authors checking whether retrieval returns specified beliefs with PrecisionMemBench, where noisy results count as failures.
- Evaluation leads reproducing and auditing benchmark results using the published harness, prompts, and model configuration.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Environment variables
GEMINI_API_KEYMEMBENCH_DATA_PATH- Config files
.env.example.env- Runtime
- Python 3.11+
How do you install or deploy this agent?
Requires Python ≥ 3.11. The README does not specify an installation command or package installation process; it gives these setup steps for the Gemini API key:
cp .env.example .envSet the key in .env:
GEMINI_API_KEY=...To run MemBench, also set MEMBENCH_DATA_PATH to your local data directory.
How do you use this agent?
List available datasets, memory providers, and modes:
uv run amb providersRun a benchmark:
uv run amb run --dataset personamem --domain 32k --memory bm25Limit the number of queries for a quick run:
uv run amb run --dataset personamem --domain 32k --memory bm25 --query-limit 20Browse results:
uv run amb viewRun PrecisionMemBench in retrieval mode:
uv run amb run --dataset precisionmembench --split single-turn --memory hindsight-cloud --mode retrievalSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
What are this agent's strengths and limitations?
- Publishes the evaluation harness, judge prompts, answer-generation prompts, and exact model configuration for reproducibility and review.
- Tracks retrieval speed, generation speed, ingestion time, and token cost alongside accuracy.
- The
--oraclemode can separate generation quality from memory retrieval performance. - PrecisionMemBench explicitly asserts which beliefs must and must not be returned for each case; noisy results affect the score.
- Standard evaluations require
GEMINI_API_KEYand use Gemini for answer generation and judging. - Requires Python 3.11 or newer.
- MemBench requires an existing local data directory configured through
MEMBENCH_DATA_PATH. - The README shows
uv run ambcommands but does not provide installation steps or a dependency list.
How does this agent compare with similar options?
The README describes LoComo and LongMemEval as datasets designed for chatbot use and the 32k-context era, noting that dumping all context can score competitively with million-token windows. AMB adds datasets for agent tasks, including memory across tool calls, knowledge built from document research, and preferences applied to multi-step decisions.
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| Agent Memory Benchmark (AMB) This agent | 46 · Major gaps | CLIFree + model costs | ★ 170 | today | Python | — |
| Sotopia | 46 · Major gaps | Library / SDKFree + model costs | ★ 346 | 10mo ago | Python | OpenAI API |
| ReLE Chinese LLM Benchmark & Defect Library | Insufficient evidence | Web appFreemium | ★ 6.5k | 3d ago | — | — |
| MobileGym | 67 · Some gaps | CLIFree + model costs | ★ 874 | 1mo ago | Python | — |
How does FollowAgents rate this agent?
Why each dimension lost points
The code shows a data path from datasets through memory providers to Gemini answer generation and judging, and offers local outputs, query limits, and optional result upload. It does not adequately explain whether personal data is present or how it is protected; confirmation for routine runs and publishing is limited; uploads can have external effects; and no visible dependency security review or recovery guidance is provided, so points are deducted. Dataset and upstream references appear in the repository, but publisher identity and maintenance path are unclear.
The CLI gives clear errors for a missing Gemini key and an unknown split. Tests cover concrete behavior such as LoCoMo date ordering, exclusions, and LongMemEval document IDs. README calls `omb` an alias while CLAUDE.md says it is deprecated; dependencies use version ranges, and the packet shows no lock file or availability guarantees, so consistency and dependency availability are only partially supported.
README describes conversational history, tool calls, document research, and multi-step decisions, and shows multiple datasets, providers, modes, filters, and oracle mode. Agent mode clearly states that it bypasses benchmark retrieval and does not support `--skip-retrieval`; however, supported environments and limitations are not covered systematically, and the skill-trigger requirement in CLAUDE.md is not substantiated elsewhere in the packet.
README is organized around the problem, workflow, setup, usage, and results, with several command examples. Installation guidance only gives the Python version and `.env` key setup, without a complete installation procedure. AMB and OMB naming coexist; pyproject shows version 0.1.0 but no changelog is supplied; license metadata is unknown, and publisher maintenance responsibility is not clear.
The tool produces saved JSON results, reports metrics such as accuracy, speed, and token cost, and provides a browser viewer plus a retrieval-only mode, supporting comparison of memory systems. The packet asserts the value of these capabilities but does not show run costs or results against a baseline, so the cost-benefit case is limited.
README gives concrete evaluation steps and describes public materials; code shows Gemini call entry points, result handling, and mode boundaries; tests corroborate some dataset behavior. The packet does not establish that all published results are reproducible or that every promotional claim was independently validated, so only partial credit is warranted. This is a static review and does not claim execution.
- Runs use external services such as Gemini; publishing can optionally upload results to Vercel Blob. Check data handling before supplying sensitive data, and consider the external effect of `--push`.
- README and CLAUDE.md differ on the status of `omb`; dependencies use version ranges, and this packet provides no license information.
FAQ
Which API key is needed to run evaluations?
GEMINI_API_KEY; Gemini is used to generate and judge answers.Do all datasets require answer generation and judging calls?
--mode retrieval skips the answer LLM and judge, scoring whether belief-ID sets satisfy the assertions.Can I run MemBench without preparing data?
MEMBENCH_DATA_PATH to it.Where are results saved?
outputs/{dataset}/{memory}/{mode}/{domain}.json and can be browsed with uv run amb view.Is Agent Memory Benchmark (AMB) free?
Is Agent Memory Benchmark (AMB) open source?
Is Agent Memory Benchmark (AMB) safe to use?
Is Agent Memory Benchmark (AMB) still maintained?
Who makes Agent Memory Benchmark (AMB)?
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.