Skip to main content

⚡ NNI: The Neural-Native Interconnect Protocol

PyPI License Status

The AI industry is running 21st-century neural networks on 1990s web protocols.
When autonomous agents, edge NPUs, and LLMs communicate, high-dimensional tensors are serialized into bloated JSON strings, wrapped in HTTP headers, and sent over TCP.

NNI replaces this "Interconnect Tax" with a hardware-native, zero-copy neural fabric.


📊 Verified Telemetry Benchmark (128-float Latent Tensor)

Deployment Tier Traditional HTTP/JSON NNI Neural Fabric Advantage
Tier 1: On-Die Silicon Reflex 3,263 µs 32.9 µs (0.03 ms) ~99x Faster (L3 Cache Seqlock)
Tier 2: Edge-to-Edge Direct LAN 3,263 µs 136.4 µs (0.13 ms) ~24x Faster (0-RTT UDP P2P)
Tier 3: Edge-to-Cloud WAN ~570.0 ms 385.4 ms Speed-of-Light Floor (India ↔ Sweden)
Local Wire Size ~1,432 Bytes 128 Bytes 91.1% Less Data
WAN Wire Egress ~1,832 Bytes (w/TLS) 200 Bytes 89.1% Less Cloud Egress
Cloud Confidentiality Cleartext / Proxy logs Zero-Knowledge AEAD End-to-End Blind Forwarding

🚀 Quickstart: 3 Lines in Python

pip install nni-mesh

1. Host an AI Endpoint (e.g. on your laptop or GPU):

import nni_mesh as nni

# Automatically joins global mesh & advertises on LAN multicast
node = nni.Node()
node.serve("vision", lambda tensor: [x * 2.0 for x in tensor])

2. Query from Anywhere on Earth (1 Line):

import nni_mesh as nni

client = nni.Client()
# Resolves target via vector resonance, negotiates keys, and streams tensor:
result = client.send("vision", [1.25] * 128)
print("Output:", result[0])  # 2.5

Metadata

Release files for nni-mesh 0.2.9

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

Built distributions (wheels)

Table of built distributions (wheels) for nni-mesh 0.2.9
File Actions
nni_mesh-0.2.9-cp311-abi3-win_amd64.whl CPython 3.11 abi3 Windows x86-64 Details for nni_mesh-0.2.9-cp311-abi3-win_amd64.whl
nni_mesh-0.2.9-cp311-abi3-manylinux_2_34_x86_64.whl CPython 3.11 abi3 Linux glibc 2.34+ x86-64 Details for nni_mesh-0.2.9-cp311-abi3-manylinux_2_34_x86_64.whl
nni_mesh-0.2.9-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 abi3 Linux glibc 2.17+ ARM64 Details for nni_mesh-0.2.9-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
nni_mesh-0.2.9-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for nni_mesh-0.2.9-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 1.2 MB

Release files / nni_mesh-0.2.9-cp311-abi3-win_amd64.whl

Download URL nni_mesh-0.2.9-cp311-abi3-win_amd64.whl
Size 257.6 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
b8cb7ee2a163a928fee056aa92dd687943157bfe4738a7b62fe79952256be348
BLAKE2b-256 checksum
How to use checksums
4e8a58533b0e5ab0e7cafa047b058cc313147682fb77841aa2118e39dccaa663
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / nni_mesh-0.2.9-cp311-abi3-manylinux_2_34_x86_64.whl

Download URL nni_mesh-0.2.9-cp311-abi3-manylinux_2_34_x86_64.whl
Size 351.5 kB
Tags CPython 3.11 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
d8b5b319e7a0fd61a76f9d18d92339e98a10ce0b87b27bbb5f8c784a99fbac9f
BLAKE2b-256 checksum
How to use checksums
e89f5aa82f5d10d2825dfd14a5f21748c22c643f6c92f998212490450abfa2ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / nni_mesh-0.2.9-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL nni_mesh-0.2.9-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 321.1 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
5ed3711a1316b3bc923abcdbc2be47db9be58f9ef669dbc270096ba21504e3fa
BLAKE2b-256 checksum
How to use checksums
a90ee66037f554568021450f0bf6dad8aae3edae28093c9ef0bc0b3cd5159a36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Release files / nni_mesh-0.2.9-cp311-abi3-macosx_11_0_arm64.whl

Download URL nni_mesh-0.2.9-cp311-abi3-macosx_11_0_arm64.whl
Size 298.4 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
27b64a2c7c69cb3207880894837aab1251dd40f6ec668808294789412c379abc
BLAKE2b-256 checksum
How to use checksums
87675440a73d2db1a62ccc537693daa2a9d5946fe9c390931880ac931653218c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.16.0

Security for nni-mesh 0.2.9

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.2.9 This release

4 release files No provenance

0.2.0

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