Skip to main content
Glama

World Model MCP

AI 코딩 에이전트를 위한 영구 메모리 + 선택적 서명 감사.

world-model-mcp는 AI 코딩 에이전트를 위한 영구 메모리와 포스트퀀텀 서명·오프라인 검증 가능한 감사 추적을 제공합니다 (FIPS 205 하이브리드 Ed25519 + SLH-DSA). MIT 라이선스이며 완전히 로컬에서 동작합니다.

world-model-mcp는 에이전트가 매 턴마다 조회하는 로컬 SQLite 지식 그래프를 제공합니다. 환각은 검증 가능해지고, 수정 사항은 세션을 넘어 유지되며, 회귀는 적용되기 전에 포착됩니다. 감사 체인을 켜면 모든 이벤트가 FIPS 205 하이브리드 Ed25519 + SLH-DSA로 서명되어 영구히 오프라인에서 검증할 수 있습니다. MIT 라이선스, 완전 로컬 실행, Claude Code, Cursor, Codex, Continue, Cline, Windsurf, GitHub Copilot Chat, pi, OpenClaw, Hermes Agent 등 10개 이상의 AI 코딩 에이전트와 호환됩니다.

최신 버전: v0.16.2. world-model demo는 라이브 노터리 비트로 마무리됩니다. 세 개의 샘플 결정이 실제 하이브리드 서명 에포크(Ed25519 + SLH-DSA-SHA2-128f, FIPS 205)에 서명되고, VALID로 검증되며, 한 바이트를 변조하여 변조 탐지가 실시간으로 작동함을 증명한 뒤(INVALID) 복원됩니다. 가입 없음, 토큰 없음, 네트워크 없음. 현재 디렉터리에 world-model-demo-receipt.json을 생성하고 복사-붙여넣기용 etch.systems/verify#<manifest> URL을 출력합니다. v0.16.1에서는 로컬 liboqs 빌드가 SLH-DSA 없이 컴파일된 경우(데모가 충돌하는 대신) 정상적으로 건너뛰는 기능이 추가되었습니다. 전체 버전 기록은 CHANGELOG.md에서 확인하세요.

10초 만에 사용해 보기

pip install -U world-model-mcp && world-model demo

변조 방지 에포크에 서명된 세 개의 샘플 결정을 확인한 다음, 데모가 한 바이트를 변조하고 재검증하여 변조가 즉시 탐지됨을 증명하고(INVALID), 복원 후 다시 검증합니다(VALID). 오프라인, 계정 없음, 네트워크 없음. 현재 디렉터리에 world-model-demo-receipt.json이 생성되고, 누구나 브라우저에서 동일한 영수증을 확인할 수 있는 공유 가능한 etch.systems/verify#… URL이 출력됩니다.

PyPI Downloads License: MIT Python 3.11+ world-model-mcp MCP server DOI

mcp-name: io.github.SaravananJaichandar/world-model-mcp


Related MCP server: context-atlas

관리형 호스팅 버전을 선호하시나요?

OSS 서버를 직접 실행하지 않고 동일한 서명 감사 체인을 원한다면, etch.systems는 이 패키지를 오프라인 참조 검증기로 사용하는 관리형 변형을 제공합니다.

  • 실행할 인프라 없음(가입 없이 30초 만에 첫 이벤트 POST)

  • SR 11-7, EU AI Act 제12조, ISO 42001, NIST AI RMF, SOC 2 CC7 규정 준수 프레임워크 매핑

  • 엔드투엔드로 제공되는 외부 앵커링(Sigstore Rekor + Bitcoin OpenTimestamps)

  • MCP 클라이언트 도구(Claude Code, Cursor, Continue, Cline, Codex) 전반에 걸친 키 순환 및 위임을 지원하는 휴대용 에이전트별 ID

  • 오프라인 검증기는 동일합니다: pip install world-model-mcp && etch-verify manifest.json은 호스팅 서비스가 온라인 상태일 필요 없이 고정된 공개 키로 호스팅 체인을 검증합니다.

curl -X POST https://etch.systems/v1/your-project

베어러 토큰과 모든 MCP 호환 클라이언트가 연결할 수 있는 MCP 엔드포인트를 반환합니다. 전체 문서는 etch.systems에서 확인하세요.


자주 묻는 질문 (FAQ)

world-model-mcp란 무엇인가요?

world-model-mcp는 AI 코딩 에이전트를 위한 영구 메모리와 포스트퀀텀 서명·오프라인 검증 가능한 감사 추적을 제공하며, 에이전트가 매 턴마다 조회하는 MCP 서버로 노출됩니다. 완전히 로컬에서 실행되며, MIT 라이선스 Python + 10개 이상의 AI 코딩 에이전트용 선택적 어댑터로 제공됩니다.

Mem0, Letta 및 기타 에이전트 메모리 도구와 어떻게 다른가요?

world-model-mcp는 메모리와 함께 하이브리드 포스트퀀텀 서명 감사 체인(FIPS 205 Ed25519 + SLH-DSA-SHA2-128f)을 제공하고, 오프라인 참조 검증기(etch-verify)와 호스팅 etch.systems 컴패니언을 통해 제공되는 이중 외부 앵커링(Sigstore Rekor + Bitcoin OpenTimestamps)을 갖춘 유일한 에이전트 메모리 도구입니다. 유사 도구(Mem0, Letta, agentmemory)는 서명 감사 체인 없이 메모리만 제공합니다. 메커니즘별 세부 비교는 아래 비교 표를 참조하세요.

감사 추적은 포스트퀀텀 보안을 제공하나요?

네. 닫힌 모든 에포크는 하이브리드 서명을 포함합니다: Ed25519(클래식)와 SLH-DSA-SHA2-128f(FIPS 205 무상태 해시 기반 포스트퀀텀 서명)입니다. 미래의 양자 공격자가 Ed25519만 깨뜨린다 해도 동일한 페이로드에 대한 SLH-DSA 서명에 여전히 직면하게 되며, 체인을 위조하려면 두 서명을 모두 위조해야 합니다.

계정 없이 오프라인에서 레코드를 어떻게 검증하나요?

pip install -U world-model-mcp && world-model demo를 실행하세요. 데모는 세 개의 샘플 결정을 실제 하이브리드 서명 에포크에 서명하고, etch-verify CLI가 읽는 것과 동일한 매니페스트 형식을 내보낸 다음 VALID로 검증하고, 한 바이트를 변조하여 변조 탐지가 실제로 작동함을 증명한 뒤(INVALID) 복원하고 재검증합니다. 현재 디렉터리에 world-model-demo-receipt.json이 생성되고, 누구나 브라우저에서 영수증을 확인할 수 있는 etch.systems/verify#… URL이 출력됩니다. 가입 없음, 네트워크 없음.

어떤 AI 코딩 에이전트와 호환되나요?

Claude Code, Cursor, Codex, Continue, Cline, Windsurf, GitHub Copilot Chat, pi, OpenClaw, Hermes Agent와 호환됩니다. 각각 github.com/SaravananJaichandar/world-model-mcp-<agent>-starter 아래에 전용 스타터 저장소가 있습니다. MCP 와이어 형식이 표준이므로 MCP를 지원하는 모든 클라이언트가 동일한 도구를 사용할 수 있습니다.

이 OSS 패키지를 사용해야 할까요, 아니면 호스팅 etch.systems 서비스를 사용해야 할까요?

자체 인프라에서 감사 체인을 실행하거나 내부 도구에 서명 메모리를 추가하려면 이 OSS 패키지(MIT 라이선스, 완전 로컬)를 사용하세요. 규정 준수 프레임워크 매핑(SR 11-7, EU AI Act 제12조, ISO 42001, NIST AI RMF, SOC 2 CC7)과 MCP 클라이언트 도구 전반의 휴대용 에이전트별 ID를 갖춘 관리형 서비스로 동일한 감사 체인을 이용하려면 etch.systems을 사용하세요. 오프라인 참조 검증기는 두 경우 모두 동일합니다: pip install world-model-mcp && etch-verify manifest.json은 OSS 생성 또는 호스팅 생성 매니페스트를 고정된 공개 키로 검증합니다.


다른 에이전트 메모리 + 에이전트 감사 프로젝트와의 비교

에이전트 메모리 분야가 수렴하고 있는 감사/서명/앵커링 차원에서 8개 명시된 유사 프로젝트와의 1:1 비교입니다. 모든 world-model-mcp 셀에는 출처 플래그가 표시됩니다: own = 출시 제품에서 측정/관찰된 값, cited = 경쟁사의 공개 랜딩 페이지, 저장소 또는 보도 자료에서 가져온 값.

이 표의 기준 소스는 호스팅 서비스 저장소에 있습니다: world-model-mcp-hosted/src/etch/competitor_matrix.py. 둘 중 하나를 변경하면 두 곳 모두 업데이트하세요.

world-model-mcp (this repo) + Etch (hosted)

Mem0

Letta

agentmemory

Unicity AOS

Repowise

Trinitite

Caura

FailproofAI

서명 체계

Ed25519 + SLH-DSA-SHA2-128f(하이브리드) [own]

없음(저장 데이터 암호화만)

없음

없음

BLAKE3 해시 체인

결정적 신호(서명 없음)

서명 + 해시 체인(알고리즘 미공개)

없음

공개된 것 없음

포스트퀀텀 대비

예(SLH-DSA, NIST FIPS 205) [own]

아니요

아니요

아니요

아니요(BLAKE3 해시만)

아니요

미공개

아니요

아니요

오프라인 참조 검증기

etch-verify CLI, 스트리밍, PyPI 패키지에 포함 [own]

아니요

아니요

아니요

미공개

아니요(SaaS 전용)

브라우저 기반 검증기

아니요

아니요

증명 주기 강제

예약된 systemd 타이머 + 온디맨드 검증 [own]

아니요

아니요

아니요

미공개

아니요

예약된 증명 실행

아니요

아니요

프레임워크 매핑(조문/통제 ID)

EU AI Act 제12-15조, SOC 2 CC6.6/7.2/7.3, ISO 27001 A.12.4/A.14.2 [own]

SOC 2 + HIPAA(배지, 통제별 매핑 없음)

미공개

아니요

미공개

EU AI Act(네거티브 스페이스 주장)

조문별 인용(EU AI Act, SOC 2, SR 11-7)

SOC 2 진행 중 배지

SOC 2 엔터프라이즈 등급 전용

드리프트 감지

에포크별 체인 무결성 + 증명 추세 [own]

아니요

성공률 + 오류 추적

아니요

미공개

코드 건강 점수 델타

결정적 리플레이 + 위험 점수 델타

아니요

평가자 점수 델타

주석 지원(체인 내 서명된 사람 메모)

pin_annotation MCP 도구, 동일 체인에 서명 [own]

아니요

아니요

아니요

미공개

아니요

미공개

아니요

아니요

브라우저 검증기

예, /auditor/<slug>의 체인 무결성 위젯 [own]

아니요

아니요

아니요

미공개

아니요

예

아니요

아니요

공유 링크(감사자 접근, 로그인 불필요)

예, 만료되는 공유 토큰(bs_ 접두사, 최대 30일) [own]

아니요

아니요

아니요

미공개

아니요

예, 만료되는 감사자 접근

아니요

아니요

외부 앵커(독립 증인 로그)

이중: Sigstore Rekor + Bitcoin OpenTimestamps(공개, 프로젝트별 옵트아웃) [own]

아니요

아니요

아니요

내부 해시 체인만(외부 로그 없음)

아니요

미공개

아니요

아니요

OSS 라이선스

MIT(world-model-mcp) [own]

Apache 2.0

Apache 2.0

Apache 2.0

미공개

AGPL v3(코어)

OSS 없음

Apache 2.0

OSS 없음

GitHub 스타 수

etch.systems/api/oss-stats를 통한 스냅샷 [cited]

61.6k [cited]

23.9k [cited]

24.9k [cited]

7.1k [cited]

4.2k [cited]

공개 저장소 없음

373 [cited]

공개 저장소 없음

공개 자금 조달

부트스트랩 [own]

$24.5M [cited]

$10M [cited]

미공개

2026년 2월 $3M 시드 [cited]

미공개

미공개

미공개

미공개

규정 준수 상태(랜딩 페이지 주장 기준)

SOC 2 Type I 진행 중(2026년 8월 목표) [own]

SOC 2 + HIPAA(트러스트 서브도메인의 배지)

미공개

규정 준수 상태 없음

규정 준수 상태 없음

SOC 2 없음; EU AI Act 네거티브 스페이스 주장

조문별 규정 준수 프레임

SOC 2 진행 중 배지

SOC 2 엔터프라이즈 등급

이 표를 읽는 방법:

  • 굵은 셀은 이 저장소(OSS) 또는 호스팅 서비스(etch.systems)에 포함된 메커니즘을 설명합니다.

  • 경쟁사 셀은 각 경쟁사의 공개 랜딩 페이지/저장소/보도자료에서 인용한 것입니다. 당사 측정치가 아닙니다.

  • world-model-mcp 셀의 [own]은 해당 메커니즘을 당사가 직접 측정/관찰했음을 의미합니다. [cited]는 값이 제3자 출처에서 왔음을 의미합니다.

  • 이 표에는 감사/서명/앵커링 차원만 포함됩니다. 일반 메모리 기능(검색 정확도, 어댑터 범위, LLM 지원)은 아래 기능 섹션에서 다룹니다.


수치

Benchmark

Score

Details

SWE-bench Verified repeat-mistake

단일 시행 상한으로 +10.2포인트(49개 짝지어진 인스턴스에서 67.3% → 77.6%); 다중 시드 평균 효과는 인스턴스당 +0.24, 95% CI [0, 0.47]

사전 등록, Claude Code 2.1.177 헤드리스, Zenodo DOI 10.5281/zenodo.21076824. 단일 시행 분할에서 도메인 내 +15.0포인트, 교차 도메인 +6.9포인트, 회귀 0건.

Contradiction-resolution

auto 전략에서 100.0%

105쌍 × 19개 카테고리, 결정적(LLM 없음). v0.11.0부터 포함.

Coach-Player verification

100.0% 정확히 일치

수동 라벨링된 12쌍(근거 기반 4, 부분 4, 환각 4). 독립 Coach LLM을 통한 레이어 3 적대적 검증. v0.12.12부터 포함.

SWE-bench 수치가 핵심 경험적 주장입니다. 나머지 두 개는 출시된 구성 요소에 대한 내부 정확성 벤치마크입니다. 재현 스크립트는 각 벤치마크 디렉터리 또는 연결된 저장소에 있습니다.


테스트

출시된 코드베이스 전반에 걸친 단위 + 통합 + 퍼즈 테스트 1,494개. 커버리지 하한은 71% / 66%로 게이트됩니다(liboqs에 SLH-DSA가 있는 CI 러너와 없는 CI 러너를 위한 2계층).

# Run tests
pytest -q

# With coverage
pytest --cov=world_model_server --cov-report=term-missing

# Fuzz targets (Atheris, requires Clang / libFuzzer)
python fuzz/fuzz_verify_manifest.py fuzz/corpus/ -max_total_time=60

# Non-Atheris smoke fuzz (runs in every CI pass, no system deps)
pytest tests/test_fuzz_smoke_verify.py -q

주목할 만한 주요 테스트 스위트:

  • FIPS 205 SLH-DSA 알려진 답변 테스트(tests/test_fips_205_slh_dsa_kat.py): SLH-DSA-SHA2-128f의 매개변수 크기를 고정(공개 키 = 32바이트, 비밀 키 = 64바이트, 서명 = 17,088바이트), 잘못된 키 + 잘못된 메시지 + 변형된 서명 거부를 포함한 서명/검증 왕복, 그리고 영원히 true로 검증되어야 하는 고정 KAT 벡터 픽스처(tests/fixtures/slh_dsa_kat_vectors.json).

  • 스트리밍 검증기 바이트 동등성(tests/test_etch_verify_streaming.py): 인메모리 익스포터와 스트리밍 익스포터 간의 바이트 단위 동일 출력을 고정하여, 감사자가 기록 아티팩트로 매니페스트를 해시할 때 운영자가 어떤 익스포터를 사용했는지와 관계없이 동일한 manifest_sha256을 얻도록 합니다.

  • 모순 벤치마크(benchmarks/contradictions-200/): 105쌍 × 19개 카테고리, 결정적. 모든 커밋에서 auto 전략을 100%로 고정합니다.

CI는 모든 푸시에서 커버리지 하한 + 전체 테스트 스위트를 게이트합니다. .github/workflows/pytest.yml을 참조하세요.


인증된 감사 체인(v0.13+, 옵트인)

감사 추적이 암호학적으로 검증 가능해야 하는 배포 환경(SOC 2, HIPAA, EU AI Act 또는 자체 내부 통제 목록)의 경우:

export WORLD_MODEL_AUDIT_LOG=on
# then start the world-model-mcp server as normal

최초 옵트인 시작 시 서버는 기존 audit.db 파일에 두 개의 새 SQLite 테이블(tamper_evident_log 및 tamper_evident_epochs)을 생성하고, 첫 번째 에포크가 종료될 때 새 하이브리드 키페어를 생성합니다. 이후의 모든 이벤트는 SHA-256 Merkle 체인에 추가됩니다. 에포크가 종료되면(기본값: 1024개 이벤트) 체인 루트는 하이브리드 Ed25519 + SLH-DSA-SHA2-128f 엔벨로프로 서명됩니다. 클래식 + 포스트퀀텀 방식이므로, 타원곡선 암호화가 가상으로 깨지더라도 감사 추적은 그대로 유지됩니다.

  • 오프라인에서 영구적으로 검증 가능합니다. etch-verify CLI는 PyPI 패키지와 함께 제공되며, 감사자는 노트북에서 실행하기만 하면 초기 다운로드 이후에는 네트워크 접근이 필요 없습니다.

  • 서명은 순서뿐만 아니라 작성자도 증명합니다. 해시 체인 대안은 재정렬이 없었음을 증명할 수 있지만, 누가 서명했는지는 증명할 수 없습니다. 이 체인은 둘 다 해결합니다.

  • 대시보드도, 가입도, 외부 서비스도 없습니다. 로컬 SQLite를 대상으로 프로세스 안에서 완전히 실행됩니다.

전체 문서는 docs/AUDIT_LOG.md에서 확인하세요.

KMS 기반 키, 공개 투명성 로그, Sigstore Rekor + Bitcoin OpenTimestamps에 대한 외부 앵커링, 규정 준수용 운영자 대시보드를 추가한 호스팅 버전은 아래의 Etch 컴패니언을 참조하세요.


빠른 시작

가장 일반적인 세 가지 설치 방법입니다. 그 외 지원되는 모든 클라이언트(Cursor, Cline, Codex, Continue, Copilot, Windsurf, Goose, pi, OpenClaw, Hermes 등)는 etch.systems/docs/install을 참조하세요.

옵션 1: Claude Desktop(원클릭)

Releases에서 최신 .mcpb를 다운로드하여 Claude Desktop으로 끌어다 놓습니다. 후크, MCP 서버 구성, 종속성이 자동으로 설치됩니다.

옵션 2: Claude Code / IDE 플러그인(pip install)

# 1. Install the package
pip install world-model-mcp

# 2. Set up in your project (auto-seeds the knowledge graph from existing code)
cd /path/to/your/project
python -m world_model_server.cli setup

# 3. Restart Claude Code
# Done. The world model is pre-populated and active.

다음 단계(선택 사항): 호스팅 Etch 노터리로 로컬 서명 감사 로그를 감사자가 검증할 수 있는 체인으로 전환하세요 — KMS 기반 키, 공개 투명성 로그, 외부 앵커링, 감사자용 공유 링크를 제공하며 실행할 인프라가 필요 없습니다. 호스팅 컴패니언: Etch를 참조하세요.

옵션 3: 원격 / MCP 터널 배포용 HTTP 전송

pip install 'world-model-mcp[http]'
python -m world_model_server.server --transport http --port 8000

Streamable HTTP를 통해 MCP를 노출하여 원격 에이전트가 네트워크로 연결할 수 있게 합니다. 인증, CORS, 리버스 프록시 설정은 docs/http_transport.md를 참조하세요.

기타 클라이언트

OSS CLI를 통해 설치합니다. 각 명령은 해당 클라이언트에 맞는 올바른 구성을 작성합니다(인터프리터 경로는 기본적으로 sys.executable을 사용하며, 클라이언트별 형식을 인식하고, --force 및 --dry-run 플래그로 덮어쓰기로부터 안전합니다):

python -m world_model_server.cli install-cursor     # Cursor
python -m world_model_server.cli install-cline      # Cline
python -m world_model_server.cli install-codex      # Codex
python -m world_model_server.cli install-continue   # Continue (also --global)
python -m world_model_server.cli install-copilot    # GitHub Copilot Chat (VS Code Insider)
python -m world_model_server.cli install-windsurf   # Windsurf
python -m world_model_server.cli install-pi         # pi
python -m world_model_server.cli install-openclaw   # OpenClaw
python -m world_model_server.cli install-hermes     # Hermes (MCP mode)
python -m world_model_server.cli install-hermes-provider  # Hermes (Elixir-native provider)

클라이언트별 전체 가이드(검증 명령 + 문제 해결 포함)는 etch.systems/docs/install에서 확인하세요.


하는 일

world-model-mcp는 AI 코딩 에이전트와 그 작업 사이에 위치하는 시간적 지식 그래프입니다. 코드베이스에서 사실, 엔티티, 제약 조건을 기록하고, 편집 경계에서 학습된 제약 조건에 대해 모든 코드 변경을 검증하며, 컨텍스트 창 압축 후 관련 컨텍스트를 다시 주입하고, 신뢰도 가중치 기반 해결로 모순을 추적하며, 독립적인 Coach LLM을 통해 검색 결과를 적대적으로 검증합니다.

기능

1. 환각 방지. 기록된 모든 사실에는 출처(asserted_by, confirmer, confirmation_state, evidence_type)가 포함됩니다. 에이전트가 사실을 조회하면 답변과 함께 신뢰도 점수를 받습니다. 두 사실이 모순될 때는 더 새롭거나 신뢰도가 높은 쪽이 승리하며, 패배한 쪽은 superseded_by와 함께 유지됩니다. 에이전트는 저장된 사실이 여전히 유효한지 추측할 필요가 없습니다.

2. 수정에서 학습. 에이전트를 수정하면(record_correction) 해당 수정 사항이 관련 엔티티와 함께 일급 이벤트로 저장됩니다. 다음에 에이전트가 해당 엔티티와 관련된 무엇이든 조회하면 수정 사항이 먼저 표시됩니다. 수정 사항은 세션을 넘어, 컨텍스트 압축을 넘어, 에이전트 재시작을 넘어 유지됩니다.

3. 회귀 방지. 모든 코드 변경 제안은 validate_change를 거치며, 이는 제약 조건 그래프를 탐색하여 편집이 적용되기 전에 위반 사항을 반환합니다. 제약 조건은 코드베이스에서 자동으로 학습되고(seed_project), PR 리뷰 댓글로 강화되며(ingest_pr_reviews), 수동으로 작성됩니다(record_event). 에이전트는 위반 사항, 제안, 제약 조건의 출처를 확인할 수 있습니다.

4. Coach-Player 적대적 검증. Player 에이전트가 결정을 초안으로 작성합니다. 독립적인 Coach 에이전트는 선례를 찾기 위해 그래프를 독립적으로 다시 조회하고, Merkle 증명을 따라가며, 하이브리드 서명을 확인한 후에만 승인합니다. Coach는 Player의 요약을 절대 신뢰하지 않으며, 매번 서명된 원장에 대해 재검증합니다. 12개의 수동 레이블링된 쌍에서 100% 정확히 일치합니다.

전체 기술 아키텍처는 docs/ARCHITECTURE.md에서 확인하세요.


MCP 도구

8개의 도구가 제공됩니다. 한 줄 요약이며, 각 도구를 클릭하면 docs/mcp/에서 시그니처와 예제를 확인할 수 있습니다.

도구

기능

query_fact

출처 + 신뢰도 + 소스와 함께 저장된 사실을 가져옵니다

record_event

감사 체인에 이벤트를 추가합니다(고정 enum의 event_type)

validate_change

학습된 제약 조건에 대해 코드 변경 제안을 검사하고 위반 사항 + 제안을 반환합니다

get_constraints

엔티티 또는 파일 패턴과 일치하는 모든 제약 조건을 나열합니다

record_correction

사용자 수정 사항을 저장하여 다음 관련 조회 시 다시 표시되게 합니다

get_related_bugs

지정된 파일과 관련된 버그 + 파일별 위험 점수를 가져옵니다

seed_project

기존 코드베이스를 지식 그래프에 대량으로 수집합니다

ingest_pr_reviews

최근 PR 리뷰 댓글을 제약 조건으로 변환합니다

전체 도구 문서는 docs/mcp/에서 확인하세요.


호스팅 컴패니언: Etch

world-model-mcp를 로컬에서 실행 중이신가요? Etch (etch.systems)는 동일한 OSS 코어 위에 구축된 호스팅 거버넌스 계층으로, 규정 준수 팀이 프로덕션 사용을 승인하는 데 필요한 기능을 추가합니다:

  • KMS 암호화 서명 키(저장 시 평문이 절대 아님)

  • 서명된 헤드가 있는 공개 투명성 로그(분할 뷰 저항)

  • Sigstore Rekor + Bitcoin OpenTimestamps에 대한 외부 앵커링(이중 독립 증인)

  • 세션 추적, 체인 무결성 뷰, PII 스캔, 클라이언트 응답 PDF 내보내기가 포함된 운영자 대시보드

  • /auditor/<slug>의 독립형 감사자 CLI + 브라우저 검증기

  • 무료 티어, 그 이상은 사용량에 따라 과금

동일한 암호화 프리미티브, 동일한 감사 로그 스키마, 제공되는 OSS에 대한 소스 변경이 전혀 없습니다. 독립 실행형으로 운영 중이라면 건너뛰어도 됩니다.

어떤 것이 나에게 적합할까요?

상황

방법

로컬 AI 코딩 에이전트를 위한 영구 메모리를 원한다

world-model-mcp(이 저장소, MIT)

6개월 후 규제 기관에 에이전트 결정을 증명하고 싶다

etch.systems

법원이 자체 인증할 수 있는 서명된 증거 번들을 원한다

etch.systems

서명된 감사 기록의 팀 간 또는 벤더 간 연합을 원한다

etch.systems

둘 다 시도해 보고 싶다

world-model-mcp로 로컬에서 시작하고, 다른 사람이 검증할 서명된 증거가 필요할 때 Etch를 추가하세요


작동 방식

world-model-mcp는 SQLite로 뒷받침되는 시간적 지식 그래프를 노출하는 MCP 서버(stdio 또는 Streamable HTTP)입니다. 모든 에이전트 턴은 그래프를 조회하고, 모든 코드 변경 또는 수정은 다시 기록합니다. 시작 시 서버는 기존 코드베이스에서 자동으로 시드하며, 종료 시 깨끗하게 플러시합니다.

.claude/world-model/ 아래의 6개 데이터베이스:

  • entities.db: 파일, 함수, 클래스, 심볼

  • facts.db: 출처 + 신뢰도가 있는 의미적 사실

  • relationships.db: 종속성, 호출, 임포트

  • constraints.db: 에이전트가 준수해야 하는 학습된 규칙

  • sessions.db: 세션별 컨텍스트 추적

  • events.db: 불변 이벤트 로그(옵트인 시 감사 체인)

다이어그램이 포함된 전체 아키텍처는 docs/ARCHITECTURE.md에서 확인하세요.


구성

환경 변수(모두 선택 사항):

변수

용도

기본값

WORLD_MODEL_AUDIT_LOG

서명된 감사 체인 활성화

off

WORLD_MODEL_DB_PATH

SQLite 데이터베이스 디렉터리 재정의

.claude/world-model

WORLD_MODEL_TELEMETRY

익명 OSS 텔레메트리 옵트인(개인정보 보호 참조)

off

ANTHROPIC_API_KEY

선택적 LLM 기반 기능을 활성화한 경우에만 사용

없음

전체 구성 참조는 docs/CONFIGURATION.md에서 확인하세요.


개인정보 보호 및 보안

  • 텔레메트리는 기본적으로 꺼져 있습니다. WORLD_MODEL_TELEMETRY=on으로 옵트인하면 집계된 설치 수준 메트릭이 etch.systems/api/telemetry/ingest로 전송됩니다(엔드포인트 URL, 소스 코드 없음, 프롬프트 없음, PII 없음). 삭제 권리는 DELETE /api/telemetry/install/{install_id}를 통해 지원됩니다.

  • 핵심 운영에는 ANTHROPIC_API_KEY가 필요하지 않습니다. 일부 선택적 기능(Coach-Player 레이어 3 검증, LLM 기반 재순위화)은 키가 제공된 경우 API를 사용합니다. 키가 없어도 다른 모든 기능은 작동합니다.

  • 보안 문제 신고: security@etch.systems로 이메일을 보내주세요. PGP 키는 요청 시 제공됩니다.

전체 문서는 docs/PRIVACY.md에서 확인하세요.


기여

기여는 언제나 환영합니다. 개발 환경 설정, 코딩 표준, 언어 지원 추가, 테스트 작성, PR 제출은 CONTRIBUTING.md를 참조하세요.

특히 도움이 필요한 분야:

  • 언어 파서(Go, Rust, Java, C++)

  • 추가 MCP 클라이언트 어댑터

  • 프레임워크 통합(LangGraph, CrewAI, AutoGen, LlamaIndex; 호스팅 저장소에 스타터 shim이 있습니다)

  • benchmarks/의 벤치마크 기여

첫 PR 전에 CLA.md를 읽어주세요.


라이선스

MIT License. 상업적 및 개인적 사용이 무료입니다.


링크

Available Tools

31 tools
export_claude_mdB

Generate a CLAUDE.md document from the knowledge graph (top constraints, recent decisions, known bug regions, co-edit patterns).

Inputs: max_constraints.

find_contradictionsC

Find pairs of facts that contradict each other based on similarity and status differences

Inputs: limit, query.

get_agents_md_constraintsA

Parse AGENTS.md / CLAUDE.md / GEMINI.md / .agents/skills/*.md in the project and return declarative constraints. Mixed into PreToolUse enforcement automatically; this tool exposes the same data for inspection.

Inputs: file_path, project_dir.

get_audit_log_headA

v0.13 tamper-evident audit log. Return the current head state (last log entry seq, last closed epoch seq, unclosed-entry count) plus the full closed-epoch chain with hybrid signature envelopes. Compliance auditors call this periodically to verify no operator misbehavior has occurred since the last check. Requires WORLD_MODEL_AUDIT_LOG=on at server startup.

Inputs: no named parameters.

get_co_edit_suggestionsB

Get files commonly edited alongside the given file based on historical patterns

Inputs: file_path (required), limit.

get_compaction_auditA

List recent compaction audit entries, most-recent first. Filter by session_id or limit count.

Inputs: limit, session_id.

get_constraintsA

Get constraints (linting rules, patterns, conventions) for a file

Inputs: file_path (required), constraint_types.

get_context_for_actionC

Pre-action context bundle: constraints, decisions, bugs, co-edits, related facts, and risk score for a file before editing

Inputs: file_path (required), action_type (required).

get_decision_logC

Get decision traces showing agent proposals and human corrections

Inputs: limit, file_path, session_id, decision_type.

get_health_reportA

Memory health diagnostics: orphans, stale facts, contradictions, decay candidates, DB sizes

Inputs: no named parameters.

get_injection_contextB

Return a compact constraint+fact bundle for PostCompact / UserPromptSubmit hooks to re-inject after context loss.

Inputs: event_type (required), max_facts, project_hint, max_constraints.

ingest_pr_reviewsA

Pull GitHub PR review comments and convert them into learned constraints in the knowledge graph

Inputs: repo, count.

pin_annotationA

Attach a signed human annotation (note, override rationale, or intervention record) to a span of agent events. Persists into the annotations table and chains into the same Merkle audit log as agent writes (v0.15.0, ADR-0001). Rationale limited to 8 KB.

Inputs: author (required), rationale (required), session_id (required), annotation_type (required), +2 more.

predict_regressionA

Score regression risk for a proposed change to a file based on past bugs, test failures, and constraint violations

Inputs: file_path (required), change_description.

predict_test_failuresA

Surface tests likely to fail given a set of edited files

Inputs: file_paths (required).

promote_constraintB

Promote a constraint from this project to all other registered projects

Inputs: constraint_id (required), target_projects.

prove_entry_inclusionA

v0.13 tamper-evident audit log. Return a cryptographic inclusion-proof bundle for a persisted row_id (fact, constraint, event, or decision ID). Bundle includes the entry, the containing signed epoch (Ed25519 + SLH-DSA hybrid signature envelope), an RFC 6962 Merkle inclusion proof, and the full epoch chain from genesis. Requires WORLD_MODEL_AUDIT_LOG=on at server startup; returns an error object when opt-in is off, when the row_id is not found, or when the entry is in the unclosed backlog.

Inputs: row_id (required).

query_factB

Query the knowledge graph for facts about entities (APIs, functions, classes, etc.)

Inputs: query (required), context, entity_type, content_type.

recall_transcript_rangeC

Hydrate a Claude Code session transcript by line range. Lets agents trace a fact back to the exact conversation that produced it.

Inputs: session_id (required), line_end, line_start.

record_compaction_auditA

Record a context-compaction event with token counts and what was re-injected. Lets developers audit what was remembered across compaction boundaries.

Inputs: session_id, raw_summary, facts_injected, injection_event, +3 more.

record_correctionC

Record a user correction to Claude's output (high-priority learning signal)

Inputs: session_id (required), claude_action (required), user_correction (required), reasoning.

record_decisionC

Record a decision trace: what the agent proposed and how the human responded

Inputs: session_id (required), decision_type (required), file_path, reasoning, +3 more.

record_eventC

Record a development event (file edit, test run, etc.)

Inputs: event_type (required), session_id (required), description (required), success, +3 more.

record_test_outcomeC

Record test results and link failures to recent code changes

Inputs: session_id (required), test_results (required).

resolve_contradictionC

Pick a winner between two contradicting facts using a confidence-weighted strategy (auto, keep_higher_confidence, keep_most_recent, keep_most_sources, supersede_a, supersede_b, manual).

Inputs: fact_a_id (required), fact_b_id (required), notes, strategy.

search_globalC

Search entities across all registered world-model projects

Inputs: query (required), limit.

seed_projectA

Scan the project codebase and populate the knowledge graph with entities and relationships from existing code

Inputs: force, project_dir.

simulate_changeC

Project blast radius and historical outcomes for a proposed change

Inputs: file_path (required), change_description (required).

validate_changeB

Validate a proposed code change against known constraints

Inputs: file_path (required), change_type (required), proposed_content (required).

verify_retrievalA

Adversarially verify an answer is grounded in a specific set of facts. An independent Coach LLM call checks each material claim in the answer against the supplied source facts and returns confidence (HIGH / MEDIUM / LOW), verified + unverified claim lists, and per-claim source_pointers. Never raises; failures return LOW + error populated. v0.12.12.

Inputs: query (required), answer (required), fact_ids (required), verification_model.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 31 tools

    Disambiguation2/5

    Several tools have poorly separated boundaries: validate_change, simulate_change, predict_regression, and predict_test_failures all appear to assess the impact of a proposed change, differing mainly in subtle emphasis. Similarly, query_fact, search_global, and get_context_for_action overlap heavily in fact retrieval, and record_correction, record_decision, and pin_annotation all capture human feedback. An agent would frequently struggle to select the right tool without reading every description.

    Naming Consistency5/5

    Every tool follows a consistent snake_case verb_noun pattern, e.g., get_constraints, record_event, predict_regression, prove_entry_inclusion. Even the more unusual names like pin_annotation and seed_project fit the same imperative structure. This is a highly predictable and uniform naming convention.

    Tool Count2/5

    31 tools is well beyond the 25+ threshold for a single server and will overwhelm tool selection, especially given the many overlapping prediction and retrieval tools. The server would be more coherent with roughly half the current surface area, consolidating related reads and writes into broader commands.

    Completeness4/5

    The domain is broadly covered: it supports knowledge-graph population and queries, event and decision recording, constraint ingestion and validation, regression prediction, audit-log integrity, compaction auditing, and context export. Minor gaps exist, such as no explicit fact/constraint update or delete lifecycle and no project listing tool, but the core workflows are well supported.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides AI coding agents with pre-edit situational awareness by combining structural call graphs and co-change history to prevent incomplete edits. It surfaces files that historically change together, reducing missed coupled modules.
      3
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables coding agents to query a local, versioned knowledge graph of a software project, retrieving overviews, context packs, evidence, and explanations to make informed changes.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI agents to maintain a persistent knowledge graph of a project, providing dependency context, impact analysis, side-effect discovery, and session recording for more informed coding decisions.
      5
      MIT
    • F
      license
      B
      quality
      B
      maintenance
      Turns local code repositories into a queryable dependency graph built from AST parsing and git co-edit history, then exposes it alongside an Obsidian vault as persistent memory. Enables context retrieval, impact analysis of proposed changes, and curation of durable prose knowledge through full-text search and Personalized PageRank classification—all fully offline without API keys or embeddings.
      30
      -