Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Cross-client AI memory hub: agents share one SQLite memory.db via file-level pointers.
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
MEM_DB, MEM_DEFAULT_SOURCEต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"memtether": {
"command": "uvx",
"args": [
"memtether"
],
"env": {
"MEM_DB": "ใส่ค่าของคุณ",
"MEM_DEFAULT_SOURCE": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add memtether --env MEM_DB='ใส่ค่าของคุณ' --env MEM_DEFAULT_SOURCE='ใส่ค่าของคุณ' -- uvx memtetherเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"memtether": {
"command": "uvx",
"args": [
"memtether"
],
"env": {
"MEM_DB": "ใส่ค่าของคุณ",
"MEM_DEFAULT_SOURCE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"memtether": {
"type": "stdio",
"command": "uvx",
"args": [
"memtether"
],
"env": {
"MEM_DB": "ใส่ค่าของคุณ",
"MEM_DEFAULT_SOURCE": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
MEM_DB envMEM_DEFAULT_SOURCE envค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ผู้ลงทะเบียน (lanbass869-cell) ไม่ใช่เจ้าของ repo (MemTether) อาจเป็นคนอื่นที่นำมาลงต่อ
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 0 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.0a81) เข้า registry 20 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, Exa
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
English | 中文
The only AI agent memory with a tamper-evident audit chain.
*If your agent can't prove what it knows, it doesn't know.*
Remember every fact with its source · Recall it at three depths · Audit who changed what, when, and why — with corrections that never delete and a hash chain anyone can verify.
pip install memtether
$ memtether court fact-20261007-abc
+============================================================+ | MEMTETHER MEMORY COURT - CASE FILE | +============================================================+ | 1. CONTENT Clash proxy port is 7897 | | 2. TEMPORAL valid: 10-05 -> present | known: 10-05 -> now | | 3. PROVENANCE #1 remember by=codex -> #2 correct by=user | | 4. CONFLICTS case #3: vs fact-...old verdict=superseded | | 5. INTEGRITY chain: PASS (3 anchors, 42 entries hashed) | +============================================================+
$ python examples/audit_chain_demo.py
Before tamper: verify_chain: PASS Simulating attacker editing DB directly... After tamper: verify_chain: FAIL {"reason": "chain hash mismatch"}
Hash chain detected the tampering. That is the point.
MemTether is a local-first memory hub for multi-client AI agents. While most memory systems compete on retrieval accuracy, MemTether competes on governance: who wrote each fact, when it took effect, what it superseded, which conflicts a human adjudicated, and a tamper-evident hash chain anyone can verify — no code, no dependencies. Retrieval is provided (SGM deterministic SQL routing + hybrid embedding), but it is not the headline: agent memory that you can audit, correct, and trust is.
Think of it as an append-only memory ledger: every fact is a frame with its source and checksum attached; correcting a fact appends a new frame instead of overwriting the old one; and as_of rewinds the whole ledger to any past date. The DB is the source of truth — export-md gives you a human-readable, diffable, Git-friendly view of it anytime.
Coming from mem0, Zep, or Letta? examples/mem0_migration.py shows a complete round-trip migration from a mem0 JSON export — no mem0 SDK required.
$ memtether court fact-20261007-abc
+============================================================+ | MEMTETHER MEMORY COURT - CASE FILE | | 1. CONTENT Clash proxy port is 7897 | | 2. TEMPORAL valid: 10-05 → present | known: 10-05 → now | | 3. PROVENANCE #1 remember by=codex → #2 correct by=user | | 4. CONFLICTS case #3: vs fact-...old verdict=superseded | | 5. INTEGRITY chain: PASS (3 anchors, 42 entries hashed) | +============================================================+
| Feature | MemTether | mem0 | Hindsight | EverOS |
|---|---|---|---|---|
| Audit hash chain (tamper-evident) | ✅ | ❌ | ❌ | ❌ |
| Bi-temporal supersession | ✅ | ❌ | ❌ | ❌ |
| Conflict gate (human adjudication) | ✅ | ❌ | ❌ | ❌ |
| Source attribution (mandatory) | ✅ | ⚠️ optional | ❌ | ❌ |
| Memory Court (visual audit) | ✅ | ❌ | ❌ | ❌ |
| Local SQLite (no cloud) | ✅ | ⚠️ needs setup | ⚠️ needs server | ✅ |
| Zero cloud dependency | ✅ | ❌ | ❌ | ✅ |
python examples/audit_chain_demo.py to see it turn red.Run it yourself:
$ python examples/audit_chain_demo.py
写入 25 条记忆(自动生成 2 个审计锚点)... 篡改前 verify_chain: PASS {'anchors': 2, 'entries_covered': 20} 模拟攻击者直接改库... 篡改后 verify_chain: FAIL {'reason': 'chain hash mismatch'} ✅ 哈希链成功检测到篡改!
Note: ntries_covered: 20 with 25 writes is expected — the hash chain anchors every 10 audit entries, so the last 5 writes sit in the unanchored tail until the next batch. Tampering with an *anchored* entry is what turns verification red.
## Migrating from mem0
Already using mem0? examples/mem0_migration.py shows a complete round-trip: mem0 JSON export → MemTether Exchange v1 → live retrieval → back to mem0 format. No mem0 SDK required, bi-temporal fields honestly marked temporal_source="backfilled".
| Operation | p50 | p95 | p99 |
|---|---|---|---|
| remember (insert) | 28.7ms | 34.6ms | 117.8ms |
| search (SGM entity) | 33.1ms | 39.5ms | 41.6ms |
| search (keyword) | 32.2ms | 35.0ms | 135.0ms |
| correct (supersede) | 50.8ms | 54.7ms | 54.7ms |
Reproduce: python benchmarks/bench_latency.py --n 200
main only holds merges that passed the full test suite. Alpha builds are tagged automatically on every successful build (v0.1.0aN), so tag numbers are not contiguous and some tags point at commits that were later squashed into a merge. Install from PyPI for a validated build:
pip install memtether -i https://pypi.org/simple/
Under the hood: supersession chains (corrections never delete), bi-temporal timestamps (when facts were true vs when the system learned them), human-adjudicated conflict resolution, and a hash-chained audit log designed with EU AI Act Article 12 record-keeping requirements in mind (not certified compliance) record-keeping requirements.
One physical SQLite database, shared by every AI client via file-level pointers. No cloud. No API fees. No sync daemon. Greppable, git-able, yours — and auditable.
*Compared to mem0 (66.6K★), Zep/Graphiti (31.5K★), and agentmemory (29.2K★):
those systems either overwrite or delete old values. MemTether's supersession
chain preserves the full history with source attribution and Q-Value ranking.*
EAF retrieval: 75.7% strict on LongMemEval 500Q (paired delta +19.4pp, McNemar p=7.8e-7).
| MemTether | memora (731★) | memtrace (486★) | icarus (290★) | mem0 (66K★) | |
|---|---|---|---|---|---|
| Supersession chains (corrections don't delete) | ✅ enforced | ❌ | ❌ | ✅ | ❌ overwrite |
| Evidence chain (tamper-evident, browser-verifiable) | ✅ court CLI + zip | ❌ | ❌ | ❌ | ❌ |
| Human conflict adjudication (decisions on record) | ✅ conflicts CLI | ❌ | ❌ | ❌ | ❌ |
| Bi-temporal (valid_from ≠ recorded_at) | ✅ 100% coverage on fact rows | ❌ | ✅ on knowledge-graph edges (not per-fact rows) | ❌ | ❌ |
| Source attribution (who wrote it, enforced) | ✅ registry + reject | ❌ | ❌ | ✅ provenance | ❌ |
| Bi-temporal (per-fact rows) | ✅ | ❌ | ❌ | ❌ | ✅ graph edges only |
| Conflict detection (rule-based + human review) | ✅ candidate generator | ❌ | ❌ | ❌ | ❌ |
| MCP server | ✅ | ✅ | ✅ | ❌ | ✅ |
| 23+ client adapters | ✅ auto-detect | ❌ | ❌ | ❌ | ❌ |
| Evaluation integrity framework | ✅ 5 patterns | ❌ | ❌ | ❌ | ❌ |
| CI: 9 jobs / 567 tests | ✅ | ? | ? | ? | ✅ |
| Language | Python | ? | Rust | ? | Python |
*'Each cell reflects the feature's presence in the project's public documentation as of 2026-10-07. MemTether's differentiator is not any single feature — it's the combination of all governance dimensions in one local-first deployment.'*
Artifact bundle with per-question records.
mcp-name: io.github.lanbass869-cell/memtether
Project page · Install · Docs · Reproduce · 中文文档 · Español
Install · Usage · Why MemTether · Benchmarks · Architecture · Security · FAQ
pip install memtether
memtether demo memtether search "投影" --list
$ memtether search "投影" --list
from memtether import remember, search
remember("User prefers dark mode", source="my-agent") # hash-chained on write results = search("dark mode")
# Or as an MCP server for Claude Code / Cursor
memtether mcp
memtether download-models
# Node.js / TypeScript — thin REST client, zero dependencies
npm install @memtether/client
MemTether ships skills that teach your coding agent *when* to use memory — install with npx skills add:
npx skills add MemTether/MemTether
| Skill | What it teaches your agent |
|---|---|
agent-memory | Install, core concepts, CLI + MCP surface |
agent-memory-recall | Search-before-answer: check L0 recall before answering from memory |
agent-memory-court | Write-then-verify: hash-chain check + timeline after memory writes |
ตัดมาแค่ช่วงต้น อ่านต่อใน repo