@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 +44 -0
- package/dist/cli.mjs +1956 -40
- package/dist/cli.mjs.map +1 -1
- package/dist/{image-refs-HVu22rfu.mjs → image-refs-R3tin9MR.mjs} +2 -2
- package/dist/{image-refs-HVu22rfu.mjs.map → image-refs-R3tin9MR.mjs.map} +1 -1
- package/dist/{image-store-BfN1vDbj.mjs → image-store-DyrKZKqZ.mjs} +1 -1
- package/dist/index.mjs +64 -35
- package/dist/index.mjs.map +1 -1
- package/dist/{src-BBI-ah3h.mjs → src-3Oy_OOlF.mjs} +63 -72
- package/dist/src-3Oy_OOlF.mjs.map +1 -0
- package/dist/{standalone-Cf5sp0XM.mjs → standalone-BQOaGF4z.mjs} +3 -3
- package/dist/{standalone-Cf5sp0XM.mjs.map → standalone-BQOaGF4z.mjs.map} +1 -1
- package/dist/standalone.mjs +1 -1
- package/dist/standalone.mjs.map +1 -1
- package/dist/{tools-registry-BDimtXJb.mjs → tools-registry-BF0pgZmI.mjs} +2 -6
- package/dist/tools-registry-BF0pgZmI.mjs.map +1 -0
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/dist/src-BBI-ah3h.mjs.map +0 -1
- package/dist/tools-registry-BDimtXJb.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -53,6 +53,7 @@
|
|
|
53
53
|
</p>
|
|
54
54
|
|
|
55
55
|
<p align="center">
|
|
56
|
+
<a href="#install">Install</a> •
|
|
56
57
|
<a href="#quick-start">Quick Start</a> •
|
|
57
58
|
<a href="#benchmarks">Benchmarks</a> •
|
|
58
59
|
<a href="#vs-competitors">vs Competitors</a> •
|
|
@@ -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).
|