프로토타입 · 미리 보기: 공식 레지스트리의 모든 서버를 담고 있으며 30분마다 동기화해요. Google로 로그인하면 리뷰를 쓸 수 있어요.프로토타입 · 30분마다 업데이트
PopNx MCPAI를 쓰는 사람을 위한 MCP 서버 · 쉬운 말로 설명해요 로그인

Horizon Fidelity Monitor

제작자: leocelis버전 0.3.2i★ 0i클라우드에서 실행공식 사이트 ↗
레지스트리 이름io.github.leocelis/horizon-fidelity-monitor

설치 방법

할 수 있는 일

Real-time conversation health for AI agents: drift, desync, causal collapse, plus mission clocks.

제작자가 쓴 원문

  • 연결 방식 클라우드에서 실행
  • 계정 또는 키 Authorization 필요
  • 분류 클리닉 및 건강

이 순위인 이유

목록은 사용 점수(100점 만점)로 정렬되며 구성은 다음과 같습니다

인기0/80GitHub 별 또는 주간 다운로드: 큰 쪽 60, 작은 쪽 20
최신성12/1230일 안에 릴리스나 코드 변경이 있으면 만점
응답 중8/8마지막 점검 때 클라우드 엔드포인트가 응답
사용 점수20/100

품질: 기본 점검 3/5개 통과(표시만, 정렬에는 안 씀) · 상승세: 데이터 없음 (급상승 탭에서만 사용)

설치

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

한 문장으로 AI에게 설치 맡기기

Horizon Fidelity Monitor 설치해 줘. https://mcp.popnx.com/i/leocelis-horizon-fidelity-monitor.md 를 따라 하고, 명령을 먼저 보여 주고 내가 승인하면 실행해.

내 컴퓨터에서 작업하는 AI(Claude Code, Cursor 등)에 붙여 넣으세요. 단계를 읽고 명령을 보여 준 뒤 승인을 기다립니다. 키도 가입도 필요 없습니다. · AI가 읽을 전체 내용 보기

검사 3/5 통과 · 내가 묻는 내용은 제작자 서버(horizon.leocelis.com)를 거쳐요 · ✓ 명령 확인 2026년 11월 20일

먼저: 어떤 AI를 쓰시나요?

쓰는 앱을 고르면 아래에 단계가 나옵니다.

Claude에 연결할 수 있어요 · 약 5분

Horizon Fidelity Monitor 키가 필요해요 (제작자 사이트에서 만들기) · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가

  1. Horizon Fidelity Monitor에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Horizon Fidelity Monitor 사이트 열기 ↗

  2. Claude의 Connectors 페이지 열기

    CustomizeConnectors

    CustomizeConnectors1Add2https://…3Add4
  3. “Add” → “Custom” → “Web”를 누르고 이 2칸 채우기

    여기서 복사해 Claude의 같은 이름 칸에 붙여 넣고 Continue를 누르세요

    Name · 이름Horizon Fidelity Monitor
    Remote MCP server URL · 주소https://horizon.leocelis.com/sse

    Request headers에 이 이름과 값을 추가

    헤더 이름Authorization
    값Bearer <여기에 키 붙여 넣기>

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

    Claude가 찾은 로그인 설정 화면에서 Continue를 누르고 · Authentication은 제작자 안내대로(Sign in now, Sign in when needed, No sign in) 고른 뒤 Add를 누르세요

  4. 채팅에서 켜기

    +ConnectorsHorizon Fidelity Monitor

  5. 해 보기

    Horizon Fidelity Monitor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude가 Horizon Fidelity Monitor을 쓰고 있다고 하거나 답에 Horizon Fidelity Monitor 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

ChatGPT는 아직 Horizon Fidelity Monitor에 연결할 수 없어요

Horizon Fidelity Monitor는 연결할 때 내 키가 필요한데, OpenAI 도움말은 OAuth 로그인만 설명하고 우리가 확인한 키 입력 방법이 없어요

대신 이렇게 할 수 있어요

A · Horizon Fidelity Monitor에 연결되는 앱 쓰기

  • Horizon Fidelity Monitor 키가 필요해요 (제작자 사이트에서 만들기) · claude.ai나 데스크톱 앱에서 한 번 설정하면 채팅에서 쓸 수 있어요 · 무료 계정은 1개까지 · Team/Enterprise는 소유자(Owner)가 추가
  • Horizon Fidelity Monitor 키가 필요해요 (제작자 사이트에서 만들기)
  • Horizon Fidelity Monitor 키가 필요해요 (제작자 사이트에서 만들기)
  • Horizon Fidelity Monitor 키가 필요해요 (제작자 사이트에서 만들기)

B · 클리닉 및 건강에서 ChatGPT에 연결되는 다른 서버

같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요

Claude Code에 연결할 수 있어요 · 약 5분

Horizon Fidelity Monitor 키가 필요해요 (제작자 사이트에서 만들기)

  1. Horizon Fidelity Monitor에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Horizon Fidelity Monitor 사이트 열기 ↗

  2. 터미널 열기

    Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기

  3. 이 명령을 붙여 넣고 Enter

    claude mcp add --transport sse --scope user horizon-fidelity-monitor https://horizon.leocelis.com/sse --header 'Authorization: Bearer {api_key}'

    Enter 전에 “your-value”를 내 키로 바꾸세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Claude Code에서 /mcp 입력

    Horizon Fidelity Monitor이 목록에 있고 연결됨으로 보이면 돼요

  5. 해 보기

    Horizon Fidelity Monitor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Claude Code가 Horizon Fidelity Monitor을 쓰고 있다고 하거나 답에 Horizon Fidelity Monitor 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Cursor에 연결할 수 있어요 · 약 5분

Horizon Fidelity Monitor 키가 필요해요 (제작자 사이트에서 만들기)

  1. Horizon Fidelity Monitor에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Horizon Fidelity Monitor 사이트 열기 ↗

  2. 이 버튼으로 Cursor 열기

    Cursor에서 열기

    Cursor가 설치를 확인하면 Install을 누르세요

  3. 키 입력

    Horizon Fidelity Monitor 설정에서 Authorization가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. Cursor에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    Horizon Fidelity Monitor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ Cursor가 Horizon Fidelity Monitor을 쓰고 있다고 하거나 답에 Horizon Fidelity Monitor 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

VS Code에 연결할 수 있어요 · 약 5분

Horizon Fidelity Monitor 키가 필요해요 (제작자 사이트에서 만들기)

  1. Horizon Fidelity Monitor에 가입하고 키 만들기

    제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.

    Horizon Fidelity Monitor 사이트 열기 ↗

  2. 이 버튼으로 VS Code 열기

    VS Code에서 열기

    VS Code가 설치를 확인하면 Install을 누르세요

  3. 키 입력

    Horizon Fidelity Monitor 설정에서 Authorization가 비어 있어요. 내 키를 넣고 저장하세요

    키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요

  4. VS Code에서 AI 채팅을 Agent 모드로 열기

  5. 해 보기

    Horizon Fidelity Monitor을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐

    ✓ VS Code가 Horizon Fidelity Monitor을 쓰고 있다고 하거나 답에 Horizon Fidelity Monitor 도구 이름이 나오면 연결된 거예요

메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요

Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요

MCP를 쓰는 앱 모두 보기 →

웹으로 연결하는 앱용 주소

주소https://horizon.leocelis.com/sse

JSON 설정은 아래 “개발자용”에 있어요

막혔나요? Horizon Fidelity Monitor을 쓰는 사람에게 물어보세요💬 토론 →
개발자용: 터미널 명령과 JSON 설정

웹으로 연결

Claude Code

claude mcp add --transport sse --scope user horizon-fidelity-monitor https://horizon.leocelis.com/sse --header 'Authorization: Bearer {api_key}'

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "horizon-fidelity-monitor": {
      "url": "https://horizon.leocelis.com/sse",
      "headers": {
        "Authorization": "Bearer {api_key}"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "horizon-fidelity-monitor": {
      "type": "sse",
      "url": "https://horizon.leocelis.com/sse",
      "headers": {
        "Authorization": "Bearer {api_key}"
      }
    }
  }
}

직접 입력할 값

  • Authorization 비밀 필수 HTTP header
    Horizon 호스팅 서버용 API 키입니다. https://github.com/leocelis/horizon/discussions 에서 요청할 수 있습니다.
    영어 원문 보기API key for the Horizon hosted server. Request one at https://github.com/leocelis/horizon/discussions

설명은 자동 번역이며 변수 이름은 원문 그대로입니다. 확실하지 않으면 원문을 확인하세요.

이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.

한눈에 보기

주간 다운로드i
npm/PyPI에 없음
연결 방식
클라우드에서 실행
최신 버전i
0.3.2
레지스트리 공개i
2026년 11월 8일
코드 마지막 변경i
2026년 11월 17일
마지막 확인
2026년 11월 15일
제작자
leocelis
웹사이트
leocelis.github.io
레지스트리 상태
활성

어떤 앱에서 쓸 수 있나요

이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.

인터넷으로 연결하는 앱

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast

모든 앱과 장단점 →

할 수 있는 일

서버가 도구 목록을 보여 주기 전에 로그인을 요구해요.

기본 점검i

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

  • ✓ 통과

    제작자와 저장소 일치

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

  • ✓ 통과

    계속 관리되고 있음

    코드 마지막 변경: 3일 전

  • ✓ 통과

    라이선스 있음

    MIT 사용

  • ! 주의

    엔드포인트 응답

    접근을 거부했고(HTTP 401) OAuth 로그인도 없어요. 키가 필요하거나 봇 차단일 수 있으며, 아직 확인되지 않았어요.

  • ! 주의

    OAuth로 로그인

    키나 토큰을 직접 복사해서 붙여 넣어야 해요

  • … 아직 점검 안 함

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

    아직 점검하지 않았어요. 엔드포인트를 점검할 때 도구 목록을 읽어요

우리가 확인하는 것 → · JSON

제작자: 재확인 요청 또는 잘못된 정보 신고
제작자용: README에 배지 달기

제작자라면 이 코드를 README에 붙여 넣으세요. 배지는 이 페이지로 연결됩니다.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/leocelis-horizon-fidelity-monitor.svg)](https://mcp.popnx.com/en/servers/leocelis-horizon-fidelity-monitor)

토론

질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.

아직 글이 없어요. 처음으로 질문하거나 공유해 보세요.

이곳의 글은 사용자가 쓴 것으로, PopNx 팀의 글이 아니에요.

로그인하고 글쓰기

사용자 리뷰

아직 리뷰가 없어요

로그인하고 리뷰 쓰기

클리닉 및 건강 카테고리의 다른 서버와 비교i

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

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

자주 묻는 질문

Horizon Fidelity Monitor, 안전한가요?

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

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

입력해야 할 값: Authorization

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

제작자의 클라우드에서 실행돼요. 설치 없이 인터넷으로 연결하지만, 보내는 내용은 제작자의 서버를 거쳐요.

아직 관리되고 있나요?

GitHub 저장소는 마지막으로 3일 전 변경됐고, 최신 버전(0.3.2)은 12일 전 레지스트리에 올라왔어요.

어떤 앱에서 쓸 수 있나요?

Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. URL로 연결되므로 원격 MCP를 받는 앱에서도 쓸 수 있어요. 예: 웹 ChatGPT(Business 이상은 전체 MCP, Pro는 읽기 전용).

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

같은 카테고리에는: Medplum MCP, Mirobody, Codescene MCP Server, Marrow, WHOOP — MissingMCP

비슷하게 동작하는 다른 것

같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.

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

Medplum MCP

Securely access and manage FHIR healthcare data stored in Medplum.

제작자: medplum널리 사용됨★ 2.8천4개월 전 업데이트

클라우드에서 실행✓ 서비스 회사 · medplum.com

Mirobody

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

제작자: thetahealth성장 중↓ 725/주★ 1.6천어제 업데이트

내 컴퓨터에서 실행✓ thetahealth.ai

Marrow

Marrow Health: your Apple Health data over MCP, from the free iOS app. Reads, and writes on demand.

제작자: skeletonarmytech초기↓ 62/주★ 529일 전 업데이트

내 컴퓨터에서 실행✓ skeletonarmy.tech
비슷한 항목과 비교
이 항목
Horizon Fidelity Monitor
Medplum MCPMirobodyCodescene MCP ServerMarrowWHOOP — MissingMCP
실행 위치클라우드에서 동작, 설치 불필요클라우드에서 동작, 설치 불필요컴퓨터에 설치 필요컴퓨터에 설치 필요컴퓨터에 설치 필요클라우드에서 동작, 설치 불필요
키 필요예아니요아니요아니요아니요아니요
Claude에서 +로 추가아니요아니요아니요아니요아니요아니요
기본 점검3/54/43/32/33/32/4
라이선스MITApache-2.0Apache-2.0NOASSERTIONMITMIT
가격등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음등록 정보에 비용 없음

제작자의 README

README 열기

제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.

Horizon Fidelity Monitor

"Quality is not a model property — it is a conversation property."

Horizon is a real-time conversation health monitor for AI agents. It tracks the structural dynamics of multi-turn conversations — semantic drift, information gain, ontological gap width, temporal desynchronisation, circadian cognitive load, conversation velocity, and causal reachability — dimensions that LLMs do not reliably surface from inside the conversation.

Horizon ships two measurement planes. The conversation plane (above, always present) measures the health of a dialogue turn by turn. The optional mission plane — *Memento Mori* — measures elapsed calendar time against goals: ages, deadlines, stalls, per-entity latency, and share of a finite horizon. It is inert until you configure a store. See Mission plane.

Horizon is not a manipulation, sycophancy, or human-influence detector — it measures conversation *dynamics*, not whether an agent is steering or flattering the user. See LEGAL.md §1.

Why an external monitor? LLMs have *limited and unreliable* self-knowledge: introspection research shows partial self-access that is brittle and degrades on complex or out-of-distribution tasks (Binder et al. 2024; arXiv:2512.12411). So rather than depend on a model reporting its own conversation dynamics, Horizon measures them externally with cheap, deterministic, always-on arithmetic over a small local embedding model, with no LLM calls.


Why this exists

Multi-turn AI agents lose accuracy. The ICLR 2026 oral paper "LLMs Get Lost In Multi-Turn Conversation" (Laban, Hayashi, Zhou & Neville) reports an average 39% performance drop across six generation tasks when instructions arrive over multiple turns — a structural property that standard observability tools (LangSmith, RAGAS, DeepEval) cannot see because they measure responses, not conversations.

Horizon was built to close that gap. It is observability first: it surfaces conversation dynamics that response-level tools miss, using cheap deterministic arithmetic and a small local embedding model, with no LLM calls. In four controlled A/B scenarios where Horizon events drove a re-grounding intervention we measured a +15.7% composite quality lift and 87% fewer hallucination events — but those are *synthetic, scripted scenarios with a hand-tuned controller*, not a production result. Treat them as promising in-house evidence, not a guaranteed outcome (see Validation and LEGAL.md §5). Every signal — information gain, divergence, estimated ontological gap width, causal reachability — is a standard information-theory or arithmetic measure computed on text embeddings and timestamps; see 4D Spacetime Signals for the full definitions.


Getting started

Three paths — pick the one that fits your workflow:

Path 1 — Hosted MCP (fastest, zero install)

The fastest way to add Horizon to any Cursor, VS Code, or Claude Desktop workspace. No Python required.

Request an alpha key → open a Discussion, then add the config for your client:

Cursor (~/.cursor/mcp.json):

{

"mcpServers": { "horizon": { "url": "https://horizon.leocelis.com/sse", "headers": { "Authorization": "Bearer YOUR_KEY_HERE" } } } }

VS Code / GitHub Copilot (.vscode/mcp.json in your workspace):

{

"servers": { "horizon": { "type": "http", "url": "https://horizon.leocelis.com/sse", "headers": { "Authorization": "Bearer YOUR_KEY_HERE" } } } }

VS Code note: Use "servers" (not "mcpServers") and "type": "http" — VS Code tries Streamable HTTP first and falls back to SSE automatically, so "type": "http" works with the /sse URL.

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{

"mcpServers": { "horizon": { "url": "https://horizon.leocelis.com/sse", "headers": { "Authorization": "Bearer YOUR_KEY_HERE" } } } }

That's it. Reload your MCP client and three tools appear: new_conversation, process_turn, configure_session. With a mission store configured, seven more appear: clock_register, clock_progress, clock_status, clock_propose, clock_ack, clock_close, associate_mission (see Mission plane).

Alpha access: Horizon's hosted endpoint is in private alpha. Keys are distributed to agent developers who want to monitor real projects. Open a Discussion to request one — describe your use case and we'll send a key.

Path 2 — pip install (library integration)

Python 3.10–3.14.

pip install horizon-monitor

Verify your install (exercises the full pipeline on 5 canonical scenarios, ~25s):

horizon-validate
Path 3 — MCP server from source
git clone https://github.com/leocelis/horizon && cd horizon

pip install -e '.[mcp]' horizon serve # stdio — for Cursor, Claude Desktop horizon serve --transport sse --port 3847 # SSE — for web/team deployments

Add to ~/.cursor/mcp.json:

{

"mcpServers": { "horizon": { "command": "horizon", "args": ["serve"] } } }

Full Cursor and Claude Desktop setup guides: docs/integrations/


What it monitors

Standard observability tools evaluate individual response quality. Horizon evaluates conversation quality — a structurally different problem:

ToolWhat it seesWhat it misses
LangSmith, BraintrustLatency, cost, per-response qualityDeterministic, every-turn structural signals
RAGAS, DeepEvalFaithfulness, relevance per turn (DeepEval also has sampled multi-turn LLM-judge metrics)Zero-LLM-call, real-time scoring on every turn
Langfuse, Arize PhoenixSession-level LLM-judge evaluationDeterministic, always-on scoring at sub-50ms
Human ratersSubjective qualitySystematic structural decay
HorizonConversation dynamicsIntentionally nothing

Horizon does not replace per-response or LLM-judge quality tools. The differentiator is *how* it measures: deterministic, zero-LLM-call arithmetic on every single turn — effectively free and always-on — versus the alternative of sampled LLM-judge evaluations, which cost per sample and typically run offline or async rather than in real time.


Quickstart

from horizon_monitor import FidelityMonitor

from datetime import datetime, timezone

monitor = FidelityMonitor() session_id = monitor.new_conversation(metadata={"domain": "technical"})

result = monitor.process_turn( session_id, human_message="How does Python handle memory management?", agent_response="Python uses reference counting and a cyclic garbage collector...", timestamp=datetime.now(timezone.utc).isoformat(), )

print(f"Fidelity: {result.fidelity_score:.2f}") print(f"Health: {result.health_status}") print(f"Circadian factor: {result.circadian_factor:.2f}") print(f"Causal horizon: {result.reachable_turns} reachable turns") for event in result.events: print(f" Event: {event.type} (confidence={event.confidence:.2f})")


Framework integrations

OpenAI SDK
from openai import OpenAI

from horizon_monitor import FidelityMonitor

monitor = FidelityMonitor() session_id = monitor.new_conversation() client = monitor.wrap(OpenAI(), session_id)

response = client.chat.completions.create( model="gpt-4o", messages=[{"role": "user", "content": "Tell me about quantum computing."}] )

traj = monitor.get_trajectory(session_id) print(f"Fidelity: {traj.current_fidelity:.2f} T*: {traj.estimated_t_star}")

monitor.wrap() accepts custom timestamp and context providers for testing and replay.

Anthropic SDK
from anthropic import Anthropic

from horizon_monitor import FidelityMonitor

monitor = FidelityMonitor() session_id = monitor.new_conversation() client = monitor.wrap(Anthropic(), session_id)

response = client.messages.create( model="claude-3-5-sonnet-20241022", max_tokens=1024, messages=[{"role": "user", "content": "Explain RLHF."}] )

LangChain
from langchain_openai import ChatOpenAI

from horizon_monitor import FidelityMonitor from horizon_monitor.integrations.langchain import HorizonCallback

monitor = FidelityMonitor() session_id = monitor.new_conversation() callback = HorizonCallback(monitor, session_id)

llm = ChatOpenAI(callbacks=[callback]) llm.invoke("Explain the CAP theorem.") print(f"Fidelity: {callback.last_result.fidelity_score:.2f}")

OpenAI Agents SDK
from agents import Agent, Runner

from horizon_monitor import FidelityMonitor

monitor = FidelityMonitor() session_id = monitor.new_conversation() agent = Agent(name="assistant", model="gpt-4o-mini", instructions="You are helpful.")

for user_message in conversation: result = Runner.run_sync(agent, user_message) monitor.process_turn(session_id, human_message=user_message, agent_response=result.final_output, timestamp=datetime.now(timezone.utc).isoformat())


4D Spacetime Signals

"Spacetime" here is a metaphor, not physics. The relativity vocabulary (Minkowski interval,

light cone, proper time) is *design inspiration* — it shaped which quantities we compute. Every

signal below reduces to a standard information-theory or arithmetic measure on text embeddings and

timestamps, listed in the Plain definition column. Nothing in Horizon's behavior or validation

depends on the analogy being literally true, and the Lorentzian interval_class is emitted as

descriptive metadata only — no event or score depends on it.

Every process_turn() returns a TurnResult with 33 fields across six signal families:

Core (always present)
SignalDescription
fidelity_scoreComposite conversation health [0, 1]
igt_valueInformation Gain per Turn — semantic novelty
divergence_scoreJensen-Shannon proxy for intent/response gap
twr_valueToken Waste Ratio — semantic redundancy
consistency_scoreBipredictability — structural coherence
epsilon_tEstimated ontological gap width [0, 1]
health_statushealthy / degrading / critical / converged
conversation_modeexecute / explore / refine / learn (auto-detected)
Temporal (requires timestamp)
SignalDescription
gap_secondsWall-clock gap since last turn
estimated_retentionHuman memory retention (Ebbinghaus half-life model)

| circadian_factor | Human cogn

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