You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-6Lines changed: 11 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -228,10 +228,10 @@ First, you'll need to download this repository. After you've downloaded it, you
228
228
#### MCP Server
229
229
The MCP server can run in either SSE mode or stdio:
230
230
```bash
231
-
python -m agent_memory_server.mcp <sse|stdio>
231
+
agent-memory mcp --mode<sse|stdio>
232
232
```
233
233
234
-
**NOTE:** With uv, just prefix the command with `uv`, e.g.: `uv run python -m agent_memory_server.mcp sse`.
234
+
**NOTE:** With uv, prefix the command with `uv`, e.g.: `uv run agent-memory --mode sse`. If you installed from source, you'll probably need to add `--directory` to tell uv where to find the code: `uv run --directory <path/to/checkout> run agent-memory --mode stdio`.
235
235
236
236
### Docker Compose
237
237
@@ -332,12 +332,12 @@ uv sync --all-extras
332
332
333
333
3. Run the API server:
334
334
```bash
335
-
python -m agent_memory_server.main
335
+
agent-memory api
336
336
```
337
337
338
-
4. In a separate terminal, run the MCP server (use either the "stdio" or "sse" options to set the running mode):
338
+
4. In a separate terminal, run the MCP server (use either the "stdio" or "sse" options to set the running mode) if you want to test with tools like Cursor or Claude:
339
339
```bash
340
-
python -m agent_memory_server.mcp [stdio|sse]
340
+
agent-memory mcp --mode <stdio|sse>
341
341
```
342
342
343
343
### Running Tests
@@ -374,7 +374,12 @@ The memory compaction functionality optimizes storage by merging duplicate and s
374
374
375
375
### Running Compaction
376
376
377
-
Currently, memory compaction is only available as a function in `agent_memory_server.long_term_memory.compact_long_term_memories`. You can run it manually or trigger it (manually, via code) to run as a background task.
377
+
Memory compaction is available as a task function in `agent_memory_server.long_term_memory.compact_long_term_memories`. You can trigger it manually
378
+
by running the `agent-memory schedule-task` command:
0 commit comments