Skip to main content

Intent-based discovery and communication protocol with TIBET provenance. ICMP replacement with identity, trust, and context.

Project description

tibet-ping

Intent-based discovery and communication protocol with TIBET provenance.

ICMP ping is dumb: "are you there?" → "yes". No identity, no intent, no trust.

tibet-ping replaces this with a TIBET token as handshake. Every ping carries identity (JIS), intent, context, and purpose. Responses are trust-gated through Airlock zones.

Features

  • PingPacket — TIBET-backed ping with identity, intent, context, purpose
  • NonceTracker — Replay protection (30-second time window)
  • Airlock — Trust-gated access (GROEN/GEEL/ROOD zones) with rules engine
  • Vouching — Trust delegation for device groups (solves HITL scaling)
  • Topology — Hub/Hubby/Pod/Station network modeling
  • Beacon — Airgapped bootstrap for new devices (chicken-and-egg solved)

Quick Start

from tibet_ping import PingNode, PingDecision

# Create nodes
hub = PingNode("jis:home:hub")
sensor = PingNode("jis:home:sensor_temp")

# Hub trusts sensor
hub.set_trust("jis:home:sensor_temp", 0.9)

# Sensor pings hub
packet = sensor.ping(
    target="jis:home:hub",
    intent="temperature.report",
    purpose="Periodic temperature reading",
    payload={"celsius": 21.5},
)

# Hub receives and processes
response = hub.receive(packet)
assert response.decision == PingDecision.ACCEPT
assert response.airlock_zone == "GROEN"

Airlock Zones

Zone Trust Action
GROEN >= 0.7 Auto-allow
GEEL 0.3 - 0.7 Pending (rules or HITL)
ROOD < 0.3 Silent drop

Vouching (HITL Scaling)

# Hub vouches for 50 sensors at once
hub.vouch(
    vouched_dids=["jis:home:s1", "jis:home:s2", ...],
    my_trust=0.9,
    vouch_factor=0.7,  # Vouched trust = 0.9 * 0.7 = 0.63
)

Beacon Bootstrap

# New device broadcasts beacon (no secrets!)
beacon = new_device.broadcast_beacon(
    capabilities=["temperature"],
    device_type="sensor",
)

# Hub auto-vouches or escalates to HITL
response = hub.handle_beacon(beacon)

License

MIT — Humotica AI Lab 2025-2026

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_ping-0.1.2.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

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

tibet_ping-0.1.2-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file tibet_ping-0.1.2.tar.gz.

File metadata

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

File hashes

Hashes for tibet_ping-0.1.2.tar.gz
Algorithm Hash digest
SHA256 597f58658ee9df6ff6931fbf797c017f71d8841c9f14f370564e03b4bc2a718d
MD5 1a510ffa098d283beea2f5189426819e
BLAKE2b-256 0aba766e3cb304df2df7e4fa2d2b313c91eb042583e583398144cc7b143b1f28

See more details on using hashes here.

File details

Details for the file tibet_ping-0.1.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for tibet_ping-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b9aa5a582c0ba7b301fa6c46ceb61d0f312eac1689138cc283fdae17b8f4e288
MD5 7764ee5e38a6bba3f5668db31502c287
BLAKE2b-256 fa5d85e1cb27b43fc912b9f970cc57496404af9a55940be1abcae575906ded01

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