Skip to main content

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

Metadata

Release files for tibet-mesh 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tibet-mesh 0.1.0
File Size Uploaded Provenance Actions
tibet_mesh-0.1.0.tar.gz 14.8 kB Without provenance Details for tibet_mesh-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tibet-mesh 0.1.0
File Interpreter ABI Platform Actions
tibet_mesh-0.1.0-py3-none-any.whl Python 3 none any Details for tibet_mesh-0.1.0-py3-none-any.whl

Total release size: 33.3 kB

Release files / tibet_mesh-0.1.0.tar.gz

Download URL tibet_mesh-0.1.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4889acdd192036d1a70e5bd65447f53428e209ec2084a012b6d00d88749994f7
BLAKE2b-256 checksum
How to use checksums
07ee17eb930bf36a6e2dc11ddc0aebf616024ab4f30151551f076b00fea68cf8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / tibet_mesh-0.1.0-py3-none-any.whl

Download URL tibet_mesh-0.1.0-py3-none-any.whl
Size 18.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c98c6654f032232c4455a12792902eb27ede4f428ae78aecb0848108a137a83
BLAKE2b-256 checksum
How to use checksums
0871f8ef8cff877d09ad2c50f95c35cd4798e54facdda82952d2470650284bb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for tibet-mesh 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page