@aman_asmuei/amem 0.21.0 โ 0.21.1
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 +87 -37
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
|
|
30
30
|
<table align="center">
|
|
31
31
|
<tr>
|
|
32
|
-
<td><strong>
|
|
32
|
+
<td><strong>94.6% R@5</strong><br/><sub>LongMemEval Oracle, 500q</sub></td>
|
|
33
33
|
<td><strong>0.08ms</strong><br/><sub>Search at 10k memories</sub></td>
|
|
34
34
|
<td><strong>29 MCP tools</strong><br/><sub>Full memory toolkit</sub></td>
|
|
35
|
-
<td><strong>
|
|
35
|
+
<td><strong>Powered by</strong><br/><sub><a href="https://github.com/amanasmuei/amem-core">amem-core</a></sub></td>
|
|
36
36
|
</tr>
|
|
37
37
|
</table>
|
|
38
38
|
|
|
@@ -71,6 +71,46 @@ No cloud. No API keys. Everything stays on your machine.
|
|
|
71
71
|
|
|
72
72
|
---
|
|
73
73
|
|
|
74
|
+
## ๐งฌ Powered by `amem-core`
|
|
75
|
+
|
|
76
|
+
`amem` is the **MCP server**. The actual memory engine โ embeddings, recall, knowledge graph, contradiction detection, reflection โ lives in a separate package: [`@aman_asmuei/amem-core`](https://github.com/amanasmuei/amem-core).
|
|
77
|
+
|
|
78
|
+
```
|
|
79
|
+
Claude Code / Copilot / Cursor / any MCP client
|
|
80
|
+
โ
|
|
81
|
+
โ MCP (stdio)
|
|
82
|
+
โผ
|
|
83
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
84
|
+
โ @aman_asmuei/amem (this pkg) โ
|
|
85
|
+
โ 29 MCP tools, CLI, hooks โ
|
|
86
|
+
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
|
|
87
|
+
โ imports
|
|
88
|
+
โผ
|
|
89
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
90
|
+
โ @aman_asmuei/amem-core โ
|
|
91
|
+
โ embeddings ยท HNSW ยท recall โ
|
|
92
|
+
โ knowledge graph ยท reflection โ
|
|
93
|
+
โ 91.0% R@5 on LongMemEval โ
|
|
94
|
+
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
|
|
95
|
+
โ
|
|
96
|
+
โผ
|
|
97
|
+
โโโโโโโโโโโโโโโโโโโโโโ
|
|
98
|
+
โ SQLite (one file) โ
|
|
99
|
+
โ ~/.amem/memory.db โ
|
|
100
|
+
โโโโโโโโโโโโโโโโโโโโโโ
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
| Package | Role | Install | Use case |
|
|
104
|
+
|---|---|---|---|
|
|
105
|
+
| **`@aman_asmuei/amem`** *(this)* | MCP server + CLI + hooks | `npm install -g @aman_asmuei/amem` | Plug into Claude Code, Copilot, Cursor, any MCP client |
|
|
106
|
+
| **`@aman_asmuei/amem-core`** | Pure TypeScript library, zero MCP deps | `npm install @aman_asmuei/amem-core` | Embed memory directly in your own Node app |
|
|
107
|
+
|
|
108
|
+
**Why the split?** The same engine powers `amem` (this MCP server), `aman-agent` (CLI), `aman-tg` (Telegram bot), and any other Node app you want to give memory to. All retrieval-quality improvements ship via `amem-core`. All MCP-tool changes ship via `amem`. They version independently.
|
|
109
|
+
|
|
110
|
+
> The **94.6% R@5** headline is the engine quality from `amem-core` โ exactly what you get whether you call it through this MCP server or import the library directly. The MCP wrapper does not change retrieval quality.
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
74
114
|
## Quick Start
|
|
75
115
|
|
|
76
116
|
<table>
|
|
@@ -619,42 +659,52 @@ amem-cli reset --confirm # Wipe all data
|
|
|
619
659
|
```
|
|
620
660
|
Your AI Tool
|
|
621
661
|
Claude Code / Copilot CLI / any MCP client
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
662
|
+
โ โ
|
|
663
|
+
โ MCP (stdio) โ Lifecycle Hooks
|
|
664
|
+
โผ โผ
|
|
665
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
666
|
+
โ @aman_asmuei/amem โ โ this package
|
|
667
|
+
โ โ
|
|
668
|
+
โ 29 Tools ยท 7 Resources ยท 2 Prompts
|
|
669
|
+
โ Slash commands ยท CLI ยท Hooks โ
|
|
670
|
+
โ Config: ~/.amem/config.json โ
|
|
671
|
+
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
|
|
672
|
+
โ imports
|
|
673
|
+
โผ
|
|
674
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
675
|
+
โ @aman_asmuei/amem-core โ โ the engine
|
|
676
|
+
โ โ
|
|
677
|
+
โ Multi-Strategy Retrieval โ
|
|
678
|
+
โ [HNSW] + [FTS5] + [Graph] + [Temporal]
|
|
679
|
+
โ + query expansion โ
|
|
680
|
+
โ + cross-encoder (opt-in) โ
|
|
681
|
+
โ โ
|
|
682
|
+
โ Self-Evolving Reflection โ
|
|
683
|
+
โ [Clustering] + [Contradictions]โ
|
|
684
|
+
โ + [Synthesis] + [Gap Detection]โ
|
|
685
|
+
โ โ
|
|
686
|
+
โ Embeddings: bge-small-en-v1.5 โ
|
|
687
|
+
โ 94.6% R@5 on LongMemEval โ
|
|
688
|
+
โโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโ
|
|
689
|
+
โ
|
|
690
|
+
โผ
|
|
691
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
692
|
+
โ SQLite + WAL + FTS5 โ
|
|
693
|
+
โ ~/.amem/memory.db โ
|
|
694
|
+
โ โ
|
|
695
|
+
โ memories (tiered) โ
|
|
696
|
+
โ conversation_log (raw) โ
|
|
697
|
+
โ memory_versions (history) โ
|
|
698
|
+
โ memory_relations (graph) โ
|
|
699
|
+
โ synthesis_lineage โ
|
|
700
|
+
โ knowledge_gaps โ
|
|
701
|
+
โ session_summaries โ
|
|
702
|
+
โ reminders โ
|
|
703
|
+
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
656
704
|
```
|
|
657
705
|
|
|
706
|
+
The **`amem` MCP server is a thin wrapper** around `amem-core`. The retrieval engine, embeddings, knowledge graph, reflection โ all live in `amem-core` and version independently. Bug in MCP wiring? Republish `amem`. Recall improvement? Republish `amem-core`. No coupling.
|
|
707
|
+
|
|
658
708
|
### Ranking Formula
|
|
659
709
|
|
|
660
710
|
```
|
|
@@ -771,7 +821,7 @@ PRs must pass CI before merge. See [Issues](https://github.com/amanasmuei/amem/i
|
|
|
771
821
|
---
|
|
772
822
|
|
|
773
823
|
<p align="center">
|
|
774
|
-
Built by <a href="https://github.com/amanasmuei"><strong>Aman Asmuei</strong></a>
|
|
824
|
+
Built with โค๏ธ in ๐ฒ๐พ Malaysia by <a href="https://github.com/amanasmuei"><strong>Aman Asmuei</strong></a>
|
|
775
825
|
</p>
|
|
776
826
|
|
|
777
827
|
<p align="center">
|