Skip to main content

Zero-footprint AI materialization + phantom.icc bridge. Compute once on GPU, verify everywhere, materialize only with proof. Sealed process-state + triage-aware fork via ICC.

Project description

tibet-phantom

Zero-Footprint AI Materialization

Compute once on GPU. Verify everywhere. Materialize only with proof.


Data doesn't travel. It materializes.

tibet-phantom orchestrates the full pipeline from GPU inference output to context-bound materialization on edge devices — with zero plaintext in transit, zero plaintext on disk, and a complete TIBET provenance trail.

The Problem

Running 32-layer LLM inference on every edge device is wasteful and often impossible. But sending plaintext results over the network is a security and privacy disaster. What if the output only exists in the hands of the right person — literally?

The Solution

GPU Server                          Edge Device
───────────                         ────────────
LLM inference (once)                No re-inference needed
    │                                    │
    ▼                                    ▼
tibet-edge: seal output ────────► tibet-mesh: receive
    │                                    │
    ▼                                    ▼
tibet-overlay: resolve ◄─────── tibet-overlay: identity
    │ identity (CGNAT-proof)             │
    ▼                                    ▼
provenance chain              materialize: context check
    │                           (heartbeat + gyro + cadence)
    ▼                                    │
TIBET audit receipt               ┌──────┴──────┐
                                  │             │
                              MATCH          MISMATCH
                            text appears     noise only
                            in RAM           data self-destructs

Five Modules

Module Role Protocol
phantom.seal Seal inference output with provenance chain UPIP
phantom.resolve Resolve device identity (CGNAT-proof) JIS
phantom.transport Store-and-forward delivery tibet-mesh
phantom.materialize Context-bound decryption RVP
phantom.decode Token-to-text on CPU T-LEX

Install

pip install tibet-phantom

With all transport + edge dependencies:

pip install tibet-phantom[full]

Quick Start

from phantom import PhantomFlow

# Full local demo
flow = PhantomFlow(model="qwen2.5:32b")
result = flow.demo(
    plaintext=b"AI output that should only exist for the right person",
    target_identity="jis:my-device",
    heartbeat="72bpm_steady",
)

print(result.text)           # Only if context matches
print(result.materialized)   # True/False
print(result.to_tibet_token())  # Full provenance

Server-side (seal + send)

from phantom import PhantomFlow, PhantomMaterializer

flow = PhantomFlow(model="qwen2.5:32b")
context_key = PhantomMaterializer.build_context_key(
    node="target-device", user="jasper",
    heartbeat="72bpm", gyro="hand_held", cadence="natural",
)
result = flow.send(plaintext, "jis:pixel-jasper", context_key)

Client-side (materialize + decode)

flow = PhantomFlow()
flow.materializer.set_rvp_signals(
    heartbeat="72bpm", gyro="hand_held", cadence="natural",
)
result = flow.receive(envelope_json)
print(result.text)  # Text, or empty if context mismatch

Demo

phantom demo

Runs the full 6-step Hackaway demo:

  1. Seal — GPU inference output sealed with UPIP provenance chain
  2. Resolve — JIS identity resolution (CGNAT-proof, not IP-based)
  3. Airplane Mode — Device goes offline, payload queues in mesh, device reconnects with new IP
  4. Materialize — Right person holds device → L4 hash match → text appears
  5. Wrong Hands — Someone else holds device → noise → data self-destructs
  6. TIBET Receipt — Full audit token with provenance chain

Architecture

tibet-phantom builds on four IETF Internet-Drafts:

Protocol Draft Function
TIBET draft-vandemeent-tibet-provenance Provenance chain
JIS draft-vandemeent-jis-identity Identity binding
UPIP draft-vandemeent-upip-process-integrity Process integrity + L4 hash
RVP draft-vandemeent-rvp-continuous-verification Continuous biometric verification

And three companion packages:

Package PyPI Role
tibet-edge tibet-edge Firmware + inference sealing
tibet-mesh tibet-mesh P2P store-and-forward transport
tibet-overlay tibet-overlay CGNAT-proof identity overlay

Key Properties

  • Zero plaintext in transit — Output is encrypted with context-derived key before leaving GPU
  • Zero plaintext on disk — Ciphertext only; plaintext exists only in RAM during materialization
  • Context-bound — Decryption key derived from hardware + identity + biometric signals (RVP)
  • Self-destructing — Wrong context = cryptographic noise, not decryption error
  • CGNAT-proof — Identity is cryptographic (JIS), not topological (IP address)
  • Airplane-mode resilient — Store-and-forward mesh delivers when device reconnects
  • Auditable — Every step creates a TIBET provenance record

License

MIT — Humotica AI Lab


Enterprise

For private hub hosting, SLA support, custom integrations, or compliance guidance:

Enterprise enterprise@humotica.com
Support support@humotica.com
Security security@humotica.com

See ENTERPRISE.md for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tibet_phantom-0.2.0.tar.gz (27.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tibet_phantom-0.2.0-py3-none-any.whl (26.0 kB view details)

Uploaded Python 3

File details

Details for the file tibet_phantom-0.2.0.tar.gz.

File metadata

  • Download URL: tibet_phantom-0.2.0.tar.gz
  • Upload date:
  • Size: 27.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tibet_phantom-0.2.0.tar.gz
Algorithm Hash digest
SHA256 0284a0e26a1b1f9d45d1475b8e1bf02b4a4087ffcee5ae82895009f9e1ccd4bf
MD5 e3a09a5a59a18c7807a8f1db823a48c9
BLAKE2b-256 4ff70a2918c5cbc4640bad0324224671fb0e909070e1f468df17fc1379bbbe00

See more details on using hashes here.

File details

Details for the file tibet_phantom-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tibet_phantom-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 26.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for tibet_phantom-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a41a2b89252f43d9da1725b34196665e76e0b075aee80ab00fa1ac5382465316
MD5 38ab6e2ff7fbb44b916fc6d7862a1082
BLAKE2b-256 ede503a02613e0882ec66e3e57fa33aa33c74b08487e33caf770cede8860f836

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page