프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. 리뷰와 계정 기능은 다음 단계에서 열려요.
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요

Factum

제작자: factum-project버전 0.1.3i★ –i내 컴퓨터에서 실행
레지스트리 이름io.github.factum-project/factum

설치

개요

제작자가 쓴 설명(영어 원문)

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

PopNx MCP의 세 기둥

이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.

할 수 있는 일

이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.

  • 연결 방식: 내 컴퓨터에서 실행
  • 전송 방식: stdio
  • 카테고리: 검색 및 AI 기억

설치

쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.

설치하기 전에

  • 기본 점검: 1개 중 1개 통과
  • 내 컴퓨터에서 내 사용자 계정의 권한(파일, 네트워크, 앱)으로 실행돼요.
  • 레지스트리에 입력해야 할 키가 나와 있지 않아요.

제작자가 레지스트리에 설치 정보를 올리지 않았어요. 아래 제작자의 README를 확인하세요.

할 수 있는 일

내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.

기본 점검i

누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검

  • ✓ 통과

    제작자와 저장소 일치

    레지스트리 이름이 GitHub 계정 factum-project 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요

  • … 아직 점검 안 함

    계속 관리되고 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • … 아직 점검 안 함

    라이선스 있음

    아직 GitHub에서 이 저장소를 읽어 오지 않았어요

  • – 해당 없음

    엔드포인트 응답

    내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요

  • – 해당 없음

    OAuth로 로그인

    내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요

  • … 아직 점검 안 함

    도구 설명에 숨겨진 지시 없음

    내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요

검색 및 AI 기억 카테고리의 다른 서버와 비교i

  • 이 카테고리의 다른 서버 7275개 중 0%보다 스타가 많아요
  • 이 카테고리의 다른 서버 7275개 중 42%보다 최근에 레지스트리에 공개됐어요
  • 기본 점검 결과가 이 카테고리의 다른 서버 7275개 중 100%와 같거나 더 좋아요

레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.

자주 묻는 질문

Factum, 안전한가요?

해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.

어떤 키나 코드가 필요한가요?

레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.

내 컴퓨터에서 실행되나요, 클라우드에서 실행되나요?

내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.1.3)은 2개월 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Rust도 있어야 해요.

대신 쓸 수 있는 건 뭐가 있나요?

같은 카테고리에는: Context7, Codebase Memory, Exa

대안

같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.

카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i

Context7

제작자: upstash

Up-to-date docs for AI agents

컴퓨터 또는 클라우드★ 64,224MIT어제 업데이트
설치

Codebase Memory

제작자: DeusData

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

내 컴퓨터에서 실행★ 48,148MIT21일 전 업데이트
설치

Exa

제작자: exa-labs

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

클라우드에서 실행★ 5,213MIT지난달 업데이트
설치

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. 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

앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요

PopNx에게 묻기