christina
Project Christina: 자율 인지 증폭기
시작하기 • 아키텍처 • MCP 도구 • CLI 참조 • 문서 • 기여하기
🌟 핵심 요약: 컨텍스트 부패 제거
현대 AI 코딩 에이전트는 대규모 코드베이스($10\text{M}+$ 토큰)에서 추론 능력의 한계 때문이 아니라 컨텍스트 부패(Context Rot) 때문에 실패합니다. 즉, 주의 분산, 색인되지 않은 프롬프트 오염, 컨텍스트 초기화 과정에서의 아키텍처 제약 조건 손실, 그리고 조율되지 않는 Swarm 충돌 때문입니다.
Project Christina는 통합된 고성능 인지 삼요소를 통해 이 문제를 해결합니다.
RLM(재귀 언어 모델 — 컨텍스트를 변수로): 거대한 코드베이스 세트를 대화형 프롬프트 기록에서 분리하여 샌드박스된 힙 변수(
context)에 담습니다. 에이전트는 제한된 하위 쿼리($D \le 2, N \le 20$) 및 자동 롤백을 포함한 트랜잭션 copy-on-write(CoW) Python 제어 루프를 실행합니다.Graphify(결정적 CPG & AST 레이더): 인메모리 SQLite3 WAL 호출 그래프를 구축하여 0.3ms 미만의 재귀 CTE 쿼리, 전이적 블래스트 반경 계산, 그리고 71.5배 토큰 탐색 절감을 제공하는 God 노드 중심성 순위 기능을 지원합니다.
OKF(영속적 의미 메모리 & 인식론적 진화): 서브 마이크로초 정규식 frontmatter 파싱($6.72\ \mu\text{s}$/문서), 형식적 AGM 신념 수정, 에빙하우스 망각 곡선, 그리고 압축 후 메모리 복구 앵커($\le 400$-토큰)가 자동화된 Mark-and-Sweep 인식론적 가비지 컬렉션을 제공합니다.
교차 프로젝트 인식론적 증류: 독점 코드를 수학적 아키타입으로 익명화하고, **무정보 잔액 불변식($\mathcal{I} = 0$)**을 철저히 지키며, 다중 밑 Shannon 엔트로피 비밀 정리 및 저장소 간 Bayesian 불변식 집계를 제공합니다.
Swarm 동시성 제어: Kung-Robinson 낙관적 동시성 제어(OCC), Tree-CRDT 3-way AST 병합, 그리고 Linda 튜플-스페이스 블랙보드를 사용한 탈중앙 멀티 에이전트 실행입니다.
🏛️ 삼대 인지 아키텍처
┌─────────────────────────────────────────┐
│ SUPERVISOR / AGENT │
│ (Antigravity / OpenCode / Claude / AI) │
└────────────────────┬────────────────────┘
│ JSON-RPC 2.0 (stdio)
▼
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ PROJECT CHRISTINA FAST-MCP GATEWAY │
├──────────────────────────────────────┬────────────────────────────────────┬───────────────────────────────────────┤
│ PILLAR 1: RLM ENGINE │ PILLAR 2: GRAPHIFY CPG │ PILLAR 3: OKF MEMORY │
│ (Context as Variable) │ (AST Code Radar) │ (Semantic Evolution) │
├──────────────────────────────────────┼────────────────────────────────────┼───────────────────────────────────────┤
│ • Out-of-core Heap Variables │ • In-Memory SQLite3 WAL Graph │ • Sub-microsecond OKF Regex Parser │
│ • Transactional CoW Rollback │ • Sub-0.3ms Transitive Blast Query │ • Formal AGM Belief Revision │
│ • 3-Phase EGRI Invariant Linter │ • Composite God-Node Centrality │ • Ebbinghaus Forgetting & GC │
│ • Dynamic Governor (D<=2, N<=20) │ • Circular Dependency & Wave Sort │ • Symbol-to-ADR Constraints │
└──────────────────────────────────────┴────────────────────────────────────┴───────────────────────────────────────┘
│
▼
┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ DECENTRALIZED SWARM & DISTILLERY │
├───────────────────────────────────────────────────────────────────┬───────────────────────────────────────────────┤
│ SWARM CONCURRENCY BLACKBOARD │ GLOBAL EPISTEMIC DISTILLERY │
├───────────────────────────────────────────────────────────────────┼───────────────────────────────────────────────┤
│ • Kung-Robinson Optimistic Concurrency Control (OCC) │ • Zero-Information Leakage (I = 0) │
│ • Semantic Tree-CRDT 3-Way AST Merge Resolution │ • Multi-Base Shannon Entropy Secret Redaction │
│ • Linda Tuple Space (`out`, `rd`, `in`, `eval`, `digest`) │ • Bayesian Invariant Distillation (0700 Fence)│
└───────────────────────────────────────────────────────────────────┴───────────────────────────────────────────────┘Mermaid 순서도
flowchart TD
Host[Host Agent Context] -->|JSON-RPC 2.0 stdio| MCP[Christina FastMCP Server]
subgraph Trinity["Autonomous Cognitive Trinity"]
MCP -->|cpg_query| CPG[Graphify CPG Radar<br/><i>sub-0.3ms SQLite WAL</i>]
MCP -->|rlm_execute| RLM[RLM Sandbox<br/><i>Transactional CoW REPL</i>]
MCP -->|memory_evolve| OKF[OKF Semantic Memory<br/><i>AGM Revision & Epistemic GC</i>]
end
subgraph SwarmDistill["Swarm & Cross-Project Substrate"]
MCP -->|swarm_blackboard| OCC[Swarm Concurrency<br/><i>Kung-Robinson OCC + Tree-CRDT</i>]
OKF -->|distill_global| Distill[Global Epistemic Distillery<br/><i>Anonymized Archetypes (I=0)</i>]
end
CPG -.->|Blast Radius & Waves| OCC
RLM -.->|Isolated Sub-Calls| Host
OKF -.->|ADR Anchor <=400 Tokens| Host🚀 1-명령 무결성 설치
Christina는 백그라운드 데몬, 네이티브 컴파일, 루트 권한 없이 몇 초 내에 설치됩니다.
cd christina
./install.sh자동 진단 사전 점검
./install.sh doctor================================================================
Christina Cognitive Amplifier Diagnostics (v1.0.0)
================================================================
✓ Python Version: 3.11+ (Requirement satisfied)
✓ SQLite3 in-memory WAL Engine: Ready
✓ OKF Semantic Memory Engine: Ready
✓ Google Antigravity Plugin: Registered
✓ OpenCode Plugin: Registered
✓ Global memory directory: ~/.config/christina/global_memory (0700 fenced)
================================================================
✅ All systems functional.전체 테스트 스위트 실행 (62/62 통과, 1.2초 미만)
./install.sh test
# Or with pytest directly:
pytest tests/ -v🛠️ 표준 FastMCP 도구 매트릭스
Christina는 모든 MCP 호스트와 호환되는 4개의 통합 JSON-RPC 2.0 stdio 도구를 제공합니다:
도구 | 분류 | 핵심 기능 및 모드 | 성능 상한 |
| AST 코드 레이더 |
| $<0.3\text{ms}$ 인메모리 순회 |
| 샌드박스 실행 | 하위 에이전트 MapReduce, 트랜잭션 CoW REPL, 3단계 EGRI 린팅, 컴퓨팅 거버너 | $D \le 2, N \le 20$ 재귀 제한 |
| 의미 메모리 |
| $6.72\ \mu\text{s}$/문서 파싱 |
| Swarm 동시성 |
| 무잠금 낙관적 검증 |
MCP 도구 호출
1. BLAST RADIUS 분석 (cpg_query)
{
"name": "cpg_query",
"arguments": {
"symbol": "PaymentGateway",
"mode": "blast_radius",
"depth": 3
}
}2. 트랜잭션 하위 쿼리 실행 (rlm_execute)
{
"name": "rlm_execute",
"arguments": {
"query": "Audit error recovery handling in database connection pool",
"scope_paths": ["src/db/", "src/pools/"]
}
}3. 심볼 제약조건을 갖춘 의미 메모리 검색 (memory_evolve)
{
"name": "memory_evolve",
"arguments": {
"action": "search",
"query": "zero-trust authentication policy",
"linked_symbols": ["AuthMiddleware"]
}
}4. Swarm OCC 충돌 검증 (swarm_blackboard)
{
"name": "swarm_blackboard",
"arguments": {
"action": "occ_validate",
"worker_id": "worker_security_audit",
"read_version": 4,
"read_set": ["AuthMiddleware", "SessionToken"],
"write_set": ["AuthMiddleware"]
}
}⚡ CLI 빠른 참조
# 1. Scan codebase and index AST knowledge graph into in-memory SQLite3 WAL
python3 -m christina.cli scan .
# 2. Calculate static blast radius for a target symbol
python3 -m christina.cli blast AuthService --depth 3
# 3. List top God Nodes ranked by composite degree centrality
python3 -m christina.cli god-nodes --limit 10
# 4. Search OKF institutional memory, ADRs, and symbol constraints
python3 -m christina.cli memory "connection pool timeout" --symbol DatabasePool
# 5. Run FastMCP JSON-RPC 2.0 stdio server
python3 -m christina.cli serve
# 6. Execute system diagnostics
python3 -m christina.cli doctor🔌 멀티 호스트 호환 및 설정
Christina는 표준 AI 에이전트 호스트들에서 매끄러운 1-명령 등록을 지원합니다.
1. Google Antigravity CLI (agy)
~/.gemini/antigravity-cli/plugins/christina에 자동으로 심볼릭 링크되고 ~/.gemini/antigravity-cli/mcp_config.json에 등록됩니다.
2. OpenCode
~/.config/opencode/plugins/christina와 ~/.config/opencode/opencode.json에 자동으로 등록됩니다.
3. Claude Desktop
~/.claude/claude_desktop_config.json(또는 macOS에서는 Library/Application Support/Claude/claude_desktop_config.json)에 자동으로 설정됩니다.
{
"mcpServers": {
"christina": {
"command": "python3",
"args": ["-m", "christina.bridge.mcp_server"],
"env": {
"PYTHONPATH": "/path/to/christina"
}
}
}
}4. OpenAI Codex CLI
~/.config/codex/config.json에 자동으로 등록됩니다.
🪮 Ponytail Ultra: 제로 종속성 보장
Project Christina는 Ponytail Ultra 원칙 아래 엄격하게 설계되었습니다.
외부 런타임 의존성 0: Python 표준 라이브러리만 사용(zatoast,
sqlite3,re,json,hashlib,fcntl,math,pathlib,typing).무거운 데몬 0: Docker, Neo4j, ChromaDB, Redis 없음. 인메모리 SQLite3 WAL과 POSIX 파일 잠금으로 유휴 백그라운드 RAM $0\text{MB}$에서 밀리초 미만 실행을 보장.
엄격한 코드 간결성: 모든 모듈은 250줄 미만($$$<250$$ LOC)이며 응집력 있고 독립적입니다.
📚 문서 및 가이드
문서 | 설명 |
단계별 설정, 검증, 그리고 첫 번째 에이전트 워크플로우에 대해 안내합니다. | |
점진적 프레스. | |
Ponytail Ultra 개발 가이드라인, Nix 설정, 테스트 수트 및 ADR 워크플로우에 대해 설명합니다. | |
정보 노출 제로($\mathcal{I} = 0$), Shannon 엔트로피 기반 비밀 정보 정제, 그리고 격리 전략을 다룹니다. | |
자세한 릴리스 노트와 버전 이력을 제공합니다. |
📃 라이선스
Project Christina는 오픈소스 MIT License 하에 배포됩니다.
Copyright (c) 2026 Christina Engineering Swarm & Contributors.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Persistent memory and knowledge graphs for AI agents. Hybrid search, context checkpoints, and more.
Code intelligence for coding agents: semantic, AST, graph, and full-text search. 279+ languages.
Cross-agent artifact workspace with provenance across Claude Code, Codex, Cursor, LangGraph.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/amadeus-ex-machina/christina'
If you have feedback or need assistance with the MCP directory API, please join our Discord server