@pcircle/memesh 4.0.1 → 4.0.3
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.de.md +56 -201
- package/README.es.md +56 -201
- package/README.fr.md +56 -201
- package/README.ja.md +55 -200
- package/README.ko.md +56 -201
- package/README.md +36 -30
- package/README.pt.md +56 -201
- package/README.th.md +56 -201
- package/README.vi.md +56 -201
- package/README.zh-CN.md +56 -201
- package/README.zh-TW.md +56 -201
- package/dashboard/dist/index.html +4 -4
- package/dist/core/config.d.ts.map +1 -1
- package/dist/core/config.js +17 -7
- package/dist/core/config.js.map +1 -1
- package/dist/core/embedder.d.ts +2 -0
- package/dist/core/embedder.d.ts.map +1 -1
- package/dist/core/embedder.js +51 -8
- package/dist/core/embedder.js.map +1 -1
- package/dist/core/install-channel.d.ts +30 -0
- package/dist/core/install-channel.d.ts.map +1 -0
- package/dist/core/install-channel.js +83 -0
- package/dist/core/install-channel.js.map +1 -0
- package/dist/core/operations.d.ts.map +1 -1
- package/dist/core/operations.js +26 -8
- package/dist/core/operations.js.map +1 -1
- package/dist/core/serializer.d.ts.map +1 -1
- package/dist/core/serializer.js +24 -0
- package/dist/core/serializer.js.map +1 -1
- package/dist/core/updater.d.ts +11 -0
- package/dist/core/updater.d.ts.map +1 -0
- package/dist/core/updater.js +28 -0
- package/dist/core/updater.js.map +1 -0
- package/dist/core/version-check.d.ts +28 -4
- package/dist/core/version-check.d.ts.map +1 -1
- package/dist/core/version-check.js +167 -21
- package/dist/core/version-check.js.map +1 -1
- package/dist/knowledge-graph.d.ts +3 -0
- package/dist/knowledge-graph.d.ts.map +1 -1
- package/dist/knowledge-graph.js +28 -3
- package/dist/knowledge-graph.js.map +1 -1
- package/dist/transports/cli/cli.js +44 -13
- package/dist/transports/cli/cli.js.map +1 -1
- package/dist/transports/http/server.d.ts +3 -1
- package/dist/transports/http/server.d.ts.map +1 -1
- package/dist/transports/http/server.js +53 -2
- package/dist/transports/http/server.js.map +1 -1
- package/package.json +5 -6
- package/plugin.json +2 -2
- package/scripts/hooks/_shared.js +62 -0
- package/scripts/hooks/pre-edit-recall.js +22 -15
- package/scripts/hooks/session-start.js +30 -21
- package/scripts/hooks/session-summary.js +4 -5
- package/skills/memesh/SKILL.md +8 -0
package/README.ko.md
CHANGED
|
@@ -3,253 +3,108 @@
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<h1 align="center">MeMesh LLM Memory</h1>
|
|
5
5
|
<p align="center">
|
|
6
|
-
<strong
|
|
7
|
-
SQLite 파일 하나.
|
|
8
|
-
</p>
|
|
9
|
-
<p align="center">
|
|
10
|
-
<a href="https://www.npmjs.com/package/@pcircle/memesh"><img src="https://img.shields.io/npm/v/@pcircle/memesh?style=flat-square&color=3b82f6&label=npm" alt="npm" /></a>
|
|
11
|
-
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-22c55e?style=flat-square" alt="MIT" /></a>
|
|
12
|
-
<a href="https://nodejs.org"><img src="https://img.shields.io/badge/node-%3E%3D20-22c55e?style=flat-square" alt="Node" /></a>
|
|
13
|
-
<a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-compatible-a855f7?style=flat-square" alt="MCP" /></a>
|
|
6
|
+
<strong>Claude Code와 MCP coding agents를 위한 로컬 메모리 레이어.</strong><br />
|
|
7
|
+
SQLite 파일 하나. Docker 불필요. 클라우드 불필요.
|
|
14
8
|
</p>
|
|
15
9
|
</p>
|
|
16
10
|
|
|
17
|
-
|
|
11
|
+
> 이 한국어 README는 핵심만 정리한 안내 버전입니다. 최신의 완전한 내용은 [English README](README.md)를 기준으로 보세요.
|
|
18
12
|
|
|
19
|
-
##
|
|
13
|
+
## 어떤 문제를 해결하나?
|
|
20
14
|
|
|
21
|
-
|
|
15
|
+
coding agent는 세션이 바뀌면 맥락을 잃기 쉽습니다. 아키텍처 결정, 버그를 고친 과정, 이미 배운 교훈, 프로젝트 제약을 계속 다시 설명해야 합니다.
|
|
22
16
|
|
|
23
|
-
**MeMesh는
|
|
17
|
+
**MeMesh는 이런 지식을 로컬에 남기고, 검색 가능하게 유지하며, 나중에 다시 불러올 수 있게 해줍니다.**
|
|
24
18
|
|
|
25
|
-
|
|
19
|
+
이 npm package는 MeMesh의 로컬 plugin / package 버전입니다. 클라우드 워크스페이스나 엔터프라이즈 플랫폼 전체를 담은 제품은 아닙니다.
|
|
26
20
|
|
|
27
|
-
## 60초
|
|
21
|
+
## 60초 시작
|
|
28
22
|
|
|
29
|
-
### 1
|
|
23
|
+
### 1. 설치
|
|
30
24
|
|
|
31
25
|
```bash
|
|
32
26
|
npm install -g @pcircle/memesh
|
|
33
27
|
```
|
|
34
28
|
|
|
35
|
-
### 2
|
|
29
|
+
### 2. 결정 하나 저장
|
|
36
30
|
|
|
37
31
|
```bash
|
|
38
32
|
memesh remember --name "auth-decision" --type "decision" --obs "Use OAuth 2.0 with PKCE"
|
|
39
33
|
```
|
|
40
34
|
|
|
41
|
-
### 3
|
|
35
|
+
### 3. 나중에 다시 찾기
|
|
42
36
|
|
|
43
37
|
```bash
|
|
44
38
|
memesh recall "login security"
|
|
45
|
-
# →
|
|
39
|
+
# → 표현이 달라도 "OAuth 2.0 with PKCE"를 찾을 수 있습니다
|
|
46
40
|
```
|
|
47
41
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
대시보드를 열어 메모리를 탐색해보세요:
|
|
42
|
+
대시보드 열기:
|
|
51
43
|
|
|
52
44
|
```bash
|
|
53
45
|
memesh
|
|
54
46
|
```
|
|
55
47
|
|
|
56
|
-
|
|
57
|
-
<img src="docs/images/dashboard-search.png" alt="MeMesh Search — 어떤 메모리도 즉시 검색" width="100%" />
|
|
58
|
-
</p>
|
|
59
|
-
|
|
60
|
-
<p align="center">
|
|
61
|
-
<img src="docs/images/dashboard-analytics.png" alt="MeMesh Analytics — AI의 지식을 한눈에 파악" width="100%" />
|
|
62
|
-
</p>
|
|
63
|
-
|
|
64
|
-
<p align="center">
|
|
65
|
-
<img src="docs/images/dashboard-graph.png" alt="MeMesh Graph — 타입 필터와 에고 모드가 있는 인터랙티브 지식 그래프" width="100%" />
|
|
66
|
-
</p>
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## 누구를 위한 도구인가?
|
|
71
|
-
|
|
72
|
-
| 당신이…라면 | MeMesh가 이렇게 도와줍니다 |
|
|
73
|
-
|---------------|---------------------|
|
|
74
|
-
| **Claude Code를 사용하는 개발자** | 결정, 패턴, 교훈을 세션을 넘나들며 자동으로 기억 |
|
|
75
|
-
| **LLM으로 제품을 만드는 팀** | 내보내기/가져오기로 팀 지식을 공유하고 모두의 AI 맥락을 정렬 |
|
|
76
|
-
| **AI 에이전트 개발자** | MCP, HTTP API, Python SDK를 통해 에이전트에 지속 메모리 부여 |
|
|
77
|
-
| **여러 AI 도구를 쓰는 파워 유저** | Claude, GPT, LLaMA, Ollama 또는 모든 MCP 클라이언트와 작동하는 단일 메모리 레이어 |
|
|
78
|
-
|
|
79
|
-
---
|
|
80
|
-
|
|
81
|
-
## 모든 것과 연동
|
|
82
|
-
|
|
83
|
-
<table>
|
|
84
|
-
<tr>
|
|
85
|
-
<td width="33%" align="center">
|
|
86
|
-
|
|
87
|
-
**Claude Code / Desktop**
|
|
88
|
-
```bash
|
|
89
|
-
memesh-mcp
|
|
90
|
-
```
|
|
91
|
-
MCP 프로토콜 (자동 설정)
|
|
92
|
-
|
|
93
|
-
</td>
|
|
94
|
-
<td width="33%" align="center">
|
|
95
|
-
|
|
96
|
-
**Python / LangChain**
|
|
97
|
-
```python
|
|
98
|
-
from memesh import MeMesh
|
|
99
|
-
m = MeMesh()
|
|
100
|
-
m.recall("auth")
|
|
101
|
-
```
|
|
102
|
-
`pip install memesh`
|
|
103
|
-
|
|
104
|
-
</td>
|
|
105
|
-
<td width="33%" align="center">
|
|
106
|
-
|
|
107
|
-
**모든 LLM (OpenAI 형식)**
|
|
108
|
-
```bash
|
|
109
|
-
memesh export-schema \
|
|
110
|
-
--format openai
|
|
111
|
-
```
|
|
112
|
-
어떤 API 호출에도 붙여넣기
|
|
113
|
-
|
|
114
|
-
</td>
|
|
115
|
-
</tr>
|
|
116
|
-
</table>
|
|
117
|
-
|
|
118
|
-
---
|
|
119
|
-
|
|
120
|
-
## 왜 Mem0 / Zep가 아닌가?
|
|
48
|
+
## 이런 사용자에게 맞습니다
|
|
121
49
|
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
| **저장소** | SQLite 파일 하나 | Neo4j + Qdrant | Neo4j |
|
|
127
|
-
| **오프라인 사용** | 항상 가능 | 불가 | 불가 |
|
|
128
|
-
| **대시보드** | 내장 (7개 탭 + 분석) | 없음 | 없음 |
|
|
129
|
-
| **의존성** | 6개 | 20개 이상 | 10개 이상 |
|
|
130
|
-
| **가격** | 영구 무료 | 무료 티어 / 유료 | 무료 티어 / 유료 |
|
|
50
|
+
- Claude Code를 쓰면서 세션 사이에도 프로젝트 맥락을 유지하고 싶은 개발자
|
|
51
|
+
- 같은 로컬 메모리를 여러 MCP coding agents에서 함께 쓰고 싶은 고급 사용자
|
|
52
|
+
- export / import로 팀 지식을 공유하려는 소규모 AI-native 개발팀
|
|
53
|
+
- CLI, HTTP, MCP 흐름에 로컬 메모리를 붙이고 싶은 agent 개발자
|
|
131
54
|
|
|
132
|
-
|
|
55
|
+
## 왜 MeMesh인가?
|
|
133
56
|
|
|
134
|
-
|
|
57
|
+
- 로컬 우선: 데이터가 내 SQLite 파일에 저장됨
|
|
58
|
+
- 가벼운 설치: `npm install -g` 후 바로 사용 가능
|
|
59
|
+
- 연결 방식이 명확함: CLI, HTTP, MCP 지원
|
|
60
|
+
- Claude Code 친화적: hooks로 작업 중 관련 메모리를 쉽게 불러옴
|
|
61
|
+
- 확인과 정리가 쉬움: dashboard가 있어 블랙박스가 아님
|
|
62
|
+
- import 안전 경계: import한 메모리는 검색되더라도, 검토하거나 다시 저장하기 전에는 Claude hooks에 자동 주입되지 않음
|
|
135
63
|
|
|
136
|
-
## 자동으로
|
|
64
|
+
## Claude Code에서 자동으로 하는 일
|
|
137
65
|
|
|
138
|
-
|
|
66
|
+
MeMesh는 현재 다음 5가지 시점에 도움을 줍니다.
|
|
139
67
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
| **컨텍스트 압축 전** | 컨텍스트 한계로 사라지기 전에 지식을 저장 |
|
|
68
|
+
- 세션 시작 시 관련 메모리와 이미 배운 교훈을 불러옴
|
|
69
|
+
- 파일 편집 전에 그 파일이나 프로젝트와 관련된 메모리를 먼저 찾음
|
|
70
|
+
- `git commit` 후 변경 내용을 기록함
|
|
71
|
+
- 세션 종료 시 이번 수정, 오류, lesson learned를 정리함
|
|
72
|
+
- context compact 전에 중요한 내용을 로컬 메모리에 저장함
|
|
146
73
|
|
|
147
|
-
|
|
74
|
+
## Dashboard에는 무엇이 있나?
|
|
148
75
|
|
|
149
|
-
|
|
76
|
+
Dashboard는 현재 7개 탭과 11개 언어를 지원합니다.
|
|
150
77
|
|
|
151
|
-
|
|
78
|
+
- Search: 메모리 검색
|
|
79
|
+
- Browse: 전체 메모리 보기
|
|
80
|
+
- Analytics: 건강도와 추세 확인
|
|
81
|
+
- Graph: 지식 관계 보기
|
|
82
|
+
- Lessons: 과거 교훈 보기
|
|
83
|
+
- Manage: 아카이브와 복원
|
|
84
|
+
- Settings: LLM provider와 언어 설정
|
|
152
85
|
|
|
153
|
-
|
|
86
|
+
## Smart Mode란?
|
|
154
87
|
|
|
155
|
-
|
|
156
|
-
|----|------|
|
|
157
|
-
| **Search** | 모든 메모리에 대한 전문 검색 + 벡터 유사도 검색 |
|
|
158
|
-
| **Browse** | 모든 엔티티의 페이지네이션 목록 (아카이브/복원 지원) |
|
|
159
|
-
| **Analytics** | 메모리 건강 점수 (0-100), 30일 타임라인, 가치 지표, 지식 커버리지, 정리 제안, 작업 패턴 |
|
|
160
|
-
| **Graph** | 타입 필터, 검색, 에고 모드, 최신성 히트맵이 있는 인터랙티브 포스 그래프 |
|
|
161
|
-
| **Lessons** | 과거 실패로부터 생성된 구조화된 교훈 (오류, 근본 원인, 수정, 예방) |
|
|
162
|
-
| **Manage** | 엔티티 아카이브 및 복원 |
|
|
163
|
-
| **Settings** | LLM 제공자 설정, 언어 선택 |
|
|
88
|
+
MeMesh는 기본적으로 오프라인에서 사용할 수 있습니다. 여기에 LLM API key를 설정하면 다음과 같은 기능을 더 쓸 수 있습니다.
|
|
164
89
|
|
|
165
|
-
|
|
90
|
+
- query expansion
|
|
91
|
+
- 더 나은 자동 추출
|
|
92
|
+
- 더 똑똑한 정리와 압축
|
|
166
93
|
|
|
167
|
-
|
|
94
|
+
API key가 없어도 핵심 기능은 그대로 사용할 수 있습니다.
|
|
168
95
|
|
|
169
|
-
|
|
96
|
+
## 더 알아보기
|
|
170
97
|
|
|
171
|
-
|
|
98
|
+
- 전체 기능, 비교, API, release 정보: [English README](README.md)
|
|
99
|
+
- 플랫폼별 안내: [docs/platforms/README.md](docs/platforms/README.md)
|
|
100
|
+
- API 참고: [docs/api/API_REFERENCE.md](docs/api/API_REFERENCE.md)
|
|
172
101
|
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
**⚠️ 충돌 감지** — 두 메모리가 서로 모순될 경우 MeMesh가 경고를 보냅니다.
|
|
176
|
-
|
|
177
|
-
**📦 팀 공유** — `memesh export > team-knowledge.json` → 팀과 공유 → `memesh import team-knowledge.json`
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
|
|
181
|
-
## 스마트 모드 활성화 (선택 사항)
|
|
182
|
-
|
|
183
|
-
MeMesh는 기본적으로 완전히 오프라인으로 동작합니다. LLM API 키를 추가하면 더 스마트한 검색을 사용할 수 있습니다:
|
|
184
|
-
|
|
185
|
-
```bash
|
|
186
|
-
memesh config set llm.provider anthropic
|
|
187
|
-
memesh config set llm.api-key sk-ant-...
|
|
188
|
-
```
|
|
189
|
-
|
|
190
|
-
또는 대시보드 설정 탭에서 시각적으로 설정:
|
|
191
|
-
|
|
192
|
-
```bash
|
|
193
|
-
memesh # 대시보드 열기 → 설정 탭
|
|
194
|
-
```
|
|
195
|
-
|
|
196
|
-
| | 레벨 0 (기본값) | 레벨 1 (스마트 모드) |
|
|
197
|
-
|---|---|---|
|
|
198
|
-
| **검색** | FTS5 키워드 매칭 | + LLM 쿼리 확장 (~97% 재현율) |
|
|
199
|
-
| **자동 포착** | 규칙 기반 패턴 | + LLM이 결정 & 교훈 추출 |
|
|
200
|
-
| **압축** | 사용 불가 | `consolidate`로 장황한 메모리 압축 |
|
|
201
|
-
| **비용** | 무료, API 키 불필요 | 검색당 ~$0.0001 (Haiku) |
|
|
202
|
-
|
|
203
|
-
---
|
|
204
|
-
|
|
205
|
-
## 전체 8가지 메모리 도구
|
|
206
|
-
|
|
207
|
-
| 도구 | 기능 |
|
|
208
|
-
|------|-------------|
|
|
209
|
-
| `remember` | 관찰 기록, 관계, 태그와 함께 지식 저장 |
|
|
210
|
-
| `recall` | 다중 요소 스코어링과 LLM 쿼리 확장을 활용한 스마트 검색 |
|
|
211
|
-
| `forget` | 소프트 아카이브(절대 삭제 없음) 또는 특정 관찰 기록 제거 |
|
|
212
|
-
| `consolidate` | LLM 기반 장황한 메모리 압축 |
|
|
213
|
-
| `export` | 메모리를 JSON으로 프로젝트 또는 팀원과 공유 |
|
|
214
|
-
| `import` | 병합 전략(건너뛰기 / 덮어쓰기 / 추가)을 선택해 메모리 가져오기 |
|
|
215
|
-
| `learn` | 실수로부터 구조화된 교훈 기록 (오류, 근본 원인, 수정, 예방) |
|
|
216
|
-
| `user_patterns` | 작업 패턴 분석 — 일정, 도구, 강점, 학습 영역 |
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
|
-
## 아키텍처
|
|
221
|
-
|
|
222
|
-
```
|
|
223
|
-
┌─────────────────┐
|
|
224
|
-
│ Core Engine │
|
|
225
|
-
│ (8 operations) │
|
|
226
|
-
└────────┬────────┘
|
|
227
|
-
┌─────────────────┼─────────────────┐
|
|
228
|
-
│ │ │
|
|
229
|
-
CLI (memesh) HTTP API (serve) MCP (memesh-mcp)
|
|
230
|
-
│ │ │
|
|
231
|
-
└─────────────────┼─────────────────┘
|
|
232
|
-
│
|
|
233
|
-
SQLite + FTS5 + sqlite-vec
|
|
234
|
-
(~/.memesh/knowledge-graph.db)
|
|
235
|
-
```
|
|
236
|
-
|
|
237
|
-
코어는 프레임워크 독립적. 터미널, HTTP, MCP 어디서 호출해도 동일한 로직이 실행됩니다.
|
|
238
|
-
|
|
239
|
-
---
|
|
240
|
-
|
|
241
|
-
## 기여하기
|
|
102
|
+
## 개발과 검증
|
|
242
103
|
|
|
243
104
|
```bash
|
|
244
105
|
git clone https://github.com/PCIRCLE-AI/memesh-llm-memory
|
|
245
|
-
cd memesh-llm-memory
|
|
246
|
-
npm
|
|
106
|
+
cd memesh-llm-memory
|
|
107
|
+
npm install
|
|
108
|
+
npm run build
|
|
109
|
+
npm test
|
|
247
110
|
```
|
|
248
|
-
|
|
249
|
-
대시보드: `cd dashboard && npm install && npm run dev`
|
|
250
|
-
|
|
251
|
-
---
|
|
252
|
-
|
|
253
|
-
<p align="center">
|
|
254
|
-
<strong>MIT</strong> — <a href="https://pcircle.ai">PCIRCLE AI</a> 제작
|
|
255
|
-
</p>
|
package/README.md
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
<p align="center">
|
|
4
4
|
<h1 align="center">MeMesh LLM Memory</h1>
|
|
5
5
|
<p align="center">
|
|
6
|
-
<strong>
|
|
7
|
-
One SQLite file.
|
|
6
|
+
<strong>Local memory for Claude Code and MCP coding agents.</strong><br />
|
|
7
|
+
One SQLite file. No Docker. No cloud required.
|
|
8
8
|
</p>
|
|
9
9
|
<p align="center">
|
|
10
10
|
<a href="https://www.npmjs.com/package/@pcircle/memesh"><img src="https://img.shields.io/npm/v/@pcircle/memesh?style=flat-square&color=3b82f6&label=npm" alt="npm" /></a>
|
|
@@ -18,9 +18,11 @@
|
|
|
18
18
|
|
|
19
19
|
## The Problem
|
|
20
20
|
|
|
21
|
-
Your
|
|
21
|
+
Your coding agent forgets what happened between sessions. Every architecture decision, bug fix, failed test, and hard-won lesson has to be re-explained. Claude Code starts fresh, re-discovers old constraints, and burns context on things it should already know.
|
|
22
22
|
|
|
23
|
-
**MeMesh gives
|
|
23
|
+
**MeMesh gives coding agents persistent, searchable, evolving local memory.**
|
|
24
|
+
|
|
25
|
+
This package is the local memory layer of the MeMesh product family. It is intentionally small and open-source: install it with npm, keep your memory in `~/.memesh/knowledge-graph.db`, and connect it to Claude Code or any MCP-compatible client. Hosted workspace and enterprise operating-system products should stay separate from this package's README and roadmap.
|
|
24
26
|
|
|
25
27
|
---
|
|
26
28
|
|
|
@@ -32,13 +34,13 @@ Your AI forgets everything between sessions. Every decision, every bug fix, ever
|
|
|
32
34
|
npm install -g @pcircle/memesh
|
|
33
35
|
```
|
|
34
36
|
|
|
35
|
-
### Step 2:
|
|
37
|
+
### Step 2: Store a decision
|
|
36
38
|
|
|
37
39
|
```bash
|
|
38
40
|
memesh remember --name "auth-decision" --type "decision" --obs "Use OAuth 2.0 with PKCE"
|
|
39
41
|
```
|
|
40
42
|
|
|
41
|
-
### Step 3:
|
|
43
|
+
### Step 3: Recall it later
|
|
42
44
|
|
|
43
45
|
```bash
|
|
44
46
|
memesh recall "login security"
|
|
@@ -71,14 +73,14 @@ memesh
|
|
|
71
73
|
|
|
72
74
|
| If you are... | MeMesh helps you... |
|
|
73
75
|
|---------------|---------------------|
|
|
74
|
-
| **A developer using Claude Code** |
|
|
75
|
-
| **A
|
|
76
|
-
| **
|
|
77
|
-
| **
|
|
76
|
+
| **A developer using Claude Code** | Auto-recall project decisions, file-specific lessons, and past failures as you work |
|
|
77
|
+
| **A coding-agent power user** | Share one local memory layer across MCP-compatible tools |
|
|
78
|
+
| **A team experimenting with AI coding workflows** | Export/import project knowledge without introducing hosted infrastructure |
|
|
79
|
+
| **An agent developer** | Add local memory through MCP, HTTP, CLI, or the Python SDK |
|
|
78
80
|
|
|
79
81
|
---
|
|
80
82
|
|
|
81
|
-
##
|
|
83
|
+
## Designed For Coding Agents First
|
|
82
84
|
|
|
83
85
|
<table>
|
|
84
86
|
<tr>
|
|
@@ -88,7 +90,7 @@ memesh
|
|
|
88
90
|
```bash
|
|
89
91
|
memesh-mcp
|
|
90
92
|
```
|
|
91
|
-
MCP
|
|
93
|
+
MCP tools + Claude Code hooks
|
|
92
94
|
|
|
93
95
|
</td>
|
|
94
96
|
<td width="33%" align="center">
|
|
@@ -96,6 +98,7 @@ MCP protocol (auto-configured)
|
|
|
96
98
|
**Any HTTP Client**
|
|
97
99
|
```bash
|
|
98
100
|
curl localhost:3737/v1/recall \
|
|
101
|
+
-H "Content-Type: application/json" \
|
|
99
102
|
-d '{"query":"auth"}'
|
|
100
103
|
```
|
|
101
104
|
`memesh serve` (REST API)
|
|
@@ -116,29 +119,30 @@ Paste tools into any API call
|
|
|
116
119
|
|
|
117
120
|
---
|
|
118
121
|
|
|
119
|
-
## Why Not
|
|
122
|
+
## Why Not OpenMemory, Cursor Memories, Mem0, Or Zep?
|
|
120
123
|
|
|
121
|
-
| | **MeMesh** | Mem0 | Zep |
|
|
122
|
-
|
|
123
|
-
| **
|
|
124
|
-
| **
|
|
125
|
-
| **Storage** |
|
|
126
|
-
| **
|
|
127
|
-
| **
|
|
128
|
-
| **
|
|
129
|
-
| **
|
|
124
|
+
| | **MeMesh** | OpenMemory | Cursor Memories | Mem0 | Zep / Graphiti |
|
|
125
|
+
|---|---|---|---|---|---|
|
|
126
|
+
| **Best fit** | Local memory for coding agents | Local/cross-client MCP memory | Cursor-native project memory | Managed app/agent memory | Temporal knowledge graphs |
|
|
127
|
+
| **Install shape** | `npm install -g @pcircle/memesh` | Local app/server flow | Built into Cursor | Cloud API / SDK / MCP | Service/framework setup |
|
|
128
|
+
| **Storage** | One local SQLite file | Local memory stack | Cursor-managed rules/memories | Hosted or self-hosted stack | Graph database |
|
|
129
|
+
| **Cloud required** | No | No for local mode | Depends on Cursor account/settings | Yes for platform | Usually yes/self-hosted |
|
|
130
|
+
| **Claude Code hooks** | First-class | MCP tools | No | MCP tools | Not Claude Code-specific |
|
|
131
|
+
| **Dashboard** | Built in | Built in | Cursor settings | Platform dashboard | Platform/graph tooling |
|
|
132
|
+
| **Tradeoff** | Simple local wedge, not enterprise scale | Broader local app footprint | Locked to Cursor | Strong managed platform, less local-first | Strong graph model, heavier setup |
|
|
130
133
|
|
|
131
|
-
**MeMesh trades
|
|
134
|
+
**MeMesh trades enterprise-scale managed infrastructure for instant local setup, inspectable storage, and coding-agent workflow hooks.**
|
|
132
135
|
|
|
133
136
|
---
|
|
134
137
|
|
|
135
|
-
## What Happens Automatically
|
|
138
|
+
## What Happens Automatically In Claude Code
|
|
136
139
|
|
|
137
|
-
You don't need to manually remember everything. MeMesh has **
|
|
140
|
+
You don't need to manually remember everything. MeMesh has **5 hooks** that capture and inject knowledge while you work:
|
|
138
141
|
|
|
139
142
|
| When | What MeMesh does |
|
|
140
143
|
|------|------------------|
|
|
141
144
|
| **Every session start** | Loads your most relevant memories + proactive warnings from past lessons |
|
|
145
|
+
| **Before editing files** | Recalls memories tied to the file or project before Claude writes code |
|
|
142
146
|
| **After every `git commit`** | Records what you changed, with diff stats |
|
|
143
147
|
| **When Claude stops** | Captures files edited, errors fixed, and auto-generates structured lessons from failures |
|
|
144
148
|
| **Before context compaction** | Saves knowledge before it's lost to context limits |
|
|
@@ -159,7 +163,7 @@ You don't need to manually remember everything. MeMesh has **4 hooks** that capt
|
|
|
159
163
|
| **Graph** | Interactive force-directed knowledge graph with type filters, search, ego mode, recency heatmap |
|
|
160
164
|
| **Lessons** | Structured lessons from past failures (error, root cause, fix, prevention) |
|
|
161
165
|
| **Manage** | Archive and restore entities |
|
|
162
|
-
| **Settings** | LLM provider config, language selector |
|
|
166
|
+
| **Settings** | LLM provider config, instant language selector |
|
|
163
167
|
|
|
164
168
|
---
|
|
165
169
|
|
|
@@ -167,17 +171,18 @@ You don't need to manually remember everything. MeMesh has **4 hooks** that capt
|
|
|
167
171
|
|
|
168
172
|
**🧠 Smart Search** — Search "login security" and find memories about "OAuth PKCE". MeMesh expands queries with related terms using your configured LLM.
|
|
169
173
|
|
|
170
|
-
**📊 Scored Ranking** — Results ranked by relevance (
|
|
174
|
+
**📊 Scored Ranking** — Results ranked by relevance (30%) + recency (25%) + frequency (15%) + confidence (15%) + recall impact (10%) + temporal validity (5%).
|
|
171
175
|
|
|
172
176
|
**🔄 Knowledge Evolution** — Decisions change. `forget` archives old memories (never deletes). `supersedes` relations link old → new. Your AI always sees the latest version.
|
|
173
177
|
|
|
174
178
|
**⚠️ Conflict Detection** — If you have two memories that contradict each other, MeMesh warns you.
|
|
175
179
|
|
|
176
180
|
**📦 Team Sharing** — `memesh export > team-knowledge.json` → share with your team → `memesh import team-knowledge.json`
|
|
181
|
+
Imported bundles stay searchable, but MeMesh does not auto-inject imported memories into Claude hooks until you review or re-store them locally.
|
|
177
182
|
|
|
178
183
|
---
|
|
179
184
|
|
|
180
|
-
##
|
|
185
|
+
## Example Usage
|
|
181
186
|
|
|
182
187
|
> "MeMesh remembered that we chose PKCE over implicit flow three weeks ago. When I asked Claude about auth again, it already knew — no re-explaining needed."
|
|
183
188
|
> — **Solo developer, building a SaaS**
|
|
@@ -192,7 +197,7 @@ You don't need to manually remember everything. MeMesh has **4 hooks** that capt
|
|
|
192
197
|
|
|
193
198
|
## Unlock Smart Mode (Optional)
|
|
194
199
|
|
|
195
|
-
MeMesh works
|
|
200
|
+
MeMesh works offline by default. Add an LLM API key only if you want query expansion, smarter extraction, and compression:
|
|
196
201
|
|
|
197
202
|
```bash
|
|
198
203
|
memesh config set llm.provider anthropic
|
|
@@ -255,7 +260,8 @@ Core is framework-agnostic. Same logic runs from terminal, HTTP, or MCP.
|
|
|
255
260
|
```bash
|
|
256
261
|
git clone https://github.com/PCIRCLE-AI/memesh-llm-memory
|
|
257
262
|
cd memesh-llm-memory && npm install && npm run build
|
|
258
|
-
npm test
|
|
263
|
+
npm test # 484 tests
|
|
264
|
+
npm run test:e2e-dashboard
|
|
259
265
|
```
|
|
260
266
|
|
|
261
267
|
Dashboard: `cd dashboard && npm install && npm run dev`
|