@agentmemory/agentmemory 0.9.14 → 0.9.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -53,6 +53,7 @@
53
53
  </p>
54
54
 
55
55
  <p align="center">
56
+ <a href="#install">Install</a> &bull;
56
57
  <a href="#quick-start">Quick Start</a> &bull;
57
58
  <a href="#benchmarks">Benchmarks</a> &bull;
58
59
  <a href="#vs-competitors">vs Competitors</a> &bull;
@@ -68,6 +69,27 @@
68
69
 
69
70
  ---
70
71
 
72
+ ## Install
73
+
74
+ ```bash
75
+ npm install -g @agentmemory/agentmemory # once — bare `agentmemory` on PATH
76
+ agentmemory # start the memory server on :3111
77
+ agentmemory demo # seed sample sessions + prove recall
78
+ agentmemory connect claude-code # wire your agent (also: codex, cursor, gemini-cli, ...)
79
+ ```
80
+
81
+ Or via `npx` (no install):
82
+
83
+ ```bash
84
+ npx @agentmemory/agentmemory
85
+ ```
86
+
87
+ Heads-up — npx caches per version. If a bare `npx @agentmemory/agentmemory` serves an older release, force the latest with `npx -y @agentmemory/agentmemory@latest`, or clear the cache once with `rm -rf ~/.npm/_npx` (macOS/Linux; on Windows delete `%LOCALAPPDATA%\npm-cache\_npx`). The first npx run from v0.9.16+ prompts to install globally inline so the bare `agentmemory` command works everywhere afterwards.
88
+
89
+ Full options at [Quick Start](#quick-start) below. Agent-specific wiring at [Works with every agent](#works-with-every-agent).
90
+
91
+ ---
92
+
71
93
  <h2 id="works-with-every-agent"><picture><source media="(prefers-color-scheme: dark)" srcset="assets/tags/light/section-agents.svg"><img src="assets/tags/section-agents.svg" alt="Works with every agent" height="32" /></picture></h2>
72
94
 
73
95
  agentmemory works with any agent that supports hooks, MCP, or REST API. All agents share the same memory server.
@@ -321,6 +343,28 @@ npx @agentmemory/agentmemory demo
321
343
 
322
344
  Open `http://localhost:3113` to watch the memory build live.
323
345
 
346
+ ### Recommended: install globally
347
+
348
+ `npx` caches per-version. If you ran `npx @agentmemory/agentmemory@0.9.14` last week, a bare `npx @agentmemory/agentmemory` may serve the stale 0.9.14 from `~/.npm/_npx/`, not the latest release. Install once and the bare `agentmemory` command works everywhere:
349
+
350
+ ```bash
351
+ npm install -g @agentmemory/agentmemory
352
+ agentmemory # start the server (same as the npx form)
353
+ agentmemory stop # tear it down
354
+ agentmemory remove # uninstall everything we created
355
+ agentmemory connect claude-code # wire one agent
356
+ agentmemory doctor # interactive diagnostics + fix prompts
357
+ ```
358
+
359
+ From v0.9.16 onward, the first npx run prompts you to install globally inline — answer `Y` once and you're set. If you skip, fall back to either of these for a fresh fetch:
360
+
361
+ ```bash
362
+ npx -y @agentmemory/agentmemory@latest # forces latest from npm (cross-platform)
363
+ rm -rf ~/.npm/_npx && npx @agentmemory/agentmemory # macOS/Linux only (POSIX shell)
364
+ ```
365
+
366
+ On Windows / PowerShell, the equivalent cache clear is `Remove-Item -Recurse -Force "$env:LOCALAPPDATA\npm-cache\_npx"` — the `npx -y ...@latest` form above is the cross-platform option.
367
+
324
368
  ### Session Replay
325
369
 
326
370
  Every session agentmemory records is replayable. Open the viewer, pick the **Replay** tab, and scrub through the timeline: prompts, tool calls, tool results, and responses render as discrete events with play/pause, speed control (0.5×–4×), and keyboard shortcuts (space to toggle, arrows to step).