blob: ef21cac8d161c0aec972813e5ccc09bace08bad8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
---
title: "Installation"
description: "Get MemoryBench up and running in your environment"
sidebarTitle: "Installation"
---
## Prerequisites
- [Bun](https://bun.sh) runtime installed
- API keys for providers and LLM judges you want to use
## Install MemoryBench
```bash
git clone https://github.com/supermemoryai/memorybench
cd memorybench
bun install
```
## Configure API Keys
Create a `.env.local` file in the root directory:
```bash
# Memory Providers (add keys for providers you want to test)
SUPERMEMORY_API_KEY=your_key
MEM0_API_KEY=your_key
ZEP_API_KEY=your_key
# LLM Judges (at least one required)
OPENAI_API_KEY=your_key
ANTHROPIC_API_KEY=your_key
GOOGLE_API_KEY=your_key
```
<Note>
You only need API keys for the providers and judges you plan to use. For example, to benchmark Supermemory with GPT-4o as judge, you only need `SUPERMEMORY_API_KEY` and `OPENAI_API_KEY`.
</Note>
## Verify Installation
```bash
bun run src/index.ts help
```
You should see the list of available commands.
## Start the Web Interface
```bash
bun run src/index.ts serve
```
Opens at [http://localhost:3000](http://localhost:3000).
## Next Steps
- [CLI Reference](/memorybench/cli) - Play around with MemoryBench
- [Architecture](/memorybench/architecture) - Understand how MemoryBench works
- [Extend MemoryBench](/memorybench/extend-provider) - Add custom providers, benchmarks, and prompts
|