아키텍처
Architecture

한 바이너리,
하나의 SQLite 파일.

One binary,
one SQLite file.

클라우드 의존 없음. 데몬·CLI·라이브러리 모두 한 Rust 바이너리에. 모든 데이터는 한 SQLite 파일에 — 블록체인 기반 키(secp256k1 / EVM 호환)로 암호화되어 외부에 절대 노출되지 않습니다.

No cloud dependency. Daemon, CLI, and library all in one Rust binary. All data in one SQLite file — encrypted with blockchain-grade keys (secp256k1 / EVM-compatible) and never exposed externally.

Your harness · Claude Code · LangGraph · Cursor · custom SDK · CLI · IPC (xgram api / xgram send / xgram vault.*) OpenXgram core (Rust) memory L0–L4 vault + ACL payment audit chain channel-mcp · multi-agent chat hub (Discord / Telegram / Slack / KakaoTalk) embedder · BGE-small (local) SQLite + sqlite-vec (single file) ~/.openxgram/db.sqlite Transports (optional) IPC · Tailscale · Nostr (self-host) · Base RPC
Plain language

일반 설명 — 짧게

Plain language — short version

한 파일이 전부

One file holds everything

기억·키·결제 기록·감사 로그가 모두 한 SQLite 파일 안에 있습니다. 백업도, 옮김도, 검사도 파일 한 개로 끝.

Memory, keys, payments, audit log — one SQLite file. Back up, move, inspect with a single file.

표준 위에서 만든다

Built on standards

secp256k1 · BIP39 · BIP44 (HD wallet) · NIP-44 · EIP-1559 · USDC. 특수 SDK 없어도 표준 도구로 검증·복구가 됩니다.

secp256k1 · BIP39 · BIP44 · NIP-44 · EIP-1559 · USDC. Standard tools can verify and recover, no proprietary SDK required.

Technical detail
▸ 기술 상세 (열기 / open)

코어

Core

  • Rust workspace · 단일 바이너리 (~5 MB) · 의존성 최소화
  • SQLite + sqlite-vec — vector search in-process
  • BGE-small embedding via fastembed, 로컬 전용 (fallback 금지)
  • Tokio async runtime · IPC 우선, Nostr 옵션

신원 · 암호

Identity · crypto

  • secp256k1 master key · BIP39 12-word seed
  • BIP44 derivation: m/44'/60'/0'/0/n for EVM, m/44'/1237'/0'/0/n for Nostr
  • NIP-44 v2 envelope encryption (transport)
  • per-field ChaCha20-Poly1305 (vault)
  • secret material zeroized via zeroize crate

결제

Payment

  • USDC on Base (chain id 8453) · EIP-1559 fees
  • Policy: auto / confirm / mfa per recipient + per amount
  • Audit-chained signed receipts

전송 계층

Transport tiers

  • Tier 1: IPC (same machine)
  • Tier 2: Tailscale mesh (private LAN)
  • Tier 3: Nostr relay — self-hosted by default