Skip to main content

Decentralized AI mesh network — identity-routed, TIBET-audited, zero central server

Project description

tibet-mesh

Decentralized AI Mesh Network — identity-routed, TIBET-audited, zero central server.

Part of the TIBET protocol suite by Humotica AI Lab.

Concept

  • No central server — nodes discover each other and route directly
  • Each device = JIS identity — cryptographic, not IP-based
  • Each message = TIBET token — full audit trail (who, what, when, why)
  • Routing on identity — not on IP address (works behind CGNAT/NAT)
  • FIR/A trust scoring — behavioral trust, not static configuration

Install

pip install tibet-mesh

Quick Start

from tibet_mesh import MeshNode

# Create nodes
gateway = MeshNode(device_id="gateway-1", capabilities=["routing"])
sensor = MeshNode(device_id="sensor-42", capabilities=["temperature"])

# Connect (no central server)
gateway.add_peer(sensor.did, endpoint="10.0.0.42:9000")
sensor.add_peer(gateway.did, endpoint="10.0.0.1:9000")

# Send a message (= TIBET token with full provenance)
result = sensor.send(
    gateway.did,
    payload={"temperature": 22.5, "humidity": 65},
    intent="Report sensor reading",
)
print(result.delivered)  # True

# Verify identity (FIR/A trust)
proof = gateway.verify_peer(sensor.did)
print(proof.trust_score)  # 0.6+ (increases with interactions)

CLI

# Interactive demo
tibet-mesh demo

# Start a node
tibet-mesh start sensor-42 -e 0.0.0.0:9000 -c temperature,humidity

# Node info
tibet-mesh info sensor-42 -j

Architecture

┌─────────────────────────────────────────────┐
│              tibet-mesh                      │
│                                             │
│  MeshNode ──── MessageFactory               │
│     │              │                        │
│     ├── RoutingTable (DID → next hop)       │
│     ├── PeerDiscovery (no central server)   │
│     ├── MessageStore (store & forward)      │
│     │                                       │
│  ┌──┴───────────────────────────────┐       │
│  │  tibet-overlay (identity layer)  │       │
│  │  • JIS DID per device            │       │
│  │  • FIR/A trust scoring           │       │
│  │  • TIBET provenance              │       │
│  └──────────────────────────────────┘       │
└─────────────────────────────────────────────┘

Features

Identity-Based Routing

Routes by JIS DID, not IP. A device can change IP, move networks, go through CGNAT — still reachable by identity.

TIBET Audit Trail

Every message is a TIBET token with ERIN (what), ERAAN (references), EROMHEEN (context), ERACHTER (intent).

Store-and-Forward

Messages for offline peers are queued with exponential backoff and delivered when the peer reconnects.

Trust-Weighted Routing

When multiple paths exist, the route with highest FIR/A trust score is preferred — not shortest path.

Peer Discovery

Nodes share peer lists. No central directory needed. Trust propagates through the network.

IETF Drafts

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_mesh-0.1.0.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

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

tibet_mesh-0.1.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file tibet_mesh-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for tibet_mesh-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4889acdd192036d1a70e5bd65447f53428e209ec2084a012b6d00d88749994f7
MD5 64ce3ed36f7af8b3be5207e44450fe82
BLAKE2b-256 07ee17eb930bf36a6e2dc11ddc0aebf616024ab4f30151551f076b00fea68cf8

See more details on using hashes here.

File details

Details for the file tibet_mesh-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tibet_mesh-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 18.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_mesh-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0c98c6654f032232c4455a12792902eb27ede4f428ae78aecb0848108a137a83
MD5 4b5a3779f5b95eddbc9f7168e2c60e56
BLAKE2b-256 0871f8ef8cff877d09ad2c50f95c35cd4798e54facdda82952d2470650284bb2

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