ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Factum

โดย factum-projectรุ่น 0.1.3i★ –iรันบนเครื่อง
ชื่อใน registryio.github.factum-project/factum

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Auditable memory for AI agents: provenance, cascade retraction, conflict refusal

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ผู้ทำยังไม่ได้ใส่วิธีติดตั้งใน registry ให้ดู README ของผู้ทำด้านล่าง

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub factum-project ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7271 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 42% ของอีก 7271 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7271 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Factum ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.3) เข้า registry 2 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Rust ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต เมื่อวาน
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 21 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Factum — Auditable Memory for AI Agents

Status: v0.1.3 — Early stage, seeking early collaborators.

Core write/query/retract pipeline works. Not production-ready. Architectural decisions are still open to change.

[Interactive docs](https://factum-project.github.io/factum/) — animated syntax parsing, 7-tuple explorer, query pipeline, token efficiency chart, and MCP architecture diagram.

Every fact an agent writes carries mandatory provenance. When a source is retracted, everything derived from it is invalidated automatically — cascade retraction. When facts conflict, Factum returns Ambiguous instead of guessing.

A structured knowledge language (S-expression based), Rust implementation, stdio MCP server — works with Claude Code, Cursor, and any MCP client.

Status: v0.1.3, early stage. Core write/query/retract pipeline works; no semantic search or memory consolidation yet — Factum handles verified structured facts, not conversation context. Best suited for compliance-sensitive agents, multi-agent shared knowledge bases, and anywhere "why did the agent believe X" needs an answer. See the multi-agent usage guide for shared knowledge base patterns.

How is this different from Mem0 / Zep / Letta?

Unique to Factum: grammar-enforced provenance · cascade retraction · conflict refusal.

Not (yet) in Factum: embedding-based semantic retrieval · memory consolidation · HTTP transport.

Complementary: Mem0/Letta store and retrieve context; Factum stores auditable structured facts. They can run side by side via MCP.

What this means in practice
Agent memory pain pointFactum mechanism
Can't tell "user said" from "LLM inferred"5-level provenance + grammar-enforced model name on Extracted nodes
Stale memory used as current factSoft delete + cascade retraction via reverse dependency graph
Conflicting memories silently pick oneAmbiguous — refuses to answer rather than guess
Memory pollution (prompt injection)Provenance chain makes contamination traceable and retractable
Enterprise can't let agents store sensitive dataIndex-level permission filtering — no post-query leakage

Academic context: The STALE benchmark (2025) shows that even the best LLM agents achieve only 55.2% accuracy at detecting when their own memories are outdated — confirming that memory staleness is an unsolved problem in agent systems.

Key Features (Implemented)

  • Node 7-tuple: Every knowledge node carries id, predicate, validity, provenance, confidence, authority, and permissions — plus optional :note for human-readable context
  • Auto node IDs: Use "auto" as the node ID in factum_insert or factum_assert to auto-generate content-based IDs — no manual ID management
  • 5-level provenance: Verbatim / Summary / Extracted / Derived / Asserted — full audit chain
  • Grammar-enforced model reference: Extracted nodes MUST carry model + version — the parser rejects them if missing (not just a documentation convention)
  • Cascade retraction: Derived nodes auto-invalidate when upstream sources are retracted (via deps_rev reverse dependency graph); configurable node limit prevents cascade explosion in large knowledge bases
  • Corroboration detection: When a second agent asserts the same fact, factum_assert returns corroborated (not an error) — independent agreement is the most valuable multi-agent signal
  • Conflict arbitration: LatestWins / HighestAuthority / Unanimous / WeightedVote — pattern-aware grouping ensures value conflicts trigger arbitration; returns Ambiguous when it cannot uniquely resolve
  • Index-level permissions: No post-query filtering — prevents aggregate leakage
  • Lossless numerics: All numbers use Dec(i128, u8) — zero floating-point error
  • MCP bridge: JSON-RPC 2.0 tools/resources; stdio transport verified with real MCP clients (Claude Code, Cursor)

What's Implemented vs. What's Not

ModuleStatusNotes
factum-core (types, lexer, parser, serialize)✅ Implemented100% syntactic round-trip
factum-rt (store, query, arbitration, permissions, verifiers)✅ ImplementedIn-memory store (default) + RocksDB persistence (--features rocksdb); 5 column families, WriteBatch atomic writes
factum-mcp (JSON-RPC bridge)✅ Protocol + handlerstdio transport verified end-to-end; HTTP transport not yet implemented (remote deployment requires custom wrapper)
factum-bench (benchmarks)✅ ImplementedSyntax round-trip + token efficiency + query perf
factum-l (latent space projection)❌ Not startedResearch item — see ROADMAP.md
Wikidata/Mathlib corpus converters❌ Not startedM2 milestone
Lean/Z3 verifiers❌ Not startedOnly Schema + DecimalRange verifiers implemented
Embedding-based semantic search❌ Not startedNot on roadmap — consider using Mem0 alongside Factum
Memory consolidation/summarization❌ Not startedNot on roadmap — consider using Letta alongside Factum
Inspector (visual debugger)❌ Not started

Quick Start

# Build

cargo build

Run tests

cargo test

Run demo

cargo run -p factum-demo

Build with RocksDB persistence backend

cargo build --features rocksdb cargo test --features rocksdb

Build MCP server with RocksDB persistence

cargo build --release -p factum-mcp --features rocksdb --bin factum-mcp-server

Fuzz (requires nightly)

cargo +nightly fuzz run fuzz_parser -- -max_total_time=600

Use as an MCP server (Claude Code / Cursor)
# Build the MCP server binary (in-memory, default)

cargo build --release -p factum-mcp --bin factum-mcp-server

Or build with RocksDB persistence (survives restarts)

cargo build --release -p factum-mcp --features rocksdb --bin factum-mcp-server

Register with Claude Code (in-memory)

claude mcp add --transport stdio --scope local factum -- "$(pwd)/target/release/factum-mcp-server"

Register with Claude Code (persistent — recommended for agent memory)

claude mcp add --transport stdio --scope local factum -- \ "$(pwd)/target/release/factum-mcp-server" --db-path ~/.factum/store

Verify connection

claude mcp get factum

See Getting Started with Factum MCP for the full guide.

Factum-F Syntax Example

; Acme Corp knowledge graph

(node n001 :pred (instance-of @ACME-CORP organization) :conf 0.99 :auth 0.95 :perm public :src (asserted "wikidata"))

(node n004 :pred (shareholder-major @ACME-CORP @FOUNDER-1 0.73 :since #date(2001-03-15)) :conf 0.85 :auth 0.8 :perm confidential :src (extracted "doc002" [100 200] (model "claude-sonnet-4" "2025-01")))

(node n006 :pred (subsidiary-of @ACME-SUB @ACME-CORP :since #date(2001-03-15)) :src (derived n001 "rule-subsidiary-merge") :deps [n001])

When n001 is retracted, n006 is automatically invalidated — the agent knows it can no longer trust the subsidiary relationship.

Three-Layer Architecture

LayerWhat It MeansStatus
Agent ReadAgent receives Factum-F as context via MCP — lower token overhead than verbose JSON✅ Token efficiency measured (real o200k_base: canonical −62%, compact −53% vs JSON)
Agent WriteAgent generates Factum-F nodes — parse uniqueness guarantees one valid interpretation, error classes enable self-correction✅ See authoring guide
Latent Reasoningfactum-l: encode Factum-F into continuous thought vector, reason in latent space, decode back for audit🔬 Research item — not started, not blocking layers 1-2

A structured knowledge language underpins the memory layer — S-expression based for parse uniqueness, with Dec(i128, u8) for lossless numerics and mandatory model references for LLM self-auditing. Full design rationale in docs/design-rationale.md.

Token Efficiency — The LLM-Native Metric

TL;DR: Factum canonical form saves ~62% tokens vs verbose JSON with the same metadata. All numbers measured with real o200k_base (GPT-4o) tokenizer via tiktoken-rs.

FormatReal tokens (5 nodes)vs verbose JSONWhat it includes
Factum canonical238−62%Full 7-tuple: provenance + confidence + validity + permissions
Factum compact (JSON)290−53%Same 7-tuple, JSON with numeric tags
Markdown181−71%Assertion text only — no provenance, no confidence, no permissions
JSON (pretty)623baselineSame 7-tuple metadata in verbose JSON encoding

Run cargo test -p factum-bench test_token_efficiency_real_tokenizer -- --nocapture to reproduce.

Key finding: The canonical S-expression form (238 tokens) is more token-efficient than the compact JSON form (290 tokens) — BPE tokenizers split JSON delimiters but merge S-expression parentheses. The form designed for correctness is also the most token-efficient.

Round-Trip Fidelity — What Exactly Is 100%?

  1. Syntactic round-trip ✅ — parse(serialize(parse(x))) == parse(x). 100% and verified by the test suite + fuzzing. This is the trust foundation.
  1. Semantic round-trip ❌ Not yet measured — requires factum-l (latent space projection, not implemented).

Morpheme Vocabulary — Current State

  • Seed morphemes: 200+ across 9 kinds (Entity, Relation, Quantifier, Modal, Temporal, Status, Action, Attribute, Classification) — covering organizational, people, spatial, financial, product/project, version control, document/knowledge, agent memory, permission, and cause/effect domains
  • Design target: 200–500 (to be loaded from morphemes.toml via build.rs)
  • Status: Sufficient for agent memory use cases. morphemes.toml codegen is a future M2 item for external contributions.

Relationship to Other Formats

FormatHow Factum Differs
RDF / JSON-LDRDF triples carry no per-node provenance, confidence, or permissions. Factum makes these first-class and non-optional.
MarkdownMarkdown has zero metadata. Factum trades human readability for machine verifiability.
JSONJSON has no schema, no provenance, no temporal validity. Factum compact form uses JSON as transport but adds structure and audit chain.
Mem0 / Zep / LettaThese store and retrieve agent memory. Factum adds grammar-enforced provenance, cascade retraction, and conflict refusal. Complementary, not competitive.

Project Structure

factum/

├── crates/ │ ├── factum-core/ # Data model, lexer, parser, serialization │ ├── factum-rt/ # Runtime: store (InMemory + RocksDB), query, arbitration, permissions, verifiers │ ├── factum-mcp/ # MCP bridge: JSON-RPC tools/resources, stdio transport │ ├── factum-bench/ # Benchmarks: round-trip, token efficiency, query perf │ └── factum-demo/ # End-to-end demonstration ├── fuzz/ # cargo-fuzz targets (parser, serialize round-trip, lexer) ├── spec/ # Conformance test vectors (JSON, language-agnostic) ├── docs/site/ # Interactive visualization (GitHub Pages) ├── .github/workflows/ # CI: test + fuzz + gitleaks + Pages deploy ├── Cargo.toml # Workspace root ├── ROADMAP.md # What's planned and in what order ├── SECURITY.md # Vulnerability disclosure ├── CONTRIBUTING.md # How to contribute ├── CHANGELOG.md # Version history ├── docs/design-rationale.md # Why each architectural decisio

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx